MQX Lite + Timerint = crash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MQX Lite + Timerint = crash

Jump to solution
753 Views
Alberto_g
Contributor III

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.

0 Kudos
1 Solution
476 Views
petr_uhlir
NXP Employee
NXP Employee

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

View solution in original post

0 Kudos
3 Replies
476 Views
Petr_H
NXP Employee
NXP Employee

Hi,

Could you post some simple demo project reproducing the problem?

best regards

Petr Hradsky

Processor Expert Support Team

476 Views
Alberto_g
Contributor III

Thank you for your interest.

I attach a simpler program. This one seems to crash in every condition.

Regards

Alberto

0 Kudos
477 Views
petr_uhlir
NXP Employee
NXP Employee

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

0 Kudos