I'm wondering how to write and read the EEPROM of MC9S12DG128.
I've found many articales about the EEPROM,but they only talk about how to write it,nearly no read
operation,can it be read?
You can directly ready the EEPROM memory location as shown below
unsigned int eepromData;
eepromData = *(unsigned int*)(0x800);
in which "0x800" is the EEPROM memory location from where you want to read the data.
Check the attached file, for the example of writing EEPROM memory
Retrieving data ...