-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
All of the command-line utilities fail to work when run on a Raspberry Pi 5.
The software is cloned from github and compiled (following the guide) with no warnings or errors.
I've tested with both a STLink V2 Isol and a STLink V3Mods (genuine, not 3rd party copies).
The exact same hardware and stlink version (again pulled from github and built) works on a amd64 PC.
It isnt a hardware/os USB port issue, as it works fine with other devices.
mark@cfa050a:~$ sudo st-util
st-util 1.8.0-121-g8c34a4e
libusb: error [submit_bulk_transfer] submiturb failed, errno=2
2025-10-27T17:59:33 ERROR usb.c: GET_VERSION send request failed: LIBUSB_ERROR_IO
libusb: error [submit_bulk_transfer] submiturb failed, errno=2
2025-10-27T17:59:33 ERROR usb.c: GET_CURRENT_MODE send request failed: LIBUSB_ERROR_IO
libusb: error [submit_bulk_transfer] submiturb failed, errno=2
2025-10-27T17:59:33 ERROR usb.c: GET_COM_FREQ send request failed: LIBUSB_ERROR_IO
libusb: error [submit_bulk_transfer] submiturb failed, errno=2
2025-10-27T17:59:33 ERROR usb.c: GET_CURRENT_MODE send request failed: LIBUSB_ERROR_IO
libusb: error [submit_bulk_transfer] submiturb failed, errno=2
2025-10-27T17:59:33 ERROR usb.c: ENTER_SWD send request failed: LIBUSB_ERROR_IO
Failed to enter SWD mode
2025-10-27T17:59:33 ERROR gdb-server.c: Unsupported Target (Chip ID is 0000000000, Core ID is 0000000000).
mark@cfa050a:~$ sudo st-info --probe
libusb: error [submit_bulk_transfer] submiturb failed, errno=2
libusb: error [submit_bulk_transfer] submiturb failed, errno=2
libusb: error [submit_bulk_transfer] submiturb failed, errno=2
libusb: error [submit_bulk_transfer] submiturb failed, errno=2
libusb: error [submit_bulk_transfer] submiturb failed, errno=2
Failed to enter SWD mode
Found 1 stlink programmers
version: V3
serial: 004B002C3039510634393838
flash: 0 (pagesize: 0)
sram: 0
chipid: 0x000
dev-type: unknown
mark@cfa050a:~$ sudo st-info --chipid --freq=500
libusb: error [submit_bulk_transfer] submiturb failed, errno=2
libusb: error [submit_bulk_transfer] submiturb failed, errno=2
libusb: error [submit_bulk_transfer] submiturb failed, errno=2
libusb: error [submit_bulk_transfer] submiturb failed, errno=2
libusb: error [submit_bulk_transfer] submiturb failed, errno=2
Failed to enter SWD mode
0x0000
libusb: error [submit_bulk_transfer] submiturb failed, errno=2
Metadata
Metadata
Assignees
Labels
No labels