Fco. Javier Rodriguez G

Is there code ready-to-use for EEPROM emulation on AW32??

Discussion created by Fco. Javier Rodriguez G on Feb 7, 2008
Latest reply on Feb 9, 2008 by Richard Nardone

Is theresome ready-to-use code for the the EEPROM emulation on AW32 for the CodeWarrior in C??

I tried QG8 flash 6.zip for the QG8 and it works, but when ported to the AW32 it works erraticaly: sometimes it writes on the flash, other times it hangs, other losts its tracks, and so on. Actually it works pretty well once. In the .prm file I've located two banks

EEPROM0                      =  READ_ONLY    0x8000 TO 0x81FF;
EEPROM1                      =  READ_ONLY    0x8200 TO 0x83FF;
ROM                      =  READ_ONLY    0x8400 TO

Besides, when I try to run it inside the main() function it may works, however, when executed inside some other function it returns to the RAM space and you can imagine the mess.

If I don't make this thing to work soon, I will need to add some eeprom chip into my project =(

Do I miss something ?? Is there any code around??