2003-05-13 07:37 AM
2011-05-17 02:54 AM
Hello,
I tried to go through the Eeprom emulator code. In that i found that.with that one byte programming is possible. But according to ST 3233 data sheet.''THE MCU MAY ERASE FLASH MEMORY ALL AT ONCE OR BY-SECTOR,BUT NOT BYTE-BY BYTEI would like to know that with this code can we overwrite the previously programmed byte?2011-05-17 02:54 AM
You can always program one byte at a time, if the memory loction that you want to write to is blank(0xFF). However, if a memory is already written to, you must erase it first before you can write to it again. You can not just erase one byte only, you must erase the whole sector. The EEPROM emulation code uses a software linked-list data storage algorithm to emulate the EEPROM function. Please see the attached code example.