Hello,
We are using processor TMS570LC4357 on a custom board. While working on implementing the external watchdog and reset on error pin activation, I got the following problem.
I configured the ESM module to generate High level FIQ interrupt for all 3 groups. I know this part works because I observed that when I read a flash address that was not written, I get an ECC error and the ESM interrupt is called.
The problem I have is when I enable the group1 influence on the error pin, the pin immediately gets pulled down and there is no error channels reported and no interrupt generated. I enable the influence by doing:
esmEEPAPR1 = 0xFFFFFFFFUL;
esmIEPSR4 = 0xFFFFFFFFUL;
esmIEPSR7 = 0xFFFFFFFFUL;
The error pin gets activated but the state registers are all 0 and no interrupt is generated.
esmSR1 = 0x0
esmSR2 = 0x0
esmSR3 = 0x0
esmSR4 = 0x0
esmSR7 = 0x0
Have you ever seen this condition?
By playing around with the enable bits, I found that if I leave bit 52 to 0 the problem doesn’t occur:
regEsm.esmEEPAPR1 = 0xFFFFFFFFUL;
regEsm.esmIEPSR4 = 0xFFEFFFFFUL;
regEsm.esmIEPSR7 = 0xFFFFFFFFUL;
From this I assume there is a “CPU Interconnect Subsystem - Global error” error but I can’t find a cause for this.
Do you have an idea?
Thanks,
Martin