AnsweredAssumed Answered

S12zvl EEPROM odd address write

Question asked by Charudatta Ingale on Feb 18, 2016
Latest reply on Feb 19, 2016 by Radek Sestak

Dear Team,

 

As s12z EEPROM is word programmable before program EEPROM we have to erase sector of four bytes.

For EX.

1) If I want to write one byte of data on address 0x100003 then I have to recover remaining three bytes of data from sector, perform erase on  sector  and write two words of data on sector.

2) If i want 8 bytes of data on address starting from 0x100003 then i have to recover data present on first sector starting from 0x100000(3 bytes) and third sector starting from 0x100008(1byte) finally  I have to perform three sector erase and write 6 words of data.

 

Looking for efficient solution to write number of bytes of data on EEPROM.

good to have any good example project to handle such type of scenario.

Requesting assistance for the same.

 

Thanks & Regards,

Charudatta.

Outcomes