Skip to main content
ADębs.1
Senior
August 24, 2021
Question

STM32F7 Discovery, STM32CubeProgrammer

  • August 24, 2021
  • 1 reply
  • 620 views

I cannot connect to program the STMF7 Discovery. In the attached file a message. What to do? regards

Andrzej

This topic has been closed for replies.

1 reply

TDK
Super User
August 24, 2021

Based on your previous posts, I'm guessing you are erasing the flash in your program which can cause the debugger to disconnect during startup. Some solutions here:

https://community.st.com/s/question/0D50X0000B8jTfw/stlink-error-devtargetnothalted

You can always connect with STM32CubeProgrammer (under reset if necessary) and erase the flash to get back to a working state.

"If you feel a post has answered your question, please click ""Accept as Solution""."