AnsweredAssumed Answered

ucos-III in MPC5744P

Question asked by xungao xu on Jul 31, 2018
Latest reply on Aug 13, 2018 by Martin Kovar

I'm trying to implement ucos-iii on MPC5744P, base on the demo code from MPC5748G platform, from Micrium. The OS task schedule can't run.

 

As the following picture show, the task switch function was defined to a asm script, Line 49, in this case, the task can't be scheduled, always run in the highest task, and can not go to the tick interrupt.

 

And if I change the task switch function to line 50, after the first time tick task run, the program always run in the OSCtxSW() function, and can't go to the time tick interrupt any more.

 

What's the problem, and if any one can share some demo code about ucos in mpc5744P, thx!!!

 

 

Outcomes