This video presentation is the twentieth installment of the Essentials of MQX RTOS Application Development training course. In this session, you will be introduced to Task Aware Debugging.
This training was created by Embedded Access Inc., a Freescale sponsored training provider and proven partner.
|Session 19 Course Line
First, watch the video for Session 20: Task Aware Debugging.
Then, follow through with the interactive lab assignment below.
Task Aware Debugging (TAD) is a very powerful feature for gaining insight into the inner workings of your application. In many cases it is not practical, or too time consuming, to use a conventional method such as print statements to the console in order to efficiently debug your application. As you saw in the video, you can use TAD to obtain information about all of the kernel objects, stacks, interrupts, and the status of your tasks. You will now see in the lab how TAD can be used to debug a sequence of events bug that is in the application.
The objective of this lab is to gain experience using the Task Aware Debugging (TAD) feature and to learn how it can be used to debug an application.
[strings:TASK_ERROR_CODE] 0xffff0001 = USER: Log Overflow
[strings:MEM_TYPE] 0xff01 = USER: Log Entry
Need more help? The full source code for this lab can be found in the 'Lab Source Code' folder here.