Skip to main content
SP.12
Associate
June 9, 2022
Solved

Unable to connect to STM32H7 system bootloader via UART

  • June 9, 2022
  • 2 replies
  • 2232 views

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

You meet all this

0693W00000NrjJ1QAJ.png

2 replies

MM..1
Chief III
June 11, 2022

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

0693W00000NrfCfQAJ.png

SP.12
SP.12Author
Associate
June 13, 2022

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
Chief III
June 13, 2022

You meet all this

0693W00000NrjJ1QAJ.png

SP.12
SP.12Author
Associate
June 14, 2022

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.