Hi,
I bumped into a reset issue on my F28M36x controller. I have a simple application which works like this. On the C28 core I can blink a LED in a timer interrupt in case a flag is set. This flag can be set by the M3 core. From a PC application we can send a UDP packet which instruct the M3 to set this specific flag, when M3 receives it the C28 starts to blink the LED so everything is working well. Here is the code on the C28 core.
interrupt void Timer_MainTimerIsr(void)
{
/* Clear timer interrupt flag. */
CpuTimer0Regs.TCR.bit.TIF = 0;
if(g_usFlag)
{
LED2_TOGGLE;
}
}
The problem is the following.: When I issue a sw or a watchdog or an external reset the C28 stops the LED blinking till the core is hold in reset, but after that it starts again the blinking. The only exception is the power on reset. The other resets don't clear the C28 RAM?
Do you have any ideas why does it happen?
Thanks in advance!
Best Regards,
Tamas