cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 system boot USART

DHunt.2
Associate II

Hello.

There is a board with 2 stm32 MCU, one of them is stm32l452. I need to upload a firmware to stm32l452 using system boot. When it starts in system boot mode, second MCU sends 0x7F waiting acknowlenge byte (0x79) but there isn't a responce. After I added a complement (0x80) and started to send {0x7F, 0x80} frame, a responce was received, but not 0x79. After the first transmission 0xf1 byte was received, after second - 0xff and further - 0x7F. Sending any other frame from AN3155 I receive 0x7F. UART settings are correct, baud rate is 115200, but I used less too. What am I doing wrong? 

Best regards,

Den

1 ACCEPTED SOLUTION

Accepted Solutions

Uses 8E1 framing, on STM32 this is configured as 9-bit, Parity Even​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

2 REPLIES 2

Uses 8E1 framing, on STM32 this is configured as 9-bit, Parity Even​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Thank you! The problem is solved.