MQX Lite + Timerint = crash

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MQX Lite + Timerint = crash

ソリューションへジャンプ
1,479件の閲覧回数
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 件の賞賛
返信
1 解決策
1,202件の閲覧回数
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 件の賞賛
返信
3 返答(返信)
1,202件の閲覧回数
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

1,202件の閲覧回数
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 件の賞賛
返信
1,203件の閲覧回数
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 件の賞賛
返信