cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F7 Discovery, STM32CubeProgrammer

ADębs.1
Senior

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

Andrzej

1 REPLY 1
TDK
Guru

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