I've been struggling with the exact same bug with uhd on the e310.  I'm
trying to compile it to use RFNOC.  Has a fix for this been resolved?  I'm
new to using the e310 and have no idea how to get past this.  Unlike the
the original poster, I am unable to run anything with uhd, the examples
stop before they finish with this error.  Also of note, I am using a newer
e310 from the e313 if that makes a difference.  I've gone through the
directions multiple times to see if I've missed anything,

Thanks in advance,

Jack Ziegler


[USRP-users] [RFNOC][UHD] Error in uhd_usrp_probe*Jonathon Pendlum*
jonathon.pendlum
at ettus.com
<usrp-users%40lists.ettus.com?Subject=Re%3A%20%5BUSRP-users%5D%20%5BRFNOC%5D%5BUHD%5D%20Error%20in%20uhd_usrp_probe&In-Reply-To=%3CCAGdo0uRCxa-aSt63q239a61D-nKj_EjGS1MqUQ0VVnpBMzh20Q%40mail.gmail.com%3E>
*Mon Mar 6 11:59:04 EST 2017*


   - Previous message (by thread): [USRP-users] [RFNOC][UHD] Error in
   uhd_usrp_probe
   
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2017-March/023945.html>
   - Next message (by thread): [USRP-users] Probably bug in USRP stream
   commands
   
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2017-March/023949.html>
   - *Messages sorted by:* [ date ]
   
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2017-March/date.html#23950>
    [ thread ]
   
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2017-March/thread.html#23950>
    [ subject ]
   
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2017-March/subject.html#23950>
    [ author ]
   
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2017-March/author.html#23950>

------------------------------

Hi,

I have made an issue in our bug tracker for that. While it is an error, it
actually doesn't appear to prevent you from running any UHD apps or GNU
Radio RFNoC flowgraphs.



Jonathon

On Mon, Mar 6, 2017 at 9:55 AM, Rubén Vogel via USRP-users <usrp-users
at lists.ettus.com
<http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com>>
wrote:

>* Hello everyone,
*>>* I trying to cross-compile UHD + GNURADIO + GR_ETTUS to USRP E310. The
*>* versions of each one are:
*>>* UHD: UHD_4.0.0.rfnoc-0-unknown
*>>* GNURADIO: 3.7.9.3
*>>* GR_ETTUS: branch master/
*>>* I use the next script to compile it:
*>>>* ------------------------------------------------------------
*>* ---------------------------
*>* #!/bin/bash
*>>* cd ~/e310
*>* source environment-setup-armv7ahf-vfp-neon-oe-linux-gnueabi
*>* echo $CC
*>>* echo ###### BUILDING UHD ###########
*>* cd ~/e310/sources/uhd-rfnoc-devel/host/build
*>* cmake -Wno-dev
-DCMAKE_TOOLCHAIN_FILE=../host/cmake/Toolchains/oe-sdk_cross.cmake
*>* -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_DOXYGEN=False -DENABLE_E300=ON ..
*>* make
*>>* echo ###### INSTALLING UHD ###########
*>* make install DESTDIR=~/e310/sshfs
*>* make install DESTDIR=~/e310/sysroots/armv7ahf-vfp-neon-oe-linux-gnueabi/
*>>* echo ###### BUILDING GNURADIO ###########
*>* cd ~/e310/sources/gnuradio-3.7.9.3/build
*>* cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchains/oe-sdk_cross.cmake
*>* -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_GR_VOCODER=OFF -DENABLE_GR_ATSC=OFF
*>* -DENABLE_GR_WXGUI=OFF -DENABLE_GR_DTV=OFF -DENABLE_DOXYGEN=False
*>* -DENABLE_GR_AUDIO=ON -DENABLE_GR_BLOCKS=ON -DENABLE_GR_DIGITAL=ON
*>* -DENABLE_GR_FEC=ON -DENABLE_GR_FFT=ON -DENABLE_GR_FILTER=ON
*>* -DENABLE_GR_QTGUI=ON -DENABLE_GR_UHD=ON -DENABLE_PYTHON=ON -DENABLE_VOLK=ON
*>* -DENABLE_GRC=ON ..
*>* make
*>>* echo ###### INSTALLING GNURADIO ###########
*>* make install DESTDIR=~/e310/sshfs
*>* make install DESTDIR=~/e310/sysroots/armv7ahf-vfp-neon-oe-linux-gnueabi/
*>>* echo ###### BUILDING GR-ETTUS ###########
*>* cd ~/e310/sources/gr-ettus-master/build
*>* cmake -Wno-dev
-DCMAKE_TOOLCHAIN_FILE=../../gnuradio-3.7.9.3/cmake/Toolchains/oe-sdk_cross.cmake
*>* -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_DOXYGEN=OFF ..
*>* make
*>>* echo ###### INSTALLING GR-ETTUS ###########
*>* make install DESTDIR=~/e310/sshfs
*>* make install DESTDIR=~/e310/sysroots/armv7ahf-vfp-neon-oe-linux-gnueabi/
*>* ------------------------------------------------------------
*>* ---------------------------
*>>* *The sshfs directory was used to clone the Ettus file system, and the
*>* files were installed directly on this directory. *
*>>* *The process was successful!!*
*>>* In Ettus, the images were downloaded and checked the gnuradio version and
*>* executed the "uhd_usrp_probe" command.
*>>* root at ettus-e3xx-sg1
<http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com>:~#
*gnuradio-config-info -v *
*>>* 3.7.9.3
*>>* root at ettus-e3xx-sg1
<http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com>:~#
*uhd_usrp_probe *
*>>* [INFO] [UHD] linux; GNU C++ version 4.9.2; Boost_105700;
*>* UHD_4.0.0.rfnoc-0-unknown
*>>* [INFO] [E300] Loading FPGA image:
/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
*>>* _____________________________________________________
*>>* /
*>>* | Device: E-Series Device
*>>* | _____________________________________________________
*>>* | /
*>>* | | Mboard: E3XX
*>>* | | product: 30674
*>>* | | revision: 4
*>>* | | serial: 30B013E
*>>* | | mac-addr: 00:80:2f:23:05:5a
*>>* | | FPGA Version: 255.0
*>>* | | FPGA git hash: f764326-dirty
*>>* | | RFNoC capable: Yes
*>>* | |
*>>* | | Time sources: none, internal, external
*>>* | | Clock sources: internal
*>>* | | Sensors: temp, ref_locked
*>>* | | _____________________________________________________
*>>* | | /
*>>* | | | RX DSP: 0
*>>* | | |
*>>* | | | Freq range: 0.000 to 0.000 MHz
*>>* | | _____________________________________________________
*>>* | | /
*>>* | | | RX DSP: 1
*>>* | | |
*>>* | | | Freq range: 0.000 to 0.000 MHz
*>>* | | _____________________________________________________
*>>* | | /
*>>* | | | RX Dboard: A
*>>* | | | ID: E310 MIMO XCVR (0x0110)
*>>* | | | Serial: 30A717F
*>>* | | | _____________________________________________________
*>>* | | | /
*>>* | | | | RX Frontend: A
*>>* | | | | Name: FE-RX2
*>>* | | | | Antennas: TX/RX, RX2
*>>* | | | | Sensors: temp, rssi, lo_locked
*>>* | | | | Freq range: 50.000 to 6000.000 MHz
*>>* | | | | Gain range PGA: 0.0 to 76.0 step 1.0 dB
*>>* | | | | Bandwidth range: 200000.0 to 56000000.0 step 0.0 Hz
*>>* | | | | Connection Type: IQ
*>>* | | | | Uses LO offset: No
*>>* | | | _____________________________________________________
*>>* | | | /
*>>* | | | | RX Frontend: B
*>>* | | | | Name: FE-RX1
*>>* | | | | Antennas: TX/RX, RX2
*>>* | | | | Sensors: temp, rssi, lo_locked
*>>* | | | | Freq range: 50.000 to 6000.000 MHz
*>>* | | | | Gain range PGA: 0.0 to 76.0 step 1.0 dB
*>>* | | | | Bandwidth range: 200000.0 to 56000000.0 step 0.0 Hz
*>>* | | | | Connection Type: IQ
*>>* | | | | Uses LO offset: No
*>>* | | | _____________________________________________________
*>>* | | | /
*>>* | | | | RX Codec: A
*>>* | | | | Name: E3x0 RX dual ADC
*>>* | | | | Gain Elements: None
*>>* | | _____________________________________________________
*>>* | | /
*>>* | | | TX DSP: 0
*>>* | | |
*>>* | | | Freq range: 0.000 to 0.000 MHz
*>>* | | _____________________________________________________
*>>* | | /
*>>* | | | TX DSP: 1
*>>* | | |
*>>* | | | Freq range: 0.000 to 0.000 MHz
*>>* | | _____________________________________________________
*>>* | | /
*>>* | | | TX Dboard: A
*>>* | | | ID: E310 MIMO XCVR (0x0110)
*>>* | | | Serial: 30A717F
*>>* | | | _____________________________________________________
*>>* | | | /
*>>* | | | | TX Frontend: A
*>>* | | | | Name: FE-TX2
*>>* | | | | Antennas: TX/RX
*>>* | | | | Sensors: temp, lo_locked
*>>* | | | | Freq range: 50.000 to 6000.000 MHz
*>>* | | | | Gain range PGA: 0.0 to 89.8 step 0.2 dB
*>>* | | | | Bandwidth range: 200000.0 to 56000000.0 step 0.0 Hz
*>>* | | | | Connection Type: IQ
*>>* | | | | Uses LO offset: No
*>>* | | | _____________________________________________________
*>>* | | | /
*>>* | | | | TX Frontend: B
*>>* | | | | Name: FE-TX1
*>>* | | | | Antennas: TX/RX
*>>* | | | | Sensors: temp, lo_locked
*>>* | | | | Freq range: 50.000 to 6000.000 MHz
*>>* | | | | Gain range PGA: 0.0 to 89.8 step 0.2 dB
*>>* | | | | Bandwidth range: 200000.0 to 56000000.0 step 0.0 Hz
*>>* | | | | Connection Type: IQ
*>>* | | | | Uses LO offset: No
*>>* | | | _____________________________________________________
*>>* | | | /
*>>* | | | | TX Codec: A
*>>* | | | | Name: E3x0 TX dual DAC
*>>* | | | | Gain Elements: None
*>>* | | _____________________________________________________
*>>* | | /
*>>* | | | RFNoC blocks on this device:
*>>* | | |
*>>* | | | * Radio_0
*>>* | | | * FIFO_0
*>>* | | | * Window_0
*>>* | | | * FFT_0
*>>* | | | * fosphor_0
*>>* | | | * FIFO_1
*>>* | | | * FIR_0
*>>* [INFO] [E300] Loading FPGA image:
/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/localadmin/e310/sources/uhd-rfnoc-devel/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/localadmin/e310/sources/uhd-rfnoc-devel/host/lib/usrp/e300/e300_fifo_config.cpp:244
*>>>* [ERROR] [UHD] Exception caught in safe-call.
*>>* in virtual ctrl_iface_impl::~ctrl_iface_impl()
*>>* at 
/home/localadmin/e310/sources/uhd-rfnoc-devel/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/localadmin/e310/sources/uhd-rfnoc-devel/host/lib/usrp/e300/e300_fifo_config.cpp:244
*>>>* [ERROR] [UHD] Exception caught in safe-call.
*>>* in virtual ctrl_iface_impl::~ctrl_iface_impl()
*>>* at 
/home/localadmin/e310/sources/uhd-rfnoc-devel/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/localadmin/e310/sources/uhd-rfnoc-devel/host/lib/usrp/e300/e300_fifo_config.cpp:244
*>>>* [ERROR] [UHD] Exception caught in safe-call.
*>>* in virtual ctrl_iface_impl::~ctrl_iface_impl()
*>>* at 
/home/localadmin/e310/sources/uhd-rfnoc-devel/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/localadmin/e310/sources/uhd-rfnoc-devel/host/lib/usrp/e300/e300_fifo_config.cpp:244
*>>>* [ERROR] [UHD] Exception caught in safe-call.
*>>* in virtual ctrl_iface_impl::~ctrl_iface_impl()
*>>* at 
/home/localadmin/e310/sources/uhd-rfnoc-devel/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/localadmin/e310/sources/uhd-rfnoc-devel/host/lib/usrp/e300/e300_fifo_config.cpp:244
*>>>* [ERROR] [UHD] Exception caught in safe-call.
*>>* in virtual ctrl_iface_impl::~ctrl_iface_impl()
*>>* at 
/home/localadmin/e310/sources/uhd-rfnoc-devel/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/localadmin/e310/sources/uhd-rfnoc-devel/host/lib/usrp/e300/e300_fifo_config.cpp:244
*>>>* [ERROR] [UHD] Exception caught in safe-call.
*>>* in virtual ctrl_iface_impl::~ctrl_iface_impl()
*>>* at 
/home/localadmin/e310/sources/uhd-rfnoc-devel/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/localadmin/e310/sources/uhd-rfnoc-devel/host/lib/usrp/e300/e300_fifo_config.cpp:244
*>>>* [ERROR] [UHD] Exception caught in safe-call.
*>>* in virtual ctrl_iface_impl::~ctrl_iface_impl()
*>>* at 
/home/localadmin/e310/sources/uhd-rfnoc-devel/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/localadmin/e310/sources/uhd-rfnoc-devel/host/lib/usrp/e300/e300_fifo_config.cpp:244
*>>>* [ERROR] [UHD] Exception caught in safe-call.
*>>* in virtual ctrl_iface_impl::~ctrl_iface_impl()
*>>* at 
/home/localadmin/e310/sources/uhd-rfnoc-devel/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/localadmin/e310/sources/uhd-rfnoc-devel/host/lib/usrp/e300/e300_fifo_config.cpp:244
*>>>>* The rfnoc blocks are loaded correctly, and the examples can be executed
*>* correctly in gnuradio, but "uhd_usrp_probe" throws an error and I don't
*>* know what could be the reason.
*>>>* Thank you for the time.
*>>* _______________________________________________
*>* USRP-users mailing list
*>* USRP-users at lists.ettus.com
<http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com>
*>* http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
<http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com>
*>>-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20170306/40da324c/attachment.html>

------------------------------


   - Previous message (by thread): [USRP-users] [RFNOC][UHD] Error in
   uhd_usrp_probe
   
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2017-March/023945.html>
   - Next message (by thread): [USRP-users] Probably bug in USRP stream
   commands
   
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2017-March/023949.html>
   - *Messages sorted by:* [ date ]
   
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2017-March/date.html#23950>
    [ thread ]
   
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2017-March/thread.html#23950>
    [ subject ]
   
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2017-March/subject.html#23950>
    [ author ]
   
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2017-March/author.html#23950>

------------------------------
More information about the USRP-users mailing list
<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