SlideShare a Scribd company logo
1 of 19
COMPARISON OF RTOS
III YEAR EEE
EE 8691- EMBEDDED SYSTEMS
UNIT-4
K.BALAJI , AP/ECE, SSMCE
COMPARISON OF RTOS
VxWorks - RTOS
• VxWorks is a Hard Real Time ,
Multitasking RTOS from Wind River
Systems
• Compatible with POSIX standard Task
Scheduling
• Supports Intel-x86, ARM,MIPS,Power PC
• Kernel is called as WIND
• Supports Multicore Design
K.BALAJI , AP/ECE, SSMCE
VxWorks - RTOS
• APPLICATION: AEROSPACE,
DEFENSE,ROBOTICS,INDUSTRIAL
• IPC Using Queue,
sockets,Pipes,Signals
• Synchronisation using Semaphore
K.BALAJI , AP/ECE, SSMCE
VxWorks - RTOS
TASK CREATION & MANAGEMENT
• READY: Ready for executionn, waiting to
get CPU time
• PEND: Task in the Blocked State,
(waiting for resources)
• DELAY: Sleeping State
• SUSPEND: Used to halt a task for
Debugging
K.BALAJI , AP/ECE, SSMCE
VxWorks - RTOS
• TASK SCHEDULING:
– POSIX SCHEDULING FOR Process
– Wind Scheduling for Task
• Supports
– Round Robin
– Priority Based Preemption
• Interrupt Handling
– Can Handle Hardware Interrupts
K.BALAJI , AP/ECE, SSMCE
VxWorks - RTOS
• TASK SCHEDULING:
– POSIX SCHEDULING FOR Process
– Wind Scheduling for Task
• Supports
– Round Robin
– Priority Based Preemption
• Interrupt Handling
– Can Handle Hardware Interrupts
K.BALAJI , AP/ECE, SSMCE
VxWorks - RTOS
• WATCH DOG TIMER
–WdStart() Starts the Watchdog Timer when
the task is started
– Wdcancel() - to stop at any time prior to
its expiration
K.BALAJI , AP/ECE, SSMCE
VxWorks - RTOS
• TIMING & REFERENCE
– SIGNALRM The Timer runs with the system
timer tick and it generates the SIGNAL when it
expires
• DEVELOPMENT ENVIRONMENT
– Tornado II – IDE (Integrated Development
Environment)
– Contains Debugging & Simulator
– For Windows & UNIX
– Replaced by Eclipse Based IDE
K.BALAJI , AP/ECE, SSMCE
MICROC/OS-II (UC/OS-II)
• MICROC/OS-II (UC/OS-II) is a simple , easy to
use real time kernel written in C Language .
• It is a commercial RTOS from Micrium Inc
• Features:
– Multitasking
– Priority Based preemptive task scheduling
– Supports 8 Bit, 64 Bit
– Each Task is implemented as Infinite Loop
K.BALAJI , AP/ECE, SSMCE
MICROC/OS-II (UC/OS-II)
STATES:
1. DORMANT : Created , Present in Program
Memory but not moved to RAM
2. READY Task is in memory & waiting for CPU
turn
3. RUNNING executed by CPU
4. WAITING Temporarily Suspended
5. INTERRUPTED Enters ISR due to Interrupt
K.BALAJI , AP/ECE, SSMCE
MICROC/OS-II (UC/OS-II)
KERNEL INITIALISATION:
1. OSInit() :
Initialises Kernel
Creates OSIdle()- when no user task
TASK SCHEDULING
Each Task is assigned a unique priority ranging
from 0 to 63.
0- Highest Priority
K.BALAJI , AP/ECE, SSMCE
MICROC/OS-II (UC/OS-II)
IPC-
-Message Queue is used for exchanging single
message
- Mailbox associates a pointer to the mailbox
TIMING & REFERENCE
- OSTimeTick()- to service the clock tick interrupt
- OS_TICKS_PER_SEC should be set based on
required frequency
K.BALAJI , AP/ECE, SSMCE
MICROC/OS-II (UC/OS-II)
IPC-
-Message Queue is used for exchanging single
message
- Mailbox associates a pointer to the mailbox
TIMING & REFERENCE
- OSTimeTick()- to service the clock tick interrupt
- OS_TICKS_PER_SEC should be set based on
required frequency
K.BALAJI , AP/ECE, SSMCE
MEMORY MANAGEMENT
MEMORY IS DIVIDED INTO
SECTORS, BLOCKS
K.BALAJI , AP/ECE, SSMCE
• INTERRUPT HANDLING:
supports nested interrupts upto 255
• DEVELOPMENT ENVIRONMENT
• NIOS –II IDE
• ALTERA IDE
• SUPPORTS AVR,ARM,8051 CONTROLLERS
K.BALAJI , AP/ECE, SSMCE
PRIORITY INVERSION
• Priority Inversion is a CONDITION in
which a high Priority task needs to
wait for a low priority task to
release a resource, and a medium
priority task continue its execution.
K.BALAJI , AP/ECE, SSMCE
• REASON FOR PRIORITY INVERSION
• Priority Based Preemptive scheduling ensure
that a High Priority task is always executed
first.
• But Lock based Synchronisation mechanism
ensures that a process will not access a shared
resource which is currently in use by another
process.
K.BALAJI , AP/ECE, SSMCE
PRIORITY INHERITANCE
• Priority Inheritance is a METHOD TO AVOID
PRIORITY INVERSION PROBLEM
• In Priority Inheritance , the priority of the task
which is accessing the shared resource is
raised temporarily
• This eliminates the preemption of the low
priority task by other tasks
• The temporarily boosted priority is brought to
original value
K.BALAJI , AP/ECE, SSMCE
REFERENCES:
1. Raj Kamal, ‘Embedded System-Architecture,
Programming, Design’, Mc Graw Hill, 2013.
2. Dr.G.Ram Prabhu, Embedded Systems
K.BALAJI , AP/ECE, SSMCE

