Hello people,
I am trying to test the functionality of CCM in error forcing mode (initially). I am trying to use the code of Safety Demos, but an ESM Interrupt does not seem to be triggered. The steps that I follow are:
- initialize the esm.
- set the CCM in error forcing mode
- wait for ESM interrupt flag
In the step no. 3 it looks that it stucks. It does not trigger an ESM interrupt. I use the functions of the safety demo (CCM_R4_Compare, swi_enable_fiq_irq()) and the flag ESM_High_Int_Flag that is used there. What am I missing? I know that the CCM does not respond in debug mode. I do not use any breakpoints.
I attach my project for a clear view. I will be really grateful for any suggestion.
Regards,
Stelios2604.LockstepTest.zip