SoapySDR icon indicating copy to clipboard operation
SoapySDR copied to clipboard

SoapySDRUtil.exe crashes when probing or instantiating device

Open mbaz opened this issue 4 years ago • 0 comments

I am trying to use a B200 USRP with SoapySDR on Windows 10.

SoapySDR version: 2021.07.25-vc16-x64 UHD version: 4.1.0.1 (I copied the B200 images to Pothos' bin directory)

When I run SoapySDRUtil.exe --probe="driver=uhd" or SoapySDRUtil.exe --make="driver=uhd", the program crashes:

c:\Program Files\PothosSDR\bin>SoapySDRUtil.exe --probe="driver=uhd"
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Probe device driver=uhd
[INFO] [UHD] Win32; Microsoft Visual C++ version 14.2; Boost_107500; UHD_4.0.0.HEAD-0-g90ce6062
[INFO] [b200_impl.cpp:420] [B200] Detected Device: B200
[INFO] [B200] Detected Device: B200
[INFO] [b200_impl.cpp:467] [B200] Operating over USB 3.
[INFO] [B200] Operating over USB 3.
[INFO] [b200_impl.cpp:618] [B200] Initialize CODEC control...
[INFO] [B200] Initialize CODEC control...
[INFO] [b200_impl.cpp:687] [B200] Initialize Radio control...
[INFO] [B200] Initialize Radio control...
[INFO] [b200_impl.cpp:1100] [B200] Performing register loopback test...
[INFO] [B200] Performing register loopback test...
[INFO] [b200_impl.cpp:1109] [B200] Register loopback test passed
[INFO] [B200] Register loopback test passed
[INFO] [b200_impl.cpp:815] [B200] Setting master clock rate selection to 'automatic'.
[INFO] [B200] Setting master clock rate selection to 'automatic'.
[INFO] [b200_impl.cpp:1150] [B200] Asking for clock rate 16.000000 MHz...
[INFO] [B200] Asking for clock rate 16.000000 MHz...
[INFO] [b200_impl.cpp:1163] [B200] Actually got clock rate 16.000000 MHz.
[INFO] [B200] Actually got clock rate 16.000000 MHz.

----------------------------------------------------
-- Device identification
----------------------------------------------------
  driver=b200
  hardware=B200
  fpga_version=16.0
  fw_version=8.0
  mboard_id=B200
  mboard_name=MyB200
  mboard_serial=31119C3
  rx0_antenna=RX2
  rx0_id=Unknown (0xffff)
  rx0_ref_power_key=b2xx_pwr_rx_rx2
  rx0_ref_power_serial=31119C3#A
  rx0_serial=
  rx0_subdev_name=FE-RX1
  rx0_subdev_spec=A:A
  tx0_antenna=TX/RX
  tx0_id=Unknown (0xffff)
  tx0_ref_power_key=b2xx_pwr_tx_tx+rx
  tx0_ref_power_serial=31119C3#A
  tx0_serial=
  tx0_subdev_name=FE-TX1
  tx0_subdev_spec=A:A

----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
  Channels: 1 Rx, 1 Tx
  Timestamps: YES
  Clock sources: internal, external, gpsdo
  Time sources: none, internal, external, gpsdo
  Sensors: ref_locked
     * ref_locked (Ref): false unlocked
  GPIOs: FP0, RXA, TXA

----------------------------------------------------
-- RX Channel 0
----------------------------------------------------
  Full-duplex: YES
  Supports AGC: YES
  Stream formats: CS8, CS12, CS16, CF32, CF64
  Native format: CS16 [full-scale=32768]
  Stream args:
     * Samples per packet - The number of samples per packet.
       [key=spp, units=samples, default=0, type=int]
     * Bus format - The format of samples over the bus.
       [key=WIRE, type=string, options=(sc8, sc16)]
     * Peak value - The peak value for scaling in complex byte mode.
       [key=peak, default=1.0, type=float]
     * Receive frame buffer size - The size an individual datagram or frame in bytes.
       [key=recv_frame_size, units=bytes, type=int]
     * Receive number of buffers - The number of available buffers.
       [key=num_recv_frames, units=buffers, type=int]
  Antennas: TX/RX, RX2
  Corrections: DC removal
  Full gain range: [0, 76, 1] dB
    PGA gain range: [0, 76, 1] dB
  Full freq range: [42, 6008] MHz
    RF freq range: [42, 6008] MHz
    BB freq range: [-8, 8] MHz
  Tune args:
     * LO Offset - Tune the LO with an offset and compensate with the baseband CORDIC.
       [key=OFFSET, units=Hz, default=0.0, type=float, range=[-8e+06, 8e+06, 0.00372529]]
     * BB - Specify a specific value for this component or IGNORE to skip tuning it.
       [key=BB, units=Hz, default=DEFAULT, type=float, range=[-8e+06, 8e+06, 0.00372529], options=(DEFAULT, IGNORE)]
  Sample rates: 0.03125, 0.0314961, 0.031746, 0.032, 0.0322581, ..., 3.2, 4, 5.33333, 8, 16 MSps
  Filter bandwidths: [0.2, 56] MHz
  Sensors: temp, rssi, lo_locked
     * temp (temp): 41.637428 C
     * rssi (RSSI): -50.750000 dB
     * lo_locked (LO): true locked

----------------------------------------------------
-- TX Channel 0
----------------------------------------------------
  Full-duplex: YES
  Supports AGC: NO
  Stream formats: CS8, CS12, CS16, CF32, CF64
  Native format: CS16 [full-scale=32768]
  Stream args:
     * Samples per packet - The number of samples per packet.
       [key=spp, units=samples, default=0, type=int]
     * Bus format - The format of samples over the bus.
       [key=WIRE, type=string, options=(sc8, sc16)]
     * Peak value - The peak value for scaling in complex byte mode.
       [key=peak, default=1.0, type=float]
     * Send frame buffer size - The size an individual datagram or frame in bytes.
       [key=send_frame_size, units=bytes, type=int]
     * Send number of buffers - The number of available buffers.
       [key=num_send_frames, units=buffers, type=int]
  Antennas: TX/RX
  Full gain range: [0, 89.75, 0.25] dB
    PGA gain range: [0, 89.75, 0.25] dB
  Full freq range: [42, 6008] MHz
    RF freq range: [42, 6008] MHz
    BB freq range: [-8, 8] MHz
  Tune args:
     * LO Offset - Tune the LO with an offset and compensate with the baseband CORDIC.
       [key=OFFSET, units=Hz, default=0.0, type=float, range=[-8e+06, 8e+06, 0.00372529]]
     * BB - Specify a specific value for this component or IGNORE to skip tuning it.
       [key=BB, units=Hz, default=DEFAULT, type=float, range=[-8e+06, 8e+06, 0.00372529], options=(DEFAULT, IGNORE)]
  Sample rates: 0.03125, 0.0314961, 0.031746, 0.032, 0.0322581, ..., 3.2, 4, 5.33333, 8, 16 MSps
  Filter bandwidths: [0.2, 56] MHz
  Sensors: temp, lo_locked
     * temp (temp): 41.929825 C
     * lo_locked (LO): true locked



c:\Program Files\PothosSDR\bin>

After the last line, a windows notifiacation that the program has crashed appears.

mbaz avatar Sep 02 '21 23:09 mbaz