More Related Content

What's hot

CCNA link aggregation
CCNA  link aggregationCCNA  link aggregation
CCNA link aggregationNetworkel
 
EIGRP Routing Protocols
EIGRP Routing ProtocolsEIGRP Routing Protocols
EIGRP Routing Protocolssul6an14
 
CCNA EIGRP Overview and Basic Configuration
CCNA EIGRP Overview and Basic ConfigurationCCNA EIGRP Overview and Basic Configuration
CCNA EIGRP Overview and Basic ConfigurationNetworkel
 
Ccna routing and switching
Ccna routing and switchingCcna routing and switching
Ccna routing and switchingCRIS FERNANDEZ
 
What I do - 2018
What I do - 2018What I do - 2018
What I do - 2018Mark Landry
 
Disaggregation in PON networks - Part 2 - SDN PON
Disaggregation in PON networks - Part 2  - SDN PONDisaggregation in PON networks - Part 2  - SDN PON
Disaggregation in PON networks - Part 2 - SDN PONRavi Sharma
 
CCNA Access Control Lists
CCNA Access Control ListsCCNA Access Control Lists
CCNA Access Control ListsNetworkel
 
Introduction about APB Protocol
Introduction about APB ProtocolIntroduction about APB Protocol
Introduction about APB ProtocolPushpa Yakkala
 
AMBA 3 APB Protocol
AMBA 3 APB ProtocolAMBA 3 APB Protocol
AMBA 3 APB ProtocolSwetha GSM
 
CCNA Routing Basics
CCNA Routing BasicsCCNA Routing Basics
CCNA Routing BasicsNetworkel
 
Serial connectors, Protocols , USB (universal serial bus)
Serial connectors, Protocols , USB (universal serial bus)Serial connectors, Protocols , USB (universal serial bus)
Serial connectors, Protocols , USB (universal serial bus)A. Shamel
 
Eigrp frequently asked questions
Eigrp frequently asked questionsEigrp frequently asked questions
Eigrp frequently asked questionsIT Tech
 
CCNA point to point
CCNA  point to pointCCNA  point to point
CCNA point to pointNetworkel
 

What's hot (20)

Eigrp.ppt
Eigrp.pptEigrp.ppt
Eigrp.ppt
 
CCNA link aggregation
CCNA  link aggregationCCNA  link aggregation
CCNA link aggregation
 
Iuwne10 S01 L09
Iuwne10 S01 L09Iuwne10 S01 L09
Iuwne10 S01 L09
 
EIGRP Routing Protocols
EIGRP Routing ProtocolsEIGRP Routing Protocols
EIGRP Routing Protocols
 
Iuwne10 S02 L03
Iuwne10 S02 L03Iuwne10 S02 L03
Iuwne10 S02 L03
 
Iuwne10 S02 L07
Iuwne10 S02 L07Iuwne10 S02 L07
Iuwne10 S02 L07
 
CCNA EIGRP Overview and Basic Configuration
CCNA EIGRP Overview and Basic ConfigurationCCNA EIGRP Overview and Basic Configuration
CCNA EIGRP Overview and Basic Configuration
 
Ccna routing and switching
Ccna routing and switchingCcna routing and switching
Ccna routing and switching
 
What I do - 2018
What I do - 2018What I do - 2018
What I do - 2018
 
Disaggregation in PON networks - Part 2 - SDN PON
Disaggregation in PON networks - Part 2  - SDN PONDisaggregation in PON networks - Part 2  - SDN PON
Disaggregation in PON networks - Part 2 - SDN PON
 
CCNA Access Control Lists
CCNA Access Control ListsCCNA Access Control Lists
CCNA Access Control Lists
 
Ccna2v3 mod07
Ccna2v3 mod07Ccna2v3 mod07
Ccna2v3 mod07
 
Introduction about APB Protocol
Introduction about APB ProtocolIntroduction about APB Protocol
Introduction about APB Protocol
 
AMBA 3 APB Protocol
AMBA 3 APB ProtocolAMBA 3 APB Protocol
AMBA 3 APB Protocol
 
Eigrp
EigrpEigrp
Eigrp
 
Apb
ApbApb
Apb
 
CCNA Routing Basics
CCNA Routing BasicsCCNA Routing Basics
CCNA Routing Basics
 
Serial connectors, Protocols , USB (universal serial bus)
Serial connectors, Protocols , USB (universal serial bus)Serial connectors, Protocols , USB (universal serial bus)
Serial connectors, Protocols , USB (universal serial bus)
 
Eigrp frequently asked questions
Eigrp frequently asked questionsEigrp frequently asked questions
Eigrp frequently asked questions
 
CCNA point to point
CCNA  point to pointCCNA  point to point
CCNA point to point
 

Similar to Iii eee-ee8691-embedded sys comparison of rtos

Tech Days 2015: Embedded Product Update
Tech Days 2015: Embedded Product UpdateTech Days 2015: Embedded Product Update
Tech Days 2015: Embedded Product UpdateAdaCore
 
”Bare-Metal Container" presented at HPCC2016
”Bare-Metal Container" presented at HPCC2016”Bare-Metal Container" presented at HPCC2016
”Bare-Metal Container" presented at HPCC2016Kuniyasu Suzaki
 
Best practices in Deploying SUSE CaaS Platform v3
Best practices in Deploying SUSE CaaS Platform v3Best practices in Deploying SUSE CaaS Platform v3
Best practices in Deploying SUSE CaaS Platform v3Juan Herrera Utande
 
Container Attached Storage (CAS) with OpenEBS - Berlin Kubernetes Meetup - Ma...
Container Attached Storage (CAS) with OpenEBS - Berlin Kubernetes Meetup - Ma...Container Attached Storage (CAS) with OpenEBS - Berlin Kubernetes Meetup - Ma...
Container Attached Storage (CAS) with OpenEBS - Berlin Kubernetes Meetup - Ma...OpenEBS
 
The container revolution, and what it means to operators.pptx
The container revolution, and what it means to operators.pptxThe container revolution, and what it means to operators.pptx
The container revolution, and what it means to operators.pptxRobert Starmer
 
Sierraware ARM hypervisor
Sierraware ARM hypervisor Sierraware ARM hypervisor
Sierraware ARM hypervisor Sierraware
 
IBM's Cloud Storage Options
IBM's Cloud Storage OptionsIBM's Cloud Storage Options
IBM's Cloud Storage OptionsTony Pearson
 
The container revolution, and what it means to operators open stack southba...
The container revolution, and what it means to operators   open stack southba...The container revolution, and what it means to operators   open stack southba...
The container revolution, and what it means to operators open stack southba...Robert Starmer
 
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareLeighton Nelson
 
Dan Norris: Exadata security
Dan Norris: Exadata securityDan Norris: Exadata security
Dan Norris: Exadata securityKyle Hailey
 
State of Containers in OpenStack
State of Containers in OpenStackState of Containers in OpenStack
State of Containers in OpenStackopenstackindia
 
State of Containers in Openstack
State of Containers in OpenstackState of Containers in Openstack
State of Containers in OpenstackMadhuri Kumari
 
Hardware-assisted Isolated Execution Environment to run trusted OS and applic...
Hardware-assisted Isolated Execution Environment to run trusted OS and applic...Hardware-assisted Isolated Execution Environment to run trusted OS and applic...
Hardware-assisted Isolated Execution Environment to run trusted OS and applic...Kuniyasu Suzaki
 
EM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RACEM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RACSecure-24
 

Similar to Iii eee-ee8691-embedded sys comparison of rtos (20)

Tech Days 2015: Embedded Product Update
Tech Days 2015: Embedded Product UpdateTech Days 2015: Embedded Product Update
Tech Days 2015: Embedded Product Update
 
OSEK / VDX
OSEK / VDXOSEK / VDX
OSEK / VDX
 
Vx works RTOS
Vx works RTOSVx works RTOS
Vx works RTOS
 
”Bare-Metal Container" presented at HPCC2016
”Bare-Metal Container" presented at HPCC2016”Bare-Metal Container" presented at HPCC2016
”Bare-Metal Container" presented at HPCC2016
 
Best practices in Deploying SUSE CaaS Platform v3
Best practices in Deploying SUSE CaaS Platform v3Best practices in Deploying SUSE CaaS Platform v3
Best practices in Deploying SUSE CaaS Platform v3
 
Mastering Real-time Linux
Mastering Real-time LinuxMastering Real-time Linux
Mastering Real-time Linux
 
Container Attached Storage (CAS) with OpenEBS - Berlin Kubernetes Meetup - Ma...
Container Attached Storage (CAS) with OpenEBS - Berlin Kubernetes Meetup - Ma...Container Attached Storage (CAS) with OpenEBS - Berlin Kubernetes Meetup - Ma...
Container Attached Storage (CAS) with OpenEBS - Berlin Kubernetes Meetup - Ma...
 
The container revolution, and what it means to operators.pptx
The container revolution, and what it means to operators.pptxThe container revolution, and what it means to operators.pptx
The container revolution, and what it means to operators.pptx
 
Attack on the Core
Attack on the CoreAttack on the Core
Attack on the Core
 
AMIS Oracle OpenWorld 2015 Review – part 2- Hardware & IaaS and PaaS Cloud Fo...
AMIS Oracle OpenWorld 2015 Review – part 2- Hardware & IaaS and PaaS Cloud Fo...AMIS Oracle OpenWorld 2015 Review – part 2- Hardware & IaaS and PaaS Cloud Fo...
AMIS Oracle OpenWorld 2015 Review – part 2- Hardware & IaaS and PaaS Cloud Fo...
 
Sierraware ARM hypervisor
Sierraware ARM hypervisor Sierraware ARM hypervisor
Sierraware ARM hypervisor
 
IBM's Cloud Storage Options
IBM's Cloud Storage OptionsIBM's Cloud Storage Options
IBM's Cloud Storage Options
 
ucOS
ucOSucOS
ucOS
 
The container revolution, and what it means to operators open stack southba...
The container revolution, and what it means to operators   open stack southba...The container revolution, and what it means to operators   open stack southba...
The container revolution, and what it means to operators open stack southba...
 
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
 
Dan Norris: Exadata security
Dan Norris: Exadata securityDan Norris: Exadata security
Dan Norris: Exadata security
 
State of Containers in OpenStack
State of Containers in OpenStackState of Containers in OpenStack
State of Containers in OpenStack
 
State of Containers in Openstack
State of Containers in OpenstackState of Containers in Openstack
State of Containers in Openstack
 
Hardware-assisted Isolated Execution Environment to run trusted OS and applic...
Hardware-assisted Isolated Execution Environment to run trusted OS and applic...Hardware-assisted Isolated Execution Environment to run trusted OS and applic...
Hardware-assisted Isolated Execution Environment to run trusted OS and applic...
 
EM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RACEM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RAC
 

Recently uploaded

Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsMathias Magdowski
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Ramkumar k
 
☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...
☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...
☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...mikehavy0
 
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书c3384a92eb32
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfJNTUA
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxMustafa Ahmed
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxMustafa Ahmed
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docxrahulmanepalli02
 
Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...IJECEIAES
 
Databricks Generative AI Fundamentals .pdf
Databricks Generative AI Fundamentals  .pdfDatabricks Generative AI Fundamentals  .pdf
Databricks Generative AI Fundamentals .pdfVinayVadlagattu
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...josephjonse
 
History of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & ModernizationHistory of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & ModernizationEmaan Sharma
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxKarpagam Institute of Teechnology
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxMustafa Ahmed
 
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...AshwaniAnuragi1
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashidFaiyazSheikh
 
Presentation on Slab, Beam, Column, and Foundation/Footing
Presentation on Slab,  Beam, Column, and Foundation/FootingPresentation on Slab,  Beam, Column, and Foundation/Footing
Presentation on Slab, Beam, Column, and Foundation/FootingEr. Suman Jyoti
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelDrAjayKumarYadav4
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Stationsiddharthteach18
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...IJECEIAES
 

Recently uploaded (20)

Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility Applications
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...
☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...
☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...
 
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
 
Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...
 
Databricks Generative AI Fundamentals .pdf
Databricks Generative AI Fundamentals  .pdfDatabricks Generative AI Fundamentals  .pdf
Databricks Generative AI Fundamentals .pdf
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
History of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & ModernizationHistory of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & Modernization
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptx
 
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded Systems
 
Presentation on Slab, Beam, Column, and Foundation/Footing
Presentation on Slab,  Beam, Column, and Foundation/FootingPresentation on Slab,  Beam, Column, and Foundation/Footing
Presentation on Slab, Beam, Column, and Foundation/Footing
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata Model
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Station
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...
 

Iii eee-ee8691-embedded sys comparison of rtos

  • 1. COMPARISON OF RTOS III YEAR EEE EE 8691- EMBEDDED SYSTEMS UNIT-4 K.BALAJI , AP/ECE, SSMCE
  • 2. COMPARISON OF RTOS VxWorks - RTOS • VxWorks is a Hard Real Time , Multitasking RTOS from Wind River Systems • Compatible with POSIX standard Task Scheduling • Supports Intel-x86, ARM,MIPS,Power PC • Kernel is called as WIND • Supports Multicore Design K.BALAJI , AP/ECE, SSMCE
  • 3. VxWorks - RTOS • APPLICATION: AEROSPACE, DEFENSE,ROBOTICS,INDUSTRIAL • IPC Using Queue, sockets,Pipes,Signals • Synchronisation using Semaphore K.BALAJI , AP/ECE, SSMCE
  • 4. VxWorks - RTOS TASK CREATION & MANAGEMENT • READY: Ready for executionn, waiting to get CPU time • PEND: Task in the Blocked State, (waiting for resources) • DELAY: Sleeping State • SUSPEND: Used to halt a task for Debugging K.BALAJI , AP/ECE, SSMCE
  • 5. VxWorks - RTOS • TASK SCHEDULING: – POSIX SCHEDULING FOR Process – Wind Scheduling for Task • Supports – Round Robin – Priority Based Preemption • Interrupt Handling – Can Handle Hardware Interrupts K.BALAJI , AP/ECE, SSMCE
  • 6. VxWorks - RTOS • TASK SCHEDULING: – POSIX SCHEDULING FOR Process – Wind Scheduling for Task • Supports – Round Robin – Priority Based Preemption • Interrupt Handling – Can Handle Hardware Interrupts K.BALAJI , AP/ECE, SSMCE
  • 7. VxWorks - RTOS • WATCH DOG TIMER –WdStart() Starts the Watchdog Timer when the task is started – Wdcancel() - to stop at any time prior to its expiration K.BALAJI , AP/ECE, SSMCE
  • 8. VxWorks - RTOS • TIMING & REFERENCE – SIGNALRM The Timer runs with the system timer tick and it generates the SIGNAL when it expires • DEVELOPMENT ENVIRONMENT – Tornado II – IDE (Integrated Development Environment) – Contains Debugging & Simulator – For Windows & UNIX – Replaced by Eclipse Based IDE K.BALAJI , AP/ECE, SSMCE
  • 9. MICROC/OS-II (UC/OS-II) • MICROC/OS-II (UC/OS-II) is a simple , easy to use real time kernel written in C Language . • It is a commercial RTOS from Micrium Inc • Features: – Multitasking – Priority Based preemptive task scheduling – Supports 8 Bit, 64 Bit – Each Task is implemented as Infinite Loop K.BALAJI , AP/ECE, SSMCE
  • 10. MICROC/OS-II (UC/OS-II) STATES: 1. DORMANT : Created , Present in Program Memory but not moved to RAM 2. READY Task is in memory & waiting for CPU turn 3. RUNNING executed by CPU 4. WAITING Temporarily Suspended 5. INTERRUPTED Enters ISR due to Interrupt K.BALAJI , AP/ECE, SSMCE
  • 11. MICROC/OS-II (UC/OS-II) KERNEL INITIALISATION: 1. OSInit() : Initialises Kernel Creates OSIdle()- when no user task TASK SCHEDULING Each Task is assigned a unique priority ranging from 0 to 63. 0- Highest Priority K.BALAJI , AP/ECE, SSMCE
  • 12. MICROC/OS-II (UC/OS-II) IPC- -Message Queue is used for exchanging single message - Mailbox associates a pointer to the mailbox TIMING & REFERENCE - OSTimeTick()- to service the clock tick interrupt - OS_TICKS_PER_SEC should be set based on required frequency K.BALAJI , AP/ECE, SSMCE
  • 13. MICROC/OS-II (UC/OS-II) IPC- -Message Queue is used for exchanging single message - Mailbox associates a pointer to the mailbox TIMING & REFERENCE - OSTimeTick()- to service the clock tick interrupt - OS_TICKS_PER_SEC should be set based on required frequency K.BALAJI , AP/ECE, SSMCE
  • 14. MEMORY MANAGEMENT MEMORY IS DIVIDED INTO SECTORS, BLOCKS K.BALAJI , AP/ECE, SSMCE
  • 15. • INTERRUPT HANDLING: supports nested interrupts upto 255 • DEVELOPMENT ENVIRONMENT • NIOS –II IDE • ALTERA IDE • SUPPORTS AVR,ARM,8051 CONTROLLERS K.BALAJI , AP/ECE, SSMCE
  • 16. PRIORITY INVERSION • Priority Inversion is a CONDITION in which a high Priority task needs to wait for a low priority task to release a resource, and a medium priority task continue its execution. K.BALAJI , AP/ECE, SSMCE
  • 17. • REASON FOR PRIORITY INVERSION • Priority Based Preemptive scheduling ensure that a High Priority task is always executed first. • But Lock based Synchronisation mechanism ensures that a process will not access a shared resource which is currently in use by another process. K.BALAJI , AP/ECE, SSMCE
  • 18. PRIORITY INHERITANCE • Priority Inheritance is a METHOD TO AVOID PRIORITY INVERSION PROBLEM • In Priority Inheritance , the priority of the task which is accessing the shared resource is raised temporarily • This eliminates the preemption of the low priority task by other tasks • The temporarily boosted priority is brought to original value K.BALAJI , AP/ECE, SSMCE
  • 19. REFERENCES: 1. Raj Kamal, ‘Embedded System-Architecture, Programming, Design’, Mc Graw Hill, 2013. 2. Dr.G.Ram Prabhu, Embedded Systems K.BALAJI , AP/ECE, SSMCE