Skip to main content
EMize.1
Associate
May 12, 2021
Question

Can not flash stm32f407vet6 with st-link v2 programmer.

  • May 12, 2021
  • 3 replies
  • 1768 views

After unsuccessful firmware, via cubeide (debugger was not selected), the microcontroller is not flashed via st-link v2 (swd). Tried in 1) cubeide, 2) cube programmer, 3) st-link utility.

1 File to start the GDB server

2 The firmware of the programmer was updated with a signal to BOOT0, but he does not want to program the chip and does not see

3 In connection mode, when reset, the error: "... select a lower frequency SWD mode ..."

What can be done and what is happening? Please help me figure it out.

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
May 12, 2021

Connect under Reset only works if the NRST pin is connected via your SWD/JTAG connection

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
EMize.1
EMize.1Author
Associate
May 12, 2021

Do I need to pin NRST chip to the programmer? Where to connect it, please tell me.

Tesla DeLorean
Guru
May 12, 2021

You're complaining things aren't working, what do you think? The "Connect Under Reset" method kinda expects some connectivity, and the BOOT0 High trick needs for the processor to reset.

The NRST pin should be called out of the ST-LINK/V2 pin header, in the manual.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..