cancel
Showing results for 
Search instead for 
Did you mean: 

DEV_TARGET_RESET_ERR

rinato1111
Associate

It is an STM32F103C8T6 chip, and I am trying to connect it using st-link v3.

Connects to SWD,

(Connected VCC, SWCLK, GND, SWDIO 4pin)

In STM32CubeProgrammer, it is connected normally and both read/write are possible.

However, it does not work when debugging in STM32cubeIDE.

st-link v3 is scanned, but the following error appears when clicking the debug button.

(DEV_TARGET_RESET_ERR) This seems to be the problem, but I searched and found nothing.

help. please.

 

 

Error in final launch sequence:

 

Failed to execute MI command:

load D:\\NA\\workspaces\\workspace_stm\\STM32_231013_2\\Debug\\STM32_231013_2.elf

 

Error message from debugger back end:

Error finishing flash operation

Failed to execute MI command:

load D:\\NA\\workspaces\\workspace_stm\\STM32_231013_2\\Debug\\STM32_231013_2.elf

 

Error message from debugger back end:

Error finishing flash operation

Failed to execute MI command:

load D:\\NA\\workspaces\\workspace_stm\\STM32_231013_2\\Debug\\STM32_231013_2.elf

 

Error message from debugger back end:

Error finishing flash operation

Error finishing flash operation


 

-------------------------------------------------------------------

STM32CubeProgrammer v2.14.0

-------------------------------------------------------------------

 

 

 

Log output file: C:\Users\HNA~1.PIX\AppData\Local\Temp\STM32CubeProgrammer_a56876.log

ST-LINK SN : 001A00413331510D34333834

ST-LINK FW : V3J12M3B5S1

Board : STLINK-V3SET

Voltage : 3.29V

Error: ST-LINK error (DEV_TARGET_RESET_ERR)

2nd connect tentative with frequency (8MHz)

ST-LINK SN : 001A00413331510D34333834

ST-LINK FW : V3J12M3B5S1

Board : STLINK-V3SET

Voltage : 3.28V

Error: ST-LINK error (DEV_TARGET_RESET_ERR)

Encountered Error when opening C:\ST\STM32CubeIDE_1.13.1\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.1.0.202305091550\tools\bin\STM32_Programmer_CLI.exe

Error in STM32CubeProgrammer

Shutting down...

Exit.

 

 

2 REPLIES 2
Sarra.S
ST Employee

Welcome @rinato1111 to ST Community, 

Have you already tried the solution provided in this post

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.

Yes, I already tried it.

But it didn't find a valid libusb-1.0.dll.

None of them work.