This video presentation is the eighteenth installment of the Essentials of MQX RTOS Application Development training course. In this session, you will be introduced to Priority Inversion.
This training was created by Embedded Access Inc., a Freescale sponsored training provider and proven partner.
|Session 18 Course Line||Lab Outline|
First, watch the video for Session 18: Priority Inversion.
Then, follow through with the interactive lab assignment below.
You'll recall from the video that tasks of 3 different priority levels are required for a priority inversion scenario to occur. All of our tasks are quite short, as they should be, so to create the priority inversion we'll be artificially extending the time that a task takes to execute in order to create the symptoms of an inversion.If you aren't fully familiar with the conditions to create a priority inversion then it is suggested that you first watch the video for this session before continuing with the lab.
The objective of this lab is to create a priority inversion and to verify that it is happening. Then, the priority protection features will be added to the Mutex being used and the results will be verified.
Need more help? The full source code for this lab can be found in the 'Lab Source Code' folder here.