Skip to main content
SP.12
Associate
Jun 9, 2022 10:41 AM UTC
Solved

Unable to connect to STM32H7 system bootloader via UART

I have been working with STM32H753 device. I was able to boot into the system booltoader of the Nucleo board. Cube Programmer was able to detect and connect through UART.

But, I am unable to connect the Cube programmer in our custom board. Both BOOT_ADD0 and BOOT_ADD1 were set to 0x1FF0. After booting, I connected J-Link to verify that the PC is at 0x1FFx series addresses.

Looking further, whenver I halt and run the CPU through J-Link, the PC seems to be at address 0x1FF0AAF0 and the CycleCnt is increasing.

I am not sure what could be possibly wrong.

This topic has been closed for replies.
MM..1
MM..1Best answer
Super User
Jun 13, 2022 1:52 PM UTC

You meet all this

0693W00000NrjJ1QAJ.png

4 replies

MM..1
Super User
Jun 11, 2022 2:10 PM UTC

You need use exact pins and config described in AN2606 for example

0693W00000NrfCfQAJ.png

SP.12
SP.12Author
Associate
Jun 13, 2022 5:49 AM UTC

Hi, thanks for the response. I did use the mentioned pin for USART1 - PA9 and PA10 from AN2606. The same set of pins were working on the Nucleo, but not in our custom board.

MM..1
MM..1Best answer
Super User
Jun 13, 2022 1:52 PM UTC

You meet all this

0693W00000NrjJ1QAJ.png

SP.12
SP.12Author
Associate
Jun 14, 2022 11:19 AM UTC

The PB15 was set to GND in our case. And changing it, solved our issue. We are able to connect to the bootloader now. Thank you very much.