User Tools

Site Tools


lab2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
lab2 [2010/02/25 00:22] natalialab2 [2010/03/19 12:50] (current) natalia
Line 200: Line 200:
 == OSSemPendAbort == == OSSemPendAbort ==
 OSSemPendAbort function aborts & readies any tasks currently waiting on a semaphore. This function should be used to fault-abort the wait on the semaphore, rather than to normally signal the semaphore via OSSemPost(). OSSemPendAbort function aborts & readies any tasks currently waiting on a semaphore. This function should be used to fault-abort the wait on the semaphore, rather than to normally signal the semaphore via OSSemPost().
- 
 ==== Prelab studies ==== ==== Prelab studies ====
 Please make sure to read and understand the license agreements listed below: Please make sure to read and understand the license agreements listed below:
Line 215: Line 214:
   * {{:an1005_inter-process_communication_.pdf}}   * {{:an1005_inter-process_communication_.pdf}}
   * {{:an1007a_c_os-ii_and_event_flags_.pdf}}   * {{:an1007a_c_os-ii_and_event_flags_.pdf}}
 +  * {{:ucos-ii-cfgman.pdf}}
 +
  
 ==== Evaluation ==== ==== Evaluation ====
Line 222: Line 223:
   - Write a pseudo code using μC/OS-II to create two tasks and protect their critical sections that is accessing a common variable called XYZ.   - Write a pseudo code using μC/OS-II to create two tasks and protect their critical sections that is accessing a common variable called XYZ.
   - In your own words, explain how multitasking is achieved in the μC/OS-II (pay special attention to os_cpu_a.s)?   - In your own words, explain how multitasking is achieved in the μC/OS-II (pay special attention to os_cpu_a.s)?
 +
 +==== Resources =====
 +  * {{:serialmonitor.zip}}
lab2.txt · Last modified: 2010/03/19 12:50 by natalia