DEV_TARGET_RESET_ERR
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.