Skip to main content
ALevc.1
Associate III
Apr 25, 2020 8:12 PM UTC
Solved

Can't connect to target after power off (STM32F769I-DISCO)

I have the STM32F769I-DISCO board and just made a simple application that uses usart1 to print some debug messages on the virtual com port (USART1.

Everything works fine until I power off the board. When the board is connected to usb cable again the ST-Link utility or the CubeIDE debugger can't connect to the board. This is a message from the ST-Link utility.

0693W000000WSSgQAO.png

It goes well to bring the board back to life by setting BOOT0 pin high on start and erasing the flash. But this is annoying to do it every time and also this is not how it should work.

I just started working with STM MCUs and will appreciate any hints in which direction to look for the root cause of this behavior.

Best Regards,

Anton

This topic has been closed for replies.
ALevc.1
ALevc.1Best answer
Associate III
Apr 26, 2020 12:47 PM UTC

Aha.... that was a wrong board selected in the new project wizard.

2 replies

ALevc.1
ALevc.1Author
Associate III
Apr 26, 2020 7:29 AM UTC

Actually there is no need to erase memory. Just works if I power on with BOOT0 high and then reset with the reset button on the board.​

ALevc.1
ALevc.1AuthorBest answer
Associate III
Apr 26, 2020 12:47 PM UTC

Aha.... that was a wrong board selected in the new project wizard.