cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H755 programming via PB14-PB15 bootloader

gmn
Visitor

Hi -

We are having difficulty programming STM32H7 via serial ports PB14-PB15 as USART1.  We are setup as described in AN2606, section 56.1 and we're using STM32CubeProgrammer for downloads.  The connection is established, but the first bootloader command (get ID) is nack'ed (picture below).

connect, then fail "get-id"connect, then fail "get-id"

This same procedure works perfectly using PA9-PA10 (also an2606, 56.1).  PB14-PB15 fails.

Summarizing our procedure, we first setup the configuration in STM32CubeMX defining PB14-PB15 as USART1 pins (confirmed PA9-PA10 are in reset mode).  Then, the configuration is built into a small 'blinky' program and downloaded via ST-Link to the board (nucleo-h755zi), then board reset, pull boot0 high, and attempt a serial download. Probably not needed, but we also added nrst high just to debug/be-safe.

We have noticed that serial downloads are sensitive to baud rates and have found best/most-consistent results at 9600.

What are we missing or overlooking?

Thank you!

 

 

1 REPLY 1
gmn
Visitor

Two updates:

First, both PB14 (expected pin) and PA9 respond with nacks:

picture 2picture 2

Second, the comment above about the uC being sensitive to baud rate was incorrect, ... the Saleae capture is sensitive to baud rate.  The picture above is 38400 and connected (then failed with a nack) just fine. :)