Dear Mr./Mrs,
I have worked for ERM.I over-programming Flash to generate a non-correctable. I used sample programme on Forum. I wonder that what is purpose of SetMSR_ME func on this example? When I try to debug my source during overprogramming, controller doens't enter ISR function called ERM_IRQHandler. I initiliaze ERM for controller. * ERM_init();
I enable interrupts by using this function *INT_SYS_EnableIRQ(ERM_IRQn);
Best Regards.
已解决! 转到解答。
No, it will go to IVOR1 in both cases. The only way how CPU can process fault read is bus error.
The only exception is data flash where flash controller can return ECC-clean illegal opcode value 0x1555_1555 (according PFCR3[DERR_SUP] setting).
No, it will go to IVOR1 in both cases. The only way how CPU can process fault read is bus error.
The only exception is data flash where flash controller can return ECC-clean illegal opcode value 0x1555_1555 (according PFCR3[DERR_SUP] setting).
If you mean following example
if goes to IVOR1 exception which is calling ERM handler.
But ECC error may be also detected by different master than core (eDMA for instance), it this case ERM interrupt should be invoked.