AnsweredAssumed Answered

Essentials of MQX-RTOS lab1

Question asked by George Joseph on Jun 4, 2015
Latest reply on Jun 4, 2015 by soledad

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.

Outcomes