2007-11-16 01:54 AM
How to erase 20 bytes in flash not all sector?
2011-05-17 12:46 AM
Hi all.
I need to erase only 20 bytes in flash memory.In STR9 Flash Programming Manual no word about it. I tried to write (erase) twenty - 0xFF bytes and after that to write needed bytes. It not work. How to do it?2011-05-17 12:46 AM
It is not possible to erase single byte(s) for STR9 devices flash memory. You can erase whole sector only.
2011-05-17 12:46 AM
Just to puntualize,
it is not possible to erase part of sector in a flash memory in general. Suggestion: - Copy all the block in RAM and then erase and re-program, coping back whole sector, kepping blank the 20 bytes Marco