Skip to main content
ALevc.1
Associate III
April 25, 2020
Solved

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

  • April 25, 2020
  • 2 replies
  • 1464 views

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.
Best answer by ALevc.1

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

2 replies

ALevc.1
ALevc.1Author
Associate III
April 26, 2020

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
April 26, 2020

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