2021-08-23 11:12 PM
I cannot connect to program the STMF7 Discovery. In the attached file a message. What to do? regards
Andrzej
2021-08-24 12:13 AM
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.