cancel
Showing results for 
Search instead for 
Did you mean: 

Extended Erase Returning 0x00

Ron Potashnik
Associate
Posted on June 05, 2018 at 08:32

Hello!

So when i am sending to my STM32 0X7F i get ACK in return.

When i am sending 0x02 and 0xFD i get ACK in return.

The Problem start when i am trying to do mass extended erase like in the document named  'USART protocol used in the STM32 bootloader'.

I send 0x44 and 0xBB and get ACK like i am expecting, but when i send the 0xFFFF and 0x0000 i get in return 0x00 (not ACK and not NACK).

#mass-erase #erase #stm32l162-mass-erase-bootloader
2 REPLIES 2
Ron Potashnik
Associate
Posted on June 05, 2018 at 10:49

?

Greg Smith
Associate II
Posted on June 27, 2018 at 18:39

Are you sure that your serial comms has transmitted the 0x0000 correctly? Some code will stop at the first \0 in a char string, expecting this to be the end of the string.

I am just starting my attempt to make use of the Erase via USART1 of an STM32H743 and cannot find out what they mean by page numbers (the STM32H&43 has 2 Banks of 8 pages of 128 kB each)... are these pages 0-15... or what?