Essentials of MQX-RTOS lab1

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

Essentials of MQX-RTOS lab1

455 Views
georgejoseph
Contributor III

I'm going through the labs on a twrk64f120w tower board.

When doing the lab 1 I successfully got the printf s of each task to print out but I had to put a breakpoint in each task. After the first 3 or 4 tasks printed out, the next printf s seemed to be preempted by the next task and each of the rest of the printouts were interleaved making it unreadable. It seemed that each printf resulted in a partial printout like the buffer needed flushing. When the next task printed, part of the 1st print was included along with part of the 2nd print. After 3 or 4 printfs it looked like every task for himself. What could be causing my problem? I assume that at the same priority level they would be acting in a round robin fashion.

0 Kudos
Reply
1 Reply

364 Views
soledad
NXP Employee
NXP Employee

Hello George,

Could you please share your code??

Regards

Soledad

0 Kudos
Reply