Skip to main content
ADębs.1
Senior
Aug 24, 2021 6:12 AM UTC
Question

STM32F7 Discovery, STM32CubeProgrammer

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
Aug 24, 2021 7:13 AM UTC

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""."