Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BL_EraseMemory_Command not correct #2

Open
MichaelPriven opened this issue Mar 8, 2018 · 0 comments
Open

BL_EraseMemory_Command not correct #2

MichaelPriven opened this issue Mar 8, 2018 · 0 comments

Comments

@MichaelPriven
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant