Recently, I've decided to switch my bladeRF based setup from my Windows laptop to a Raspberry Pi 5 SBC. I've installed libbladeRF and bladeRF CLI (I have installed them from source, and got libbladeRF version: 2.4.1-0.2022.11-1 which is strange, as latest installer on Windows gave me libbladeRF 2.5.0). However, while trying to load a FPGA image to bladeRF, in 9 out of 10 times I'm getting a bunch of errors:
Code: Select all
[INFO @ host/libraries/libbladeRF/src/helpers/version.c:103] FPGA version (v0.15.3) is newer than entries in libbladeRF's compatibility table. Please update libbladeRF if problems arise.
[ERROR @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:77] Failed to receive NIOS II response: No devices available
Read Error -5
[ERROR @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:68] Failed to send NIOS II request: No devices available
Write Error -5
[ERROR @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:68] Failed to send NIOS II request: No devices available
Write Error -5
[ERROR @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:68] Failed to send NIOS II request: No devices available
Write Error -5
[ERROR @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:68] Failed to send NIOS II request: No devices available
Write Error -5
[ERROR @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:68] Failed to send NIOS II request: No devices available
Write Error -5
[ERROR @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:68] Failed to send NIOS II request: No devices available
Write Error -5
[ERROR @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:68] Failed to send NIOS II request: No devices available
Read Error -5
[ERROR @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:68] Failed to send NIOS II request: No devices available
Read Error -5
[ERROR @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:68] Failed to send NIOS II request: No devices available
Write Error -5
[ERROR @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:68] Failed to send NIOS II request: No devices available
Write Error -5
Failed to restore state
[ERROR @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:68] Failed to send NIOS II request: No devices available
Read Error -5
[ERROR @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:68] Failed to send NIOS II request: No devices available
[ERROR @ host/libraries/libbladeRF/src/board/bladerf2/rfic_host.c:437] _rfic_host_select_band: dev->backend->rffe_control_read(dev, ®) failed: No devices available
[ERROR @ host/libraries/libbladeRF/src/board/bladerf2/rfic_host.c:415] _rfic_host_set_frequency: rfic->select_band(dev, ch, frequency) failed: No devices available
[ERROR @ host/libraries/libbladeRF/src/board/bladerf2/rfic_host.c:116] _rfic_host_initialize: rfic->set_frequency(dev, ch, RESET_FREQUENCY) failed: No devices available
[ERROR @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:187] _bladerf2_initialize: dev->board->set_tuning_mode(dev, default_tuning_mode(dev)) failed: No devices available
[ERROR @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:2203] bladerf2_load_fpga: _bladerf2_initialize(dev) failed: No devices available
Error: failed to load FPGA: No devices available
[ERROR @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:68] Failed to send NIOS II request: No devices available
[ERROR @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:68] Failed to send NIOS II request: No devices available
[ERROR @ host/libraries/libbladeRF/src/backend/usb/usb.c:238] Failed to switch to NULL interface: No devices available
[ERROR @ host/libraries/libbladeRF/src/backend/usb/libusb.c:694] Failed to release interface: LIBUSB_ERROR_NO_DEVICE
Some rare times it works, and I'm able to load an image, but afterwards, in 9 out of 10 times, I can't handle it via GNU Radio. I thought that there could be a problem with power supply, and bladeRF just receives not enough power which leads to some reset or short-term shutdown, but I've already taken a 100W USB-C power source for RPI5, which should be more than enough. Has anybody had the same problem?
Small update after 24 hours from writing this post: I've noticed, that I'm getting this error so frequently only on USB 3.0, while with USB 2.0 it works 50% of time. After plugging board into USB 2.0, FPGA is being successfully loaded almost all the time, some subsequent call to libbladeRF from GNU Radio can cause that error I've mentioned above, but as I see, with about 50% chance. With USB3.0 I rarely can make it to work, even in FPGA image is being managed to load, subsequent run of GNU Radio causes that error I've mentioned