AnsweredAssumed Answered

MC9S08PA EEPROM

Question asked by Daniel St-Pierre on Sep 1, 2015
Latest reply on Sep 17, 2015 by David Diaz Marin

Hi,

 

I am using MC9S08PA4 and cannot get the EEPROM to work. I want to write 1 byte in non-volatile memory and read it after a power reset

 

I used the reference manual and AN4570 for documentation, and I am writing in c:

- Setup the proper speed FDIV

- Unsecured the flash and eeprom

- Erase the first sector (0x3100)

- Verify Erase first sector

- Program the first sector

 

Is there any special command for reading the EEPROM, or just read first NVM_FCCOB ??

 

thanks,

 

Daniel

Outcomes