2024-08-02 05:14 AM
I keep getting warnings when using STM32CubeProgrammer_CLI that usb devices are still referenced: libusb: warning [libusb_exit] device x.x still referenced. This is a bit annoying.
-------------------------------------------------------------------
STM32CubeProgrammer v2.17.0
-------------------------------------------------------------------libusb: warning [libusb_exit] device 4.7 still referenced
libusb: warning [libusb_exit] device 4.8 still referenced
libusb: warning [libusb_exit] device 4.6 still referenced
libusb: warning [libusb_exit] device 4.5 still referenced
libusb: warning [libusb_exit] device 4.1 still referenced
libusb: warning [libusb_exit] device 3.1 still referenced
libusb: warning [libusb_exit] device 2.1 still referenced
libusb: warning [libusb_exit] device 1.3 still referenced
libusb: warning [libusb_exit] device 1.2 still referenced
libusb: warning [libusb_exit] device 1.19 still referenced
libusb: warning [libusb_exit] device 1.20 still referenced
libusb: warning [libusb_exit] device 1.22 still referenced
libusb: warning [libusb_exit] device 1.21 still referenced
libusb: warning [libusb_exit] device 1.25 still referenced
libusb: warning [libusb_exit] device 1.27 still referenced
libusb: warning [libusb_exit] device 1.23 still referenced
libusb: warning [libusb_exit] device 1.18 still referenced
libusb: warning [libusb_exit] device 1.17 still referenced
libusb: warning [libusb_exit] device 1.1 still referenced
ST-LINK SN : xxx
ST-LINK FW : V3J15M6
Board : STLINK-V3MINIE
Voltage : 3.28V
SWD freq : 24000 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Device ID : 0x483
Revision ID : Rev Z
Device name : STM32H72x/STM32H73x
Flash size : 1 MBytes
Device type : MCU
Device CPU : Cortex-M7
BL Version : 0x92
Solved! Go to Solution.
2024-09-12 02:35 AM
Hello @Arno1,
The warnings issue is related to the version of libusb. To avoid these warnings, you can downgrade to version 1.0.23, which works fine. In the meantime, an internal ticket has been created (188089) and is being addressed by our team to resolve the issue from our side.
Thanks,
Amine.
2024-08-02 08:25 AM
This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.
2024-09-10 06:25 AM
Hi Christian, could you post the solution here? I'm having the same issue on multiple PC's
2024-09-12 02:35 AM
Hello @Arno1,
The warnings issue is related to the version of libusb. To avoid these warnings, you can downgrade to version 1.0.23, which works fine. In the meantime, an internal ticket has been created (188089) and is being addressed by our team to resolve the issue from our side.
Thanks,
Amine.