cancel
Showing results for 
Search instead for 
Did you mean: 

warning [libusb_exit] device 2.1 still referenced

anupam1511
Associate II

after starting a debug its directly going to hardfault handler

actually here there 2 boards

1)stm32l476vgt6 (using jtag to load code in stm32h74zit6)

2)stm32h74zit6

facing this warning

libusb: warning [libusb_exit] device 2.1 still referenced
libusb: warning [libusb_exit] device 1.5 still referenced
libusb: warning [libusb_exit] device 1.4 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.1 still referenced

 

 

STMicroelectronics ST-LINK GDB server. Version 7.6.0
Copyright (c) 2024, STMicroelectronics. All rights reserved.

Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled

Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
-------------------------------------------------------------------
STM32CubeProgrammer v2.16.0
-------------------------------------------------------------------

 

Log output file: /tmp/STM32CubeProgrammer_xb8Syn.log
libusb: warning [libusb_exit] device 2.1 still referenced
libusb: warning [libusb_exit] device 1.5 still referenced
libusb: warning [libusb_exit] device 1.4 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.1 still referenced
ST-LINK SN : 0677FF3836314B3457124432
ST-LINK FW : V2J44M29
Board : 32L476GDISCOVERY
Voltage : 3.19V
SWD freq : 4000 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Device ID : 0x415
Revision ID : Rev 4
Device name : STM32L4x1/STM32L475xx/STM32L476xx/STM32L486xx
Flash size : 1 MBytes
Start Address : 8000000
Device type : MCU
Device CPU : Cortex-M4
BL Version : 0x92
Debug in Low Power mode enabled

 

Memory Programming ...
Opening and parsing file: ST-LINK_GDB_server_Kj9EZz.srec
File : ST-LINK_GDB_server_Kj9EZz.srec
Size : 12.23 KB
Address : 0x08000000


Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 6]
Download in Progress:


File download complete
Time elapsed during download operation: 00:00:00.505

 

Verifying ...

i also tried interface options as JTAG but still facing issues

i also tried to change the reset behaviour but result not came

 


Download verified successfully

Screenshot from 2024-06-10 17-29-21.pngScreenshot from 2024-06-10 17-29-25.png

0 REPLIES 0