我刚刚开始使用GNURadio,但对该软件没有太多的了解。我在网上找到了几个示例,并尝试运行它们,但是却遇到了许多Missing Block错误。
那是什么样子:
我先卸载然后重新安装了GNURadio(3.7.13.4):
UHD(UHD_3.14.0.0版本)USRP再次在我的系统上驱动(Linux Mint 19 Cinamon)。
> > fitpc@fitpc-fitlet2:~$ uhd_usrp_probe [INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106501; UHD_3.14.0.0-release [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 | | revision: 3 | | product: 30521 | |
> serial: 3164B8E | | name: B200mini | | 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
我根据以下页面完成了整个“从源代码构建和安装GNU Radio”过程(在底部进行检查):
但是我仍然遇到相同的缺失框错误。
另一个示例给我一些不起作用的FFT图错误:
> FATAL: RuntimeError: Expected FPGA compatibility number 5, but got 7:
> The FPGA build is not compatible with the host code build. Please run:
>
> "/usr/lib/x86_64-linux-gnu/uhd/utils/uhd_images_downloader.py"
>
> Trying to fill up 1 missing channel(s) with null source(s). This is
> being done to prevent the application from crashing due to gnuradio
> bug #528.
当我尝试运行/usr/lib/x86_64-linux-gnu/uhd/utils/uhd_images_downloader.py时,我收到一条错误消息,说没有这样的目录。
您知道如何解决这些问题吗?