Hi everyody. I'm using MCF52259demokit and MQX 3.6. I'm fightint against the main task that after 2 or 3 hours of running (or debugging) launches an unhandled interrupt. The only peripheral I'm using is the RTC with 1Hz interrupt. So I think that RTC must be the cause of the issue.
I'm attaching the code for anyone who wants to try it, or take a look at it to see if there is something wrong.
Regards,
Marco