AnsweredAssumed Answered

Writing EEPROM does not appear to be persistent when using example AN4570. MC9SO8PA4

Question asked by Gregory Berardi on Jul 26, 2013
Latest reply on Sep 19, 2013 by Gregory Berardi

I am using the examples from AN4570. The example "EEPROM_ProgramUpto4Bytes". I am writing to location 0x3100 and the data is visible when using the "Memory Monitor" but when the chip is reset the data goes back to 0xFF.  I am erasing before writing and the functions are returning success. I am assuming that the BUSCLK is the 4MHz crystal that is clocking the chip (the datasheet is vague about this) so I have set FCLKDIV to 0x03 (3.6 to 4.6MHz). Any ideas on what I'm doing wrong?

Outcomes