Hello,
I am a developer developing with S12ZVCA192 MCU.
I want to save the flag value to EEPROM.
But there is a problem.
I can't check the EEPROM Memory value with Debug.
I want to check the data I have stored in EEPROM.
1. I simply stored the data as IEE1_SetByte. (0x09)
2. After IEE1_SetByte, it was confirmed that the data was saved with IEE1_GetByte.
3. Edit the code to clear the IEE1_SetByte part.
4. Debug and read data with IEE1_GetByte. (I think 0x09 should be stored in EEPROM.)
5. The data has changed. (0x09 -> 0xFF)
6. The problem is unknown.
7. Is the data not saved?
8. Is the data initialized during Debug?
I can't confirm what the problem is.
I'll add the source code and pictures.
Please check and point out if there is a problem with the values I have set.
1) Execute IEE1_SetByte and then execute IEE1_GetByte
Confirm that the data(0x09)is saved

2) Clear IEE1_SetByte and execute IEE1_GetByte
check that the data(0xFF) has changed

thanks,