EmbDev.net

Forum: µC & Digital Electronics SWD for STM32F4VGT6


Author: Rafael Bachmann (Guest)
Posted on:

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

Ebay-Artikel Nr. 311702413371

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

https://github.com/dwelch67/black_pill_too

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:

SWD: PA13/DIO PA14/CLK

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.

Author: Christopher J. (christopher_j23)
Posted on:

Rate this post
0 useful
not useful
Rafael Bachmann wrote:
> SWD: PA13/DIO PA14/CLK

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.

Reply

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]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig