Hi Adam,

This is a known bug that we are tracking on our internal issue tracker.

Can you please try building with these commits:


https://github.com/EttusResearch/gr-ettus/commit/30302780a44f3f0b146e9b81f88e70c9d983f559

https://github.com/EttusResearch/uhd/commit/12a34d6ef6b9666e29a23039291138f989c7c2ce

Note, using these commits, you'll still get the peak32() errors on the idle 
FPGA image load, however, it will not be fatal due to the FIFO connection error 
as seen with the error you posted..


Regards,
Nate Temple



> On Dec 15, 2017, at 1:36 PM, Adam Kurisko via USRP-users 
> <usrp-users@lists.ettus.com> wrote:
> 
> Hi there,
> 
> I am attempting to set up UHD with RFNOC to cross compile on my E310 sg1, 
> where I ran into a bit of an issue while trying to run the example files. 
> 
> I followed this guide to setup the environment:
> https://kb.ettus.com/Software_Development_on_the_E3xx_USRP_-_Building_RFNoC_UHD_/_GNU_Radio_/_gr-ettus_from_Source
> 
> There were also errors in uhd_usrp_probe, however they were identical to 
> those talked about here:
> http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2017-March/023950.html
> 
> Jonathon's response in that thread reassured me that UHD would still work 
> despite the error messages in uhd_usrp_probe and tested out the example file 
> stated in the guide.
> 
> So my question is: Is there something I need to correct with my build? Or is 
> this just a result of the assertion errors from uhd_usrp_probe?
> 
> I pasted the output I received below: 
> 
> root@ettus-e3xx-sg1:~/newinstall/usr/lib/uhd/examples# ./rx_samples_to_file 
> --freq 100e6 --gain 0 --ant TX/RX --rate 1e6 --null
> 
> Creating the usrp device with: ...
> [INFO] [UHDlinux; GNU C++ version 4.9.2; Boost_105700; 
> UHD_4.0.0.rfnoc-devel-409-gec9138eb] 
> [INFO] [E300] Loading FPGA image: 
> /home/root/newinstall/usr/share/uhd/images/usrp_e310_fpga.bit...
> [INFO] [E300] FPGA image loaded
> [INFO] [E300] Initializing core control (global registers)...
> 
> [INFO] [E300] Performing register loopback test... 
> [INFO] [E300] Register loopback test passed
> [INFO] [RFNOC RADIO] Register loopback test passed
> [INFO] [RFNOC RADIO] Register loopback test passed
> [WARNING] [RFNOC] [0/fosphor_0] defines 2 input buffer sizes, but 1 input 
> ports
> [INFO] [AD936X] Performing CODEC loopback test... 
> [INFO] [AD936X] CODEC loopback test passed
> [INFO] [AD936X] Performing CODEC loopback test... 
> [INFO] [AD936X] CODEC loopback test passed
> [INFO] [CORES] Performing timer loopback test... 
> [INFO] [CORES] Timer loopback test passed
> [INFO] [E300] Loading FPGA image: 
> /home/root/newinstall/usr/share/uhd/images/usrp_e3xx_fpga_idle.bit...
> [INFO] [E300] FPGA image loaded
> [ERROR] [UHD] Exception caught in safe-call.
>   in virtual ctrl_iface_impl::~ctrl_iface_impl()
>   at /home/Adam/e300/src/uhd/host/lib/rfnoc/ctrl_iface.cpp:76
> this->peek32(0); -> AssertionError: (sts >> 7) & 0x1
>   in typename T::sptr e300_transport::get_buff(double) [with T = 
> uhd::transport::managed_send_buffer; typename T::sptr = 
> boost::intrusive_ptr<uhd::transport::managed_send_buffer>]
>   at /home/Adam/e300/src/uhd/host/lib/usrp/e300/e300_fifo_config.cpp:257
> 
> [ERROR] [UHD] Exception caught in safe-call.
>   in virtual ctrl_iface_impl::~ctrl_iface_impl()
>   at /home/Adam/e300/src/uhd/host/lib/rfnoc/ctrl_iface.cpp:76
> this->peek32(0); -> AssertionError: (sts >> 7) & 0x1
>   in typename T::sptr e300_transport::get_buff(double) [with T = 
> uhd::transport::managed_send_buffer; typename T::sptr = 
> boost::intrusive_ptr<uhd::transport::managed_send_buffer>]
>   at /home/Adam/e300/src/uhd/host/lib/usrp/e300/e300_fifo_config.cpp:257
> 
> [ERROR] [UHD] Exception caught in safe-call.
>   in virtual ctrl_iface_impl::~ctrl_iface_impl()
>   at /home/Adam/e300/src/uhd/host/lib/rfnoc/ctrl_iface.cpp:76
> this->peek32(0); -> AssertionError: (sts >> 7) & 0x1
>   in typename T::sptr e300_transport::get_buff(double) [with T = 
> uhd::transport::managed_send_buffer; typename T::sptr = 
> boost::intrusive_ptr<uhd::transport::managed_send_buffer>]
>   at /home/Adam/e300/src/uhd/host/lib/usrp/e300/e300_fifo_config.cpp:257
> 
> [ERROR] [UHD] Exception caught in safe-call.
>   in virtual ctrl_iface_impl::~ctrl_iface_impl()
>   at /home/Adam/e300/src/uhd/host/lib/rfnoc/ctrl_iface.cpp:76
> this->peek32(0); -> AssertionError: (sts >> 7) & 0x1
>   in typename T::sptr e300_transport::get_buff(double) [with T = 
> uhd::transport::managed_send_buffer; typename T::sptr = 
> boost::intrusive_ptr<uhd::transport::managed_send_buffer>]
>   at /home/Adam/e300/src/uhd/host/lib/usrp/e300/e300_fifo_config.cpp:257
> 
> [ERROR] [UHD] Exception caught in safe-call.
>   in virtual ctrl_iface_impl::~ctrl_iface_impl()
>   at /home/Adam/e300/src/uhd/host/lib/rfnoc/ctrl_iface.cpp:76
> this->peek32(0); -> AssertionError: (sts >> 7) & 0x1
>   in typename T::sptr e300_transport::get_buff(double) [with T = 
> uhd::transport::managed_send_buffer; typename T::sptr = 
> boost::intrusive_ptr<uhd::transport::managed_send_buffer>]
>   at /home/Adam/e300/src/uhd/host/lib/usrp/e300/e300_fifo_config.cpp:257
> 
> [ERROR] [UHD] Exception caught in safe-call.
>   in virtual ctrl_iface_impl::~ctrl_iface_impl()
>   at /home/Adam/e300/src/uhd/host/lib/rfnoc/ctrl_iface.cpp:76
> this->peek32(0); -> AssertionError: (sts >> 7) & 0x1
>   in typename T::sptr e300_transport::get_buff(double) [with T = 
> uhd::transport::managed_send_buffer; typename T::sptr = 
> boost::intrusive_ptr<uhd::transport::managed_send_buffer>]
>   at /home/Adam/e300/src/uhd/host/lib/usrp/e300/e300_fifo_config.cpp:257
> 
> [ERROR] [UHD] Exception caught in safe-call.
>   in virtual ctrl_iface_impl::~ctrl_iface_impl()
>   at /home/Adam/e300/src/uhd/host/lib/rfnoc/ctrl_iface.cpp:76
> this->peek32(0); -> AssertionError: (sts >> 7) & 0x1
>   in typename T::sptr e300_transport::get_buff(double) [with T = 
> uhd::transport::managed_send_buffer; typename T::sptr = 
> boost::intrusive_ptr<uhd::transport::managed_send_buffer>]
>   at /home/Adam/e300/src/uhd/host/lib/usrp/e300/e300_fifo_config.cpp:257
> 
> Error: RuntimeError: On node 0/FIFO_0, output port 0 is already connected.
> 
> 
> 
> Please let me know what you think. 
> 
> Thank you,
> Adam
> _______________________________________________
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to