On 02/12/2024 07:59, Quentis Ghyll wrote:
Hi,

I found the following behavior which generates tons of error messages.

*OS:*
Win11 + WSL + Ubuntu 22.04.5 LTS + usbipd-win

*Target PCB/board description*: Raspberry Pi Pico W board RP2040

*Actual result*
Both the GDB and OpenOCD terminal windows is flooded by the following error logs:
/
/
/Error: 12463 388465 cmsis_dap_usb_bulk.c:532 cmsis_dap_usb_write(): busy command USB transfer at 0 Error: 12464 388466 cmsis_dap_usb_bulk.c:547 cmsis_dap_usb_write(): USB write: late transfer competed/


Thanks for reporting.

I found that these two errors do not necessarily mean that something went wrong - I just never tested the code with the driver which requires waiting for USB bulk write and left too strict checking
in the code.

Plese test
8640: drivers/cmsis_dap_usb_bulk: allow waiting for bulk write | https://review.openocd.org/c/openocd/+/8640
which just replaces errors by low level debugging messages.

Also there is a fix for quirk mode
8641: drivers/cmsis_dap: fix segfault in quirk mode setting | https://review.openocd.org/c/openocd/+/8641

Tomas


Reply via email to