On 2022-05-24 11:36, Shehla Amir wrote:
Looks to be like you're still using a UHD 4.2 environment on your Ubuntu
machine.
You want to be compatible with the 4.1 environment on your
Windows/MATLAB machine.
Those assertion errors are due to, I think, you not specifying a device
type on the uhd_usrp_probe,
so the library goes through "device discovery", and since you don't
have a USB-connected USRP
on the system, that part of discovery is failing.
Try:
uhd_usrp_probe --args type=x300,addr=192.168.10.2
And share the output, including the start-up messages that give version
information, etc.
[ERROR] [UHD] Device discovery error: AssertionError:
libusb_init(&_context) == 0
in libusb_session_impl
at
/build/uhd-sGyRrZ/uhd-4.2.0.0/host/lib/transport/libusb1_base.cpp:37
[ERROR] [UHD] Device discovery error: AssertionError:
libusb_init(&_context) == 0
in libusb_session_impl
at
/build/uhd-sGyRrZ/uhd-4.2.0.0/host/lib/transport/libusb1_base.cpp:37
[ERROR] [UHD] Device discovery error: AssertionError:
libusb_init(&_context) == 0
in libusb_session_impl
at
/build/uhd-sGyRrZ/uhd-4.2.0.0/host/lib/transport/libusb1_base.cpp:37
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Maximum frame size: 1472 bytes.
[INFO] [GPS] No GPSDO found
[INFO] [X300] Radio 1x clock: 200 MHz
[ERROR] [UHD] Device discovery error: AssertionError:
libusb_init(&_context) == 0
in libusb_session_impl
at
/build/uhd-sGyRrZ/uhd-4.2.0.0/host/lib/transport/libusb1_base.cpp:37
[ERROR] [UHD] Device discovery error: AssertionError:
libusb_init(&_context) == 0
in libusb_session_impl
at
/build/uhd-sGyRrZ/uhd-4.2.0.0/host/lib/transport/libusb1_base.cpp:37
[ERROR] [UHD] Device discovery error: AssertionError:
libusb_init(&_context) == 0
in libusb_session_impl
at
/build/uhd-sGyRrZ/uhd-4.2.0.0/host/lib/transport/libusb1_base.cpp:37
[WARNING] [UDP] The recv buffer could not be resized sufficiently.
Target sock buff size: 2453333 bytes.
Actual sock buff size: 163840 bytes.
See the transport application notes on buffer resizing.
Please run: sudo sysctl -w net.core.rmem_max=2453333
[WARNING] [UDP] The send buffer could not be resized sufficiently.
Target sock buff size: 2453333 bytes.
Actual sock buff size: 163840 bytes.
See the transport application notes on buffer resizing.
Please run: sudo sysctl -w net.core.wmem_max=2453333
[WARNING] [UDP] The current recv_buff_size of 163840 is less than
the minimum recommended size of 816000 and may result in dropped
packets on some NICs
[WARNING] [UDP] The current send_buff_size of 163840 is less than
the minimum recommended size of 307200 and may result in dropped
packets on some NICs
_____________________________________________________
/
| Device: X-Series Device
| _____________________________________________________
| /
| | Mboard: X310
| | revision: 11
| | revision_compat: 7
| | product: 30818
| | mac-addr0: 00:80:2f:32:8e:52
| | mac-addr1: 00:80:2f:32:8e:53
| | gateway: 192.168.10.1
| | ip-addr0: 192.168.137.4
| | 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: 321741F
| | FW Version: 6.0
| | FPGA Version: 38.0
| | FPGA git hash: b1ca7f3
| | RFNoC capable: Yes
| |
| | Time sources: internal, external, gpsdo
| | Clock sources: internal, external, gpsdo
| | Sensors: ref_locked
| _____________________________________________________
| /
| | RFNoC blocks on this device:
| |
| | * 0/DDC#0
| | * 0/DDC#1
| | * 0/DUC#0
| | * 0/DUC#1
| | * 0/Radio#0
| | * 0/Radio#1
| | * 0/Replay#0
| _____________________________________________________
| /
| | Static connections on this device:
| |
| | * 0/SEP#0:0==>0/DUC#0:0
| | * 0/DUC#0:0==>0/Radio#0:0
| | * 0/Radio#0:0==>0/DDC#0:0
| | * 0/DDC#0:0==>0/SEP#0:0
| | * 0/Radio#0:1==>0/DDC#0:1
| | * 0/DDC#0:1==>0/SEP#1:0
| | * 0/SEP#2:0==>0/DUC#1:0
| | * 0/DUC#1:0==>0/Radio#1:0
| | * 0/Radio#1:0==>0/DDC#1:0
| | * 0/DDC#1:0==>0/SEP#2:0
| | * 0/Radio#1:1==>0/DDC#1:1
| | * 0/DDC#1:1==>0/SEP#3:0
| | * 0/SEP#4:0==>0/Replay#0:0
| | * 0/Replay#0:0==>0/SEP#4:0
| | * 0/SEP#5:0==>0/Replay#0:1
| | * 0/Replay#0:1==>0/SEP#5:0
| _____________________________________________________
| /
| | TX Dboard: 0/Radio#0
| | ID: UBX-160 v2 (0x007d)
| | Serial: 3208538
| | _____________________________________________________
| | /
| | | TX Frontend: 0
| | | Name: UBX TX
| | | Antennas: TX/RX, CAL
| | | Sensors: lo_locked
| | | Freq range: 10.000 to 6000.000 MHz
| | | Gain range PGA0: 0.0 to 31.5 step 0.5 dB
| | | Bandwidth range: 160000000.0 to 160000000.0 step 0.0 Hz
| | | Connection Type: QI
| | | Uses LO offset: No
| _____________________________________________________
| /
| | RX Dboard: 0/Radio#0
| | ID: UBX-160 v2 (0x007e)
| | Serial: 3208538
| | _____________________________________________________
| | /
| | | RX Frontend: 0
| | | Name: UBX RX
| | | Antennas: TX/RX, RX2, CAL
| | | Sensors: lo_locked
| | | Freq range: 10.000 to 6000.000 MHz
| | | Gain range PGA0: 0.0 to 31.5 step 0.5 dB
| | | Bandwidth range: 160000000.0 to 160000000.0 step 0.0 Hz
| | | Connection Type: IQ
| | | Uses LO offset: No
| _____________________________________________________
| /
| | TX Dboard: 0/Radio#1
| | _____________________________________________________
| | /
| | | TX Frontend: 0
| | | Name: Unknown (0xffff) - 0
| | | Antennas:
| | | Sensors:
| | | Freq range: 0.000 to 0.000 MHz
| | | Gain Elements: None
| | | Bandwidth range: 0.0 to 0.0 step 0.0 Hz
| | | Connection Type: IQ
| | | Uses LO offset: No
| _____________________________________________________
| /
| | RX Dboard: 0/Radio#1
| | _____________________________________________________
| | /
| | | RX Frontend: 0
| | | Name: Unknown (0xffff) - 0
| | | Antennas:
| | | Sensors:
| | | Freq range: 0.000 to 0.000 MHz
| | | Gain Elements: None
| | | Bandwidth range: 0.0 to 0.0 step 0.0 Hz
| | | Connection Type: IQ
| | | Uses LO offset: No
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]