discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: USRP B200mini Does Not Work in Gnu Radio With Latest Version of Linu


From: Marcus D. Leech
Subject: Re: USRP B200mini Does Not Work in Gnu Radio With Latest Version of Linux Mint (21.2)
Date: Tue, 25 Jul 2023 20:52:31 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 25/07/2023 18:44, Gary Schafer wrote:
From: "Marcus D. Leech" <patchvonbraun@gmail.com>
To: discuss-gnuradio@gnu.org
Subject: Re: USRP B200mini Does Not Work in Gnu Radio With Latest
    Version of Linux Mint (21.2)
Message-ID: <ca716b75-6403-4d17-1630-981fe970d029@gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

On 25/07/2023 11:20, Sylvain Munaut wrote:
If that's the case, then Mint are now packaging a version of UHD that is NOT
     from NI/Ettus.
Doesn't UHD have like a plugin system that can dynamically load .so
files ? The UHD_MODULE_PATH thing ?

So it could be a perfectly legit UHD just with some soapy plugin
loaded dynamically.

Cheers,

      Sylvain

Yeah, so, in the presence of this plug-in, the "scan for radios" when
you don't give an explicit address is going to work
    differently, so:

uhd_usrp_probe --args "type=b200"

Should work, hopefully, because it will force it (I think) to go down
the "USRP devices" pathway.

Thank you, all, for the response. I learned more in the one minute it took to read through your (Marcus L, Sylvain, and Marcus M) answers then I did in several hours of trying to find an answer via Google.

We're one big step closer to an answer. When I tried "uhd_usrp_probe --args "type=b200"" on the command line, I got the following response:

[INFO] [UHD] linux; GNU C++ version 11.2.0; Boost_107400; UHD_4.1.0.5-3
[INFO] [B200] Loading firmware image: /usr/share/uhd/images/usrp_b200_fw.hex...
[INFO] [B200] Detected Device: B200mini
[INFO] [B200] Loading FPGA image: /usr/share/uhd/images/usrp_b200mini_fpga.bin...
[INFO] [B200] Operating over USB 3.
[INFO] [B200] Initialize CODEC control...
[INFO] [B200] Initialize Radio control...
[INFO] [B200] Performing register loopback test...
[INFO] [B200] Register loopback test passed
[INFO] [B200] Setting master clock rate selection to 'automatic'.
[INFO] [B200] Asking for clock rate 16.000000 MHz...
[INFO] [B200] Actually got clock rate 16.000000 MHz.
  _____________________________________________________
 /
|       Device: B-Series Device
|     _____________________________________________________
|    /
|   |       Mboard: B200mini
|   |   serial: 3279479
|   |   name: B200mini
|   |   product: 30521
|   |   revision: 6
|   |   FW Version: 8.0
|   |   FPGA Version: 7.0
|   |
|   |   Time sources:  none, internal, external
|   |   Clock sources: internal, external
|   |   Sensors: ref_locked
|   |     _____________________________________________________
|   |    /
|   |   |       RX DSP: 0
|   |   |
|   |   |   Freq range: -8.000 to 8.000 MHz
|   |     _____________________________________________________
|   |    /
|   |   |       RX Dboard: A
|   |   | _____________________________________________________
|   |   |    /
|   |   |   |       RX Frontend: A
|   |   |   |   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: B200mini RX dual ADC
|   |   |   |   Gain Elements: None
|   |     _____________________________________________________
|   |    /
|   |   |       TX DSP: 0
|   |   |
|   |   |   Freq range: -8.000 to 8.000 MHz
|   |     _____________________________________________________
|   |    /
|   |   |       TX Dboard: A
|   |   | _____________________________________________________
|   |   |    /
|   |   |   |       TX Frontend: A
|   |   |   |   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: B200mini TX dual DAC
|   |   |   |   Gain Elements: None

I then went back to Gnu Radio and my flowgraph (again, just a USRP source going into a frequency sink) and put "type=b200" into the "Device Argument" entry of the USRP source block. This time, I received the following response:

Executing: /usr/bin/python3 -u /home/gary/SDR-Software/gnuradio/usrpSpectrumAnalyzer.py

[INFO] [UHD] linux; GNU C++ version 11.2.0; Boost_107400; UHD_4.1.0.5-3
[INFO] [B200] Detected Device: B200mini
[INFO] [B200] Operating over USB 3.
[INFO] [B200] Initialize CODEC control...
[INFO] [B200] Initialize Radio control...
[INFO] [B200] Performing register loopback test...
[INFO] [B200] Register loopback test passed
[INFO] [B200] Setting master clock rate selection to 'automatic'.
[INFO] [B200] Asking for clock rate 16.000000 MHz...
[INFO] [B200] Actually got clock rate 16.000000 MHz.
[INFO] [B200] Asking for clock rate 40.000000 MHz...
[INFO] [B200] Actually got clock rate 40.000000 MHz.

Done (return code -11)


I think from the UHD perspective, everything is working as intended, but some part of Gnu Radio is throwing an exception
  (perhaps Qt GUI?).

You might want to post your flow-graph and give some context to the discuss-gnuradio mailing list.

For more UHD information, you might fruitfully start here:

https://kb.ettus.com/Knowledge_Base

The gr-uhd interface from Gnu Radio into UHD is documented here:

https://www.gnuradio.org/doc/doxygen/group__uhd__blk.html





reply via email to

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