Transfer timed out for buffer

Having issues with the site, hardware, source code, or any other issues?

Moderator: robert.ghilduta

Post Reply
jarek556
Posts: 3
Joined: Mon Oct 15, 2018 9:52 pm

Transfer timed out for buffer

Post by jarek556 » Mon Oct 15, 2018 11:26 pm

Hello!

I have problem with bladerf 2.0 A4. After some time of operation, the call to bladerf_sync_rx issues the following error:

[ERROR @ host/libraries/libbladeRF/src/backend/usb/libusb.c:1045] Transfer timed out for buffer 0x7f6227f0e410
[ERROR @ host/libraries/libbladeRF/src/backend/usb/libusb.c:1045] Transfer timed out for buffer 0x7f6227f16420
[ERROR @ host/libraries/libbladeRF/src/backend/usb/libusb.c:1045] Transfer timed out for buffer 0x7f6227f1e430
[ERROR @ host/libraries/libbladeRF/src/backend/usb/libusb.c:1045] Transfer timed out for buffer 0x7f6227f26440
[ERROR @ host/libraries/libbladeRF/src/backend/usb/libusb.c:1045] Transfer timed out for buffer 0x7f62245c3310
[ERROR @ host/libraries/libbladeRF/src/backend/usb/libusb.c:1045] Transfer timed out for buffer 0x7f62245cb320
[ERROR @ host/libraries/libbladeRF/src/backend/usb/libusb.c:1045] Transfer timed out for buffer 0x7f62245d3330
[ERROR @ host/libraries/libbladeRF/src/backend/usb/libusb.c:1045] Transfer timed out for buffer 0x7f62245db340

When this problem appears, bladerf_sync_rx returns error -6: BLADERF_ERR_TIMEOUT

Next calls to bladerf_sync_rx doesn't work too, until card is closed and reopened again.

Host is Intel NUC with latest debian:

Linux fc05 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64 GNU/Linux

all possible software updated to latest versions:

bladeRF-cli -i
bladeRF> info

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

bladeRF> version

bladeRF-cli version: 1.6.1-git-c9a2230c
libbladeRF version: 2.0.2-git-c9a2230c

Firmware version: 2.2.0-git-47f93fe1
FPGA version: 0.7.3

bladeRF>

bglod
Posts: 179
Joined: Thu Jun 18, 2015 6:10 pm

Re: Transfer timed out for buffer

Post by bglod » Tue Oct 16, 2018 9:21 am

Can you try a different USB 3.0 port (that is connected to a different controller)? Or a different host altogether? Usually these types of problems are a lack of processing power on the host or a crappy USB controller. Sometimes the problem can be alleviated by tweaking the buffer size, number of buffers, and number of transfers.
Electrical Engineer
Nuand, LLC.

Post Reply