cancel
Showing results for 
Search instead for 
Did you mean: 

Erase command bootloader not responding

Skelc.1
Associate

Hello everyone, I'm trying to do an erase command for 2 pages but it accepts the command with an ack but after that nothing happens and the bootloader nacks all other commands I waited at least 40 seconds after the erase command but no ack or nack. Anyone have an idea why I don't get anything back not even nack? chip is a stm32f030c8t6 photo below shows the ack return

thank you.0693W00000BdS2gQAF.png

4 REPLIES 4
TDK
Guru

Custom board? Perhaps it loses power or gets reset during the process.

If you feel a post has answered your question, please click "Accept as Solution".

stm32 uart boot loader protocol https://www.st.com/resource/en/application_note/cd00264342-usart-protocol-used-in-the-stm32-bootloader-stmicroelectronics.pdf

Should be sending

44 BB

00 01 00 3E 00 3F 00

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

oh no such a stupid mistake of course it should be

44 BB

00 01 00 3E 00 3F 00

i misread the documentation a little bit.

I changed the mistake and it runs first try thanks for pointing it out!

The lack of response is indicative that the loader is waiting for additional data to get to the point where it gets a checksum or additional field(s)

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