Forum: µC & Digital Electronics SWD for STM32F4VGT6

von Rafael Bachmann (Guest)

Rate this post
not useful
I got a cheap barebones STM32F4VGT6 board, admittedly it was somewhat of 
an impulse buy. It is made by diymore:


So far, I have used dfu-utils to burn my programs, which are generated 
by STM32CubeMX. The dfu-utils method is described here:


I would like to use a NUCLEO boards' SWD programmer to be able to debug 
the MCU, but it does not break out the reset pin. Nonetheless, on the 
back side silk screen it says:


Do I have to pry the NRST line from the reset button, or can I use just 
those 2 lines for SWD?

Thanks for your help.

von Christopher J. (christopher_j23)

Rate this post
not useful
Rafael Bachmann wrote:

Those two pins are sufficient for SWD (together with a GND connection 
obviously). You do not have to route the rst-Pin to your ST-Link unless 
you e.g. want to do a "connect under reset" but you could also do that 
manually by holding the reset button and releasing it after initiating 
the debug connection.


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.