discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] USRP Source Block error 255


From: Johannes Demel
Subject: Re: [Discuss-gnuradio] USRP Source Block error 255
Date: Fri, 10 Aug 2018 12:59:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

Hi all,

I just experienced the same error. Since my setup differs (ancient OS), I thought I'd just share my experience so far.

For low sample rates (3.125MSps) the flowgraph freezes after a while and an 'O' is printed.

For 6.25MSps:
OOOOOOOOOOOOgr::log :WARN: gr uhd usrp source0 - USRP Source Block caught rx error code: 255

For 12.5MSps:
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOgr::log :WARN: gr uhd usrp source0 - USRP Source Block caught rx error code: 255

All those overruns only occur right before the flowgraph freezes. It's a very simple flowgraph "USRP source --> Qt Waterfall Sink".

Cheers
Johannes



[INFO] [UHD] linux; GNU C++ version 4.8.4; Boost_105400; UHD_3.14.0.0-31-g98057752

OS: Ubuntu 14.04
4.4.0-124-generic #148~14.04.1-Ubuntu

GR: 3.7.12.0


On 09.08.2018 19:52, Chad Spooner wrote:


On 08/07/2018 02:01 PM, Marcus D. Leech wrote:
On 08/07/2018 04:47 PM, Chad Spooner wrote:

On 08/07/2018 12:01 PM, Marcus D. Leech wrote:
On 08/07/2018 02:54 PM, Chad Spooner wrote:
All:

I'm having trouble with some flowgraphs under Ubuntu 18.04.1. I recently set up a HP ZBook G3 with that OS and did a PyBOMBS install of gnuradio and UHD. I'm connected to an Ettus X310
and the SBX daughter card here.

I then starting running some of the flowgraphs I had been running under 16.04 on that same computer. I hadn't observed any errors with these flowgraphs under 16.04.

After running for a while, I get the following error:

gr::log :WARN: gr uhd usrp source0 - USRP Source Block caught rx error code: 255

The flowgraph doesn't appear to stop, but the graphics I'm running using QT GUI Vector Sink freeze up. I can then stop the flowgraph in the usual way by clicking the "kill the flowgraph"
button.

kernel:  4.15.0-29-generic #31-Ubuntu SMP

gnuradio version: 3.7.12.0

UHD version: UHD_3.14.0.0-31-g98057752

Any ideas of how to fix this problem?

Here is the output of uhd_usrp_probe:

[INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106501; UHD_3.14.0.0-31-g98057752
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Maximum frame size: 1472 bytes.
[INFO] [X300] Radio 1x clock: 200 MHz
[INFO] [0/DmaFIFO_0] Initializing block control (NOC ID: 0xF1F0D00000000000)
[INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1300 MB/s)
[INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1303 MB/s)
[INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000000001) [INFO] [0/Radio_1] Initializing block control (NOC ID: 0x12AD100000000001) [INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000) [INFO] [0/DDC_1] Initializing block control (NOC ID: 0xDDC0000000000000) [INFO] [0/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000000) [INFO] [0/DUC_1] Initializing block control (NOC ID: 0xD0C0000000000000)
  _____________________________________________________
 /
|       Device: X-Series Device
|     _____________________________________________________
|    /
|   |       Mboard: X310
|   |   revision: 6
|   |   product: 30410
|   |   mac-addr0: 00:80:2f:19:13:0a
|   |   mac-addr1: 00:80:2f:19:13:0b
|   |   gateway: 192.168.10.1
|   |   ip-addr0: 192.168.10.2
|   |   subnet0: 255.255.255.0
|   |   ip-addr1: 192.168.20.2
|   |   subnet1: 255.255.255.0
|   |   ip-addr2: 192.168.30.2
|   |   subnet2: 255.255.255.0
|   |   ip-addr3: 192.168.40.2
|   |   subnet3: 255.255.255.0
|   |   serial: 306B4B8
|   |   FW Version: 6.0
|   |   FPGA Version: 35.1
|   |   FPGA git hash: a20b791
|   |   RFNoC capable: Yes
|   |
|   |   Time sources:  internal, external, gpsdo
|   |   Clock sources: internal, external, gpsdo
|   |   Sensors: ref_locked
|   | _____________________________________________________
|   |    /
|   |   |       RX Dboard: A
|   |   |   ID: WBX-120, WBX-120 + Simple GDB (0x0081)
|   |   |   Serial: F5FB72
|   |   | _____________________________________________________
|   |   |    /
|   |   |   |       RX Frontend: 0
|   |   |   |   Name: WBX-120 RX+GDB
|   |   |   |   Antennas: TX/RX, RX2, CAL
|   |   |   |   Sensors: lo_locked
|   |   |   |   Freq range: 25.000 to 2200.000 MHz
|   |   |   |   Gain range PGA0: 0.0 to 31.5 step 0.5 dB
|   |   |   |   Bandwidth range: 120000000.0 to 120000000.0 step 0.0 Hz
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   | _____________________________________________________
|   |   |    /
|   |   |   |       RX Codec: A
|   |   |   |   Name: ads62p48
|   |   |   |   Gain range digital: 0.0 to 6.0 step 0.5 dB
|   | _____________________________________________________
|   |    /
|   |   |       RX Dboard: B
|   |   |   ID: SBX-120 (0x0083)
|   |   |   Serial: F5B3A8
|   |   | _____________________________________________________
|   |   |    /
|   |   |   |       RX Frontend: 0
|   |   |   |   Name: SBX-120 RX
|   |   |   |   Antennas: TX/RX, RX2, CAL
|   |   |   |   Sensors: lo_locked
|   |   |   |   Freq range: 400.000 to 4400.000 MHz
|   |   |   |   Gain range PGA0: 0.0 to 31.5 step 0.5 dB
|   |   |   |   Bandwidth range: 120000000.0 to 120000000.0 step 0.0 Hz
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   | _____________________________________________________
|   |   |    /
|   |   |   |       RX Codec: B
|   |   |   |   Name: ads62p48
|   |   |   |   Gain range digital: 0.0 to 6.0 step 0.5 dB
|   | _____________________________________________________
|   |    /
|   |   |       TX Dboard: A
|   |   |   ID: WBX-120 (0x0080)
|   |   |   Serial: F5FB72
|   |   |   ID: WBX + Simple GDB, WBX v3 + Simple GDB, WBX v4 + Simple GDB, WBX-120 + Simple GDB (0x004f)
|   |   |   Serial: F5E6B6
|   |   | _____________________________________________________
|   |   |    /
|   |   |   |       TX Frontend: 0
|   |   |   |   Name: WBX-120 TX+GDB
|   |   |   |   Antennas: TX/RX, CAL
|   |   |   |   Sensors: lo_locked
|   |   |   |   Freq range: 25.000 to 2200.000 MHz
|   |   |   |   Gain range PGA0: 0.0 to 31.0 step 1.0 dB
|   |   |   |   Bandwidth range: 120000000.0 to 120000000.0 step 0.0 Hz
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   | _____________________________________________________
|   |   |    /
|   |   |   |       TX Codec: A
|   |   |   |   Name: ad9146
|   |   |   |   Gain Elements: None
|   | _____________________________________________________
|   |    /
|   |   |       TX Dboard: B
|   |   |   ID: SBX-120 (0x0082)
|   |   |   Serial: F5B3A8
|   |   | _____________________________________________________
|   |   |    /
|   |   |   |       TX Frontend: 0
|   |   |   |   Name: SBX-120 TX
|   |   |   |   Antennas: TX/RX, CAL
|   |   |   |   Sensors: lo_locked
|   |   |   |   Freq range: 400.000 to 4400.000 MHz
|   |   |   |   Gain range PGA0: 0.0 to 31.5 step 0.5 dB
|   |   |   |   Bandwidth range: 120000000.0 to 120000000.0 step 0.0 Hz
|   |   |   |   Connection Type: QI
|   |   |   |   Uses LO offset: No
|   |   | _____________________________________________________
|   |   |    /
|   |   |   |       TX Codec: B
|   |   |   |   Name: ad9146
|   |   |   |   Gain Elements: None
|   | _____________________________________________________
|   |    /
|   |   |       RFNoC blocks on this device:
|   |   |
|   |   |   * DmaFIFO_0
|   |   |   * Radio_0
|   |   |   * Radio_1
|   |   |   * DDC_0
|   |   |   * DDC_1
|   |   |   * DUC_0
|   |   |   * DUC_1

Thanks much,

Chad

What happens if you revert to an older UHD? (3.12 or 3.13)



_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Thanks for the quick reply. All methods of installing gnuradio and uhd failed for me except pybombs. So I suppose I want to try to use pybombs to do the uhd reversion. However, I've never done that before.

I found the UHD source for 3.12 on the Ettus site. Can you give me a hint on how to proceed?

I looked around the web for reversion, and found an old thread from this list (Richard Mcallister).
The recommendation is

pybombs -p /your_prefix/ rebuild /uhd/

Can I use this, and how do I connect it to the source from ettus.com? I can start trying stuff, but I'm leery of breaking what I've already got and having to start all over.

C

Someone with more PyBombs knowledge than me can make a recommendation about how to ask PyBombs to build a specific version.



_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Thanks Marcus.

I removed the pybombs installation and installed from source using the attached script, adapted from a script supplied by Raj Bhattacharjea. All the good stuff in the script is his, any errors or problems are mine. The build script that is pointed to by the online gnuradio documentation does not support 18.04.1, so instead of trying to adapt that script, I used Raj's.

The attached script successfully installs UHD and gnuradio. However, the freeze-up problem I described with the pybombs installation remains.

I've been testing other flowgraphs that contain the UHD Source block. It appears that things work correctly indefinitely if no graphics are involved.

I believe I can adapt the script to follow-through on the suggestion to revert to an earlier UHD version.

C



_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

[Prev in Thread] Current Thread [Next in Thread]