AnsweredAssumed Answered

Using EEPROM at 0xC00 in the S12XEP MPU for storage

Question asked by mike sienicki on Feb 11, 2017
Latest reply on Feb 16, 2017 by mike sienicki

I tried to use the EEPROM space between 0xC00 and 0XFFF, but, when power is removed and re-applied the memory loses what was previously stored.  The datasheet states that writing to EEPROM is automatic so I must be missing something here.  I have tried finding assembly language examples using the XEP's internal D-FLASH memory and the explanation given in the data sheet in that section appear to be cryptic so it's difficult to put all of the pieces together. I started coding based on the simple flow chart on page 1173 of the S12XFTM1024K5V2 module documentation, but understanding how to use the FCCOB register or setting a "Field Margin Level" is beyond my comprehension without further explanation.  If there are any reasonable examples of how to read and write to the EEPROM at the address starting at 0xC00 then I would be very happy.  I have no one else to turn to for help with this. I hope I am not too hopeless for anyone to help me with this.