Eeprom emulation problem in spc5660b
Hi
I have a serious problem with EEPROM emulation
Writing and reading commands from EEPROM work well at first glance.
When I read the ST documentation related to EEPROM "UM0558", I noticed one thing and that is "swaping". Swap should be done when block is full. To test, I wrote about 1023 4-byte words in one address (Update a unique ID about 1023 time). But for 1024 words an error occurred and from then on everything went wrong.
for (i=0;i<1050;i++){
eewritebuf[0]=i;
result = FSL_WriteEeprom(&eepromConf,0,4,(UINT32)&eewritebuf,callback);
}
Why not update for 1024 and later. If everything is correct, it should be possible to update ID 0 to 1024 onwards.
