STM32-SPI-Bootloader-host icon indicating copy to clipboard operation
STM32-SPI-Bootloader-host copied to clipboard

BL_EraseMemory_Command not correct

Open MichaelPriven opened this issue 6 years ago • 0 comments

Hi,

The Erase function is not according to protocol. You need to send N-1 pages to erase - it will erase N pages You need to send an array of page numbers. for Example - to erase 5 pages from page zero you need to send: 0,4,checksum wait for ack 0,0,0,1,0,2,0,3,0,4,checksum wait for ack

Please note, that each STM32 has different page size

Michael

MichaelPriven avatar Mar 08 '18 09:03 MichaelPriven