hello .
for FTFC ECC doule bits error interrupt toutine test code is as the following
FTFC->FERCNFG |= 0x02;//DFDIE
FTFC->FERCNFG |= 0x20; //FDFD
INT_SYS_EnableIRQ(FTFC_Fault_IRQn);
i = *(uint32_t *)0x6000;
and interrupt entry function is
void FTFC_Fault_IRQHandler(void)
{
FTFC->FERSTAT |= 0x20;
}
when Flash boot after execute INT_SYS_EnableIRQ(FTFC_Fault_IRQn); it will enter FTFC_Fault_IRQHandler. but if RAM boot ,execute the same code it will not enter FTFC_Fault_IRQHandler.
why is this different between two boot mode?
comment: my device is S32K146 and my compile tool is S32K DS.