Nuand / bladeRF

bladeRF USB 3.0 Superspeed Software Defined Radio Source Code
http://nuand.com
Other
1.13k stars 455 forks source link

bladerf-tool info No bladeRF devices available #888

Closed osalhi-kali closed 1 year ago

osalhi-kali commented 1 year ago

Hello, i'm trying to use bladerf on jetson nano with python3.6 when i run bladerf-tool info no device found but with bladeRF-cli work fine. and i don't know how i can solve this issue.

jetson@jetson:~/Desktop$ lsusb Bus 002 Device 007: ID 2cf0:5250
Bus 002 Device 002: ID 0424:5744 Standard Microsystems Corp. Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 8087:0a2b Intel Corp. Bus 001 Device 007: ID 0424:2740 Standard Microsystems Corp. Bus 001 Device 005: ID 0c45:8603 Microdia Bus 001 Device 004: ID 0461:4d62 Primax Electronics, Ltd HP Laser Mobile Mini Mouse Bus 001 Device 002: ID 0424:2744 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

jetson@jetson:~/Desktop$ bladerf-tool info No bladeRF devices available.

jetson@jetson:~/Desktop$ python Python 3.6.15 | packaged by conda-forge | (main, May 27 2022, 17:32:26) [GCC 10.3.0] on linux Type "help", "copyright", "credits" or "license" for more information.

import bladerf d = bladerf.BladeRF() Traceback (most recent call last): File "", line 1, in File "/home/jetson/.local/lib/python3.9/site-packages/bladerf/_bladerf.py", line 479, in init self.open(device_identifier, devinfo) File "/home/jetson/.local/lib/python3.9/site-packages/bladerf/_bladerf.py", line 494, in open _check_error(ret) File "/home/jetson/.local/lib/python3.9/site-packages/bladerf/_bladerf.py", line 401, in _check_error raise globals()errorval.name bladerf._bladerf.NoDevError: No devices available

jetson@jetson:~/Desktop$ bladeRF-cli -i bladeRF> info

Board: Nuand bladeRF 2.0 (bladerf2) Serial #: 6ec566611a894b8690804e57d0f787e3 VCTCXO DAC calibration: 0x1ff7 FPGA size: 49 KLE FPGA loaded: yes Flash size: 32 Mbit USB bus: 2 USB address: 7 USB speed: SuperSpeed Backend: libusb Instance: 0

bladeRF> q

rghilduta commented 1 year ago

Only one program at a time can open the bladeRF. This likely occurred because bladeRF-cli is open when bladerf-tool was called. Please exit out of bladeRF-cli and try bladerf-tool.