We are using the S912ZVCA19 WKH
The phenomenon is the SW cannot run normally.
We are debugging bootloader, finish of bootloader, jump to app segment, when it runs to the phrase before reading EEPROM phrase of the app segment, no error report, but when it runs to after reading EEPROM phrase ( *Data = *((byte *)Addr); ), the register MMCEC is 0x1332 which means S12ZCPU+EEPROM+data load+uncorrectable ECC error, and it runs to the machine exception fault address afterwards.
Then we check it in bootloader, this reading EEPROM phrase is called in bootloader with reading the same address, it can run normally, no error, which means this EEPROM address is ok, can be visit.
Question:
Thank you very much.
Hi @Alice10,
Do you set FCLKDIV correctly?
When you program the EEPROM do you see any errors?
The programming operation verifies the data and the ECC check sum.
Can you please apply Margin Level read after the date are programmed?
Is it possible that there is an issue with pointers and you read a different data?
You should see the error even the EEPROM is read by the debugger.
Regards,
Daniel