cancel
Showing results for 
Search instead for 
Did you mean: 

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

ALevc.1
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
ALevc.1
Associate III

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

View solution in original post

2 REPLIES 2
ALevc.1
Associate III

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
Associate III

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