STM32F205REY can not debug/program the program
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-12 2: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
- Labels:
-
ST-Link
-
STM32F2 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-12 5:03 PM - edited ‎2023-11-20 3: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-12 6: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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-12 6:49 PM
Tying NRST to a supply or driving with a push-pull driver, is a very common way of breaking ARM MCU
Up vote any posts that you find helpful, it shows what's working..
