OK, I made a little more progress, but it is still having issues. If I run the simple GRC example supplied headless ( got rid of QT, just straight python dump samples to a file), it is throwing a weird UHD error: root@ettus-e3xx-sg3:~# ./uhd_wbfm_receive.py [INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106400; UHD_4.0.0.rfnoc-devel-702-geec24d7b Traceback (most recent call last): File "./uhd_wbfm_receive.py", line 156, in <module> main() File "./uhd_wbfm_receive.py", line 145, in main tb = top_block_cls(address=options.address, audio_output=options.audio_output, freq=options.freq, gain=options.gain, samp_rate=options.samp_rate) File "./uhd_wbfm_receive.py", line 54, in __init__ channels=range(1), File "/home/root/localinstall/usr/lib/python2.7/site-packages/gnuradio/uhd/__init__.py", line 122, in constructor_interceptor return old_constructor(*args) File "/home/root/localinstall/usr/lib/python2.7/site-packages/gnuradio/uhd/uhd_swig.py", line 2505, in make return _uhd_swig.usrp_source_make(*args) RuntimeError: i2c_zc_impl recv timeout The weird thing is that if I run: rx_samples_to_file --freq 100e6 --gain 0 --ant TX/RX --rate 1e6 --null
it actually runs fine. So it feels like UHD is working pretty well, but something about the UHD/GR link is fubared... --------- Original Message --------- Subject: Error in uhd_usrp_probe revisit From: "Jason Matusiak" <ja...@gardettoengineering.com> Date: 9/13/18 9:41 am To: "Ettus Mail List" <usrp-users@lists.ettus.com> There was a thread back in 2017 (and revisited at least once) on the mailing list that is biting me and stopping me from running an RFNoC cross-compiled UHD on an E312. Here is Jonathon's answer on the original thread: http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2017-March/023950.html He thought that there would be no problem and everything would run fine, but I am unable to run the rx_samples_to_file because of it. I basically followed the steps seen here:https://kb.ettus.com/Software_Development_on_the_E3xx_USRP_-_Building_RFNoC_UHD_/_GNU_Radio_/_gr-ettus_from_Source but when I go to run the rx_samples_to_file app, I get: root@ettus-e3xx-sg3:~# usr/lib/uhd/examples/rx_samples_to_file --freq 100e6 --gain 0 --ant TX/RX --rate 1e6 --null Creating the usrp device with: ... [INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106400; UHD_3.14.0.0-88-g6013a511 [INFO] [E300] Loading FPGA image: /home/root/usr/share/uhd/images/usrp_e310_fpga_sg3.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] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000000000) [INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000) [INFO] [0/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000002) [WARNING] [RFNOC] [legacy_compat] No FIFO detected. Higher transmit rates may encounter errors. Using Device: Single USRP: Device: E-Series Device Mboard 0: E3XX SG3 RX Channel: 0 RX DSP: 0 RX Dboard: A RX Subdev: FE-RX2 RX Channel: 1 RX DSP: 1 RX Dboard: A RX Subdev: FE-RX1 RX Channel: 2 RX DSP: 0 RX Dboard: A RX Subdev: FE-RX2 RX Channel: 3 RX DSP: 1 RX Dboard: A RX Subdev: FE-RX1 TX Channel: 0 TX DSP: 0 TX Dboard: A TX Subdev: FE-TX2 TX Channel: 1 TX DSP: 1 TX Dboard: A TX Subdev: FE-TX1 TX Channel: 2 TX DSP: 0 TX Dboard: A TX Subdev: FE-TX2 TX Channel: 3 TX DSP: 1 TX Dboard: A TX Subdev: FE-TX1 Setting RX Rate: 1.000000 Msps... Actual RX Rate: 1.000000 Msps... Setting RX Freq: 100.000000 MHz... Actual RX Freq: 100.000000 MHz... Setting RX Gain: 0.000000 dB... Actual RX Gain: 0.000000 dB... Waiting for "lo_locked": ++++++++++ locked. Press Ctrl + C to stop streaming... [INFO] [E300] Loading FPGA image: /home/root/usr/share/uhd/images/usrp_e3xx_fpga_idle_sg3.bit... [INFO] [E300] FPGA image loaded terminate called after throwing an instance of 'uhd::io_error' what(): EnvironmentError: IOError: [0/Radio_0] sr_write() failed: 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 /opt/gnuradio/e300_rocko/src/uhd/host/lib/usrp/e300/e300_fifo_config.cpp:250 Aborted Even though it looks like it is running, it errors out immediately . Any advice?
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com