STM32-SPI-Bootloader-host
STM32-SPI-Bootloader-host copied to clipboard
BL_EraseMemory_Command not correct
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