2023-06-12 02:00 AM
Hi, all
i use STM32F205REYx, (WLCSP64+2 package ), and use SWD (ST-Link V2 ) to debug/program the code, the circuit is as the attached file, but it always shows the GDB error as the following message
"Target Reset error
Error in initializing ST-LINK device.
Reason: Failed to reset target"
what is the possible reason?
Best Regards
2023-06-12 05:03 PM - edited 2023-11-20 03:27 AM
NRST should not be tied to VDD as it prevents the chip from resetting. The chip literally pulls the line down internally when it wants to reset.
Generally NRST should also be tied to the debugger to allow it to recover from a bad state, although it isn't strictly necessary.
2023-06-12 06:37 PM
Dear, all
thanks' for your help. i'll try to check these reason that Mr. HA.5 suggested.
Beside, from Mr. TDK, thank's for your suggestion, but i had used the circuit (directly connect NRST to VDD) in the past several projects( while these project is use STM32F412), and they can debug/program/work fine. This is the first time i use STM32F205RETx with package WLCSP64+2 in my project.
So is it something different between F412 to F205 in the SWD debug port?
2023-06-12 06:49 PM
Tying NRST to a supply or driving with a push-pull driver, is a very common way of breaking ARM MCU