cancel
Showing results for 
Search instead for 
Did you mean: 

libusb warnings

Arno1
Senior

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


 

1 ACCEPTED SOLUTION

Accepted Solutions
Amine_Jridi
ST Employee

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. 

 

 


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
Christian N
ST Employee

This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.

Hi Christian, could you post the solution here? I'm having the same issue on multiple PC's

Amine_Jridi
ST Employee

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. 

 

 


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.