Skip to main content
Associate III
June 12, 2026
Solved

STM32N6 boot ROM replies with two ACKs

  • June 12, 2026
  • 1 reply
  • 62 views

When sending the first initial SYNC (0x7F) byte to the STM32N6 boot ROM over UART, the boot ROM replies with two ACK (0x79) bytes, while only one ACK is sent as a response to later SYNCs. Is the boot ROM guaranteed to always reply with two ACKs to the first SYNC?

First sync:

Later syncs:

 

Best answer by mƎALLEm

Hello,

I got an internal feedback regarding the behavior:

In AN5275, regarding the command descriptions, it appears that both the first byte and the last byte are ACKs. This suggests that there are two ACKs for commands such as Get (0x00), Get Version (0x01), and Get ID (0x02)...

Although this is not explicitly described in the document, it is reasonable to assume that a similar behavior may also apply to the synchronization message, with a high probability of the same ACK pattern being used.

Hope that helps.

1 reply

mƎALLEm
ST Technical Moderator
June 17, 2026

Hello,

Just to ensure you followed the following parameters from the AN5275

 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Tuomas95Author
Associate III
June 17, 2026

Hello,

yes, expect I’m using baudrate of 460800. UM3234 does not specify the allowed baudrate range.

mƎALLEm
ST Technical Moderator
June 17, 2026

Try the parameters provided in the AN5275

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.