Chap_10Lesson11EmsysNewOSEK

mcgraw hill inc 14 osek os features four type of

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: n. It is called ECC 1 (Extended Conformance Class 1) 2008 Chapter-10 L11: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 14 OSEK-OS features Four Type of Tasks definitions … Extended task means, for example, a task created by FirstTask in Example 9.17. • Basic with multiple tasks of each priority and multiple times activation during run. It is called BCC 2. 2008 Chapter-10 L11: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 15 OSEK-OS features Four Type of Tasks definitions … • Extended with multiple tasks of each priority and multiple times activation during run. It is called ECC 2. 2008 Chapter-10 L11: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 16 OSEK-OS features … • OS schedules ISRs and tasks in distinct ways. [VxWorks scheduler also does so]. • Interrupt system disables at the beginning of the service routine and enables on return. This lets the task run in real-time environment. 2008 Chapter-10 L11: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 17 OSEK-OS features … • Task can consist of three type of objects, event (semaphore), resource (statements and functions) and devices. A port device exemplary device object alarm- Displays the pictograms, messages and flashing messages as well as sounds buzzer and beeps. 2008 Chapter-10 L11: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 18 OSEK-OS features … • Task can be scheduled in real-time. • Timer, task or semaphore objects runtime creation and deletion cannot be allowed. A run-time bug may lead to uncalled deletion of a timer or semaphore. That is the potential source of problem and thus unreliable. 2008 Chapter-10 L11: "Embedded Systems -...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online