1) I was able to inject ECC, double bit and parity error. Therefore, I simply used MemCfg_setTestMode on ECC protected and
parity protected ram, e.g.:
MemCfg_setTestMode(MEMCFG_SECT_M1, MEMCFG_TEST_WRITE_DATA);
// inject 2 bit error
eccTest += 3U;
MemCfg_setTestMode(MEMCFG_SECT_M1, MEMCFG_TEST_FUNCTIONAL);
Is something similar possible for address errors on RAM? If yes, how.
2) What happens if I do not enable SysCtl_enableNMIGlobalInterrupt()? Does ECC still work?
Is it possible to deactivate ECC and Parity (not that I want to I am just curious).
3)
Should I deactivate the watchdog in this function?
Where is Interrupt_nmiHandler registered?
static void Interrupt_nmiHandler(void)
{
//
// A non-maskable interrupt has occurred, indicating that a hardware error
// has occurred in the system. You can use SysCtl_getNMIFlagStatus() to
// to read the NMIFLG register and determine what caused the NMI.
//
// watchdog disable?
ESTOP0;
for(;;)
{
;
}
}