KL25 Freedom board, with CW 10.3.
I start a new project, add MQX lite and create two tasks. It works as it should.
Then I add a TimerInt component, say using Periodic interrupt source PIT_LDVAL0, but other sources do the same thing.
When the Interrupt period is somewhat high, like 200 msec, everything is fine.
Things go wrong when the period is shorter, like 1 msec. The program crashes and the debugger shows it is stuck in dispatch.S close to
ASM_LABEL(no_one_to_run)
It does not matter what's inside the OnInterrupt function, even an empty function shows the problem.
Oddly, it seems that a single MQX task makes the program behave correctly.
Any idea?
Thank you
Alberto.
Solved! Go to Solution.
Hi Alberto,
I have checked your project with official CW 10.3 release and it works without any crashes. You are probably working with some older version so upgrade.
Regards Petr
Hi,
Could you post some simple demo project reproducing the problem?
best regards
Petr Hradsky
Processor Expert Support Team
Hi Alberto,
I have checked your project with official CW 10.3 release and it works without any crashes. You are probably working with some older version so upgrade.
Regards Petr