NRST connection required for SWD connection to STM32 targets? #2062
Replies: 3 comments 11 replies
-
That one's new on us.. the nRST connection is intended to be entirely optional. It not working sounds like BMD is having to poke the reset line to get the debug infrastructure to talk - are you using WFI/WFE in your firmware? Are you asking BMD to connect-under-reset? Which STM32 target are you trying to work with exactly? This could be a bug. |
Beta Was this translation helpful? Give feedback.
-
I made several tests with different ground connections, and this definitely looks like a signal issue. I also found that you can change the SWD frequency using |
Beta Was this translation helpful? Give feedback.
-
It is not the frequency of the SWD/JTAG signal(), it is the speed of the signal edges. For F411 I see: GPIO_OSPEED_100MHZ and that will for sure cause problems. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone, I'm using a blackpill-f411 as the probe and want to connect to other STM32 as the target. From STLink adapters (original and china clones) I'm used to only connecting GND, SWIO and SWCLK for probing, flashing etc. But with the BMP I also need to connect NRST to be able to do anything (e.g. get a result from
mon a
in gdb).I've verified with the same target in the same state, that an stlink china clone can connect while BMP cannot without NRST.
Is that by design, or is there something I'm overlooking? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions