SWD for STM32F4VGT6

Guest #5559064
Hello,
I got a cheap barebones STM32F4VGT6 board, admittedly it was somewhat of 
an impulse buy. It is made by diymore:

https://www.ebay.com/itm/STM32F407VGT6-ARM-Cortex-M4-32bit-MCU-Core-Development-Board-STM32F4Discovery-/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.
#5559105
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

A question of your own? This thread is over 8 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.