SlideShare a Scribd company logo
RTOS
A basic Insight
FreeRTOS Introduction:
● FreeRTOS is solely owned, developed and maintained by Real Time
Engineers Ltd.
● Real Time engineers working in close partnership with world’s leading chip
companies to provide you award winning, commercial grade and completely
free high quality software.
● FreeRTOS is ideally suited to deeply embedded real-time applications that
use microcontrollers or small microprocessor.
What is freeRTOS?
● FreeRTOS is real time kernel(or real time scheduler) on top of which
embedded application can be built to meet their hard real-time requirements.
● It allows applications to be organized as collection of independent threads of
execution.
● For a single core processor, only a single thread(or Task) can be executed by
at one time.
● The kernel decides which thread should be executing based on priority and
requirements assigned to each thread by application designer.
Why use freeRTOS(Real Time Kernel)?
● Simple embedded software can be written without the use of kernel, but in
terms of complex cases, using a kernel is more preferable.
● Abstracting away timing information - kernel takes responsibility of
executing timing and provides a time related API to the application. This
allows structure of application to be simpler & smaller.
● Maintainability/Extensibility - Abstracting away timing information leads to
fewer inter dependencies between modules which allows software to be
evolved in controlled and predictable way.
● Modularity - Tasks are independent modules
● Team development - Allowing easier team development with well defined
interfaces.
● Easier testing - Easier testing because of independent task modules.
Why use freeRTOS(Real Time Kernel)?
● Code reuse - Great modularity & Fewer Interdependencies, result in code
reuse.
● Improved efficiency - Code executes only when there is something that
must be done, no polling for events that have not occurred which means
kernel allows software to be event driven. Counter to efficiency saving is the
need to process RTOS Tick Interrupt and to switch execution from one task to
another.
● Idle time - Idle task is created automatically when scheduler is started. It
executes whenever there are no application tasks wishing to execute.
○ The idle task can be used to measure spare processing capacity to perform background
checks, or to simply place the processor in low power mode.
Why use freeRTOS(Real Time Kernel)?
● Power Management - efficiency is gained in low power mode which allows
the processor to spend more time in low power mode.
○ Free RTOS Tickless mode - it allows the processor to enter low power
mode for longer time.
● Flexible interrupt handling - Interrupt handlers can be kept very short by
deferring processing to either a task created by the application writer.
● Mixed processing requirements - Simple patterns can be achieve a mix of
specific, continuous and event driven processing with an application.
○ In addition hard and soft real time requirements can be met by selecting
appropriate task and interrupt priorities.
Types of requirements
● Hard Real Time Requirements:
○ Hard Real time Requirements are those that state a time deadline and
breaching the deadline would result in absolute failure of the system.
■ E.g. Delay in a driver’s airbag can potentially harm, if it give slow
response to crash detection sensor.
● Soft Real Time Requirements
○ Soft Real Time requirements are those that a state a time deadline, but
breaching the deadline would not render the system useless.
■ E.g. Responding to keystrokes too slowly might make a system
seem annoying unresponsive without actually making it unusable.
RTOS Features:
● Pre-emptive or co-operative operation
● Very flexible task priority assignment
● Flexible, fast and lightweight task
notification mechanism
● Queues
● Binary semaphores
● Counting semaphores
● Mutexes
● Recursive Mutexes
● Software timers
● Event groups
● Tick hook functions
● Idle hook functions
● Stack overflow checking
● Trace recording
● Task run-time statistics gathering
● Optional commercial licensing and
support
● Full interrupt nesting model (for some
architectures)
● tick-less capability for extreme low
power applications
● Software managed interrupt stack
when appropriate (this can help save
RAM)
FreeRTOS Family
● Open RTOS
○ It is a commercially license version of freeRTOS provided under license from Real Time
Engineers ltd. by a third party.
● Safe RTOS
○ It shares the same usage model as FreeRTOS, but has been developed in accordance with
practices, procedures and processes necessary to claim compliance with various
internationally recognized safety related standards.
Ad

More Related Content

What's hot (20)

Introduction to stm32-part2
Introduction to stm32-part2Introduction to stm32-part2
Introduction to stm32-part2
Amr Ali (ISTQB CTAL Full, CSM, ITIL Foundation)
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller
Mahmoud Sadat
 
Clock driven scheduling
Clock driven schedulingClock driven scheduling
Clock driven scheduling
Kamal Acharya
 
SWARM INTELLIGENCE
SWARM INTELLIGENCESWARM INTELLIGENCE
SWARM INTELLIGENCE
VeenaMadhuriGundapun
 
Ec8791 lpc2148 timer unit
Ec8791 lpc2148 timer unitEc8791 lpc2148 timer unit
Ec8791 lpc2148 timer unit
RajalakshmiSermadurai
 
Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded Systems
Sudhanshu Janwadkar
 
Rtos Concepts
Rtos ConceptsRtos Concepts
Rtos Concepts
Sundaresan Sundar
 
Presentation on embedded system by abhishek sharma
Presentation on embedded system by abhishek sharmaPresentation on embedded system by abhishek sharma
Presentation on embedded system by abhishek sharma
AbhishekSharma2517
 
Salient featurs of 80386
Salient featurs of 80386Salient featurs of 80386
Salient featurs of 80386
aviban
 
E.s unit 4 and 5
E.s unit 4 and 5E.s unit 4 and 5
E.s unit 4 and 5
Sneha Chopra
 
FreeRTOS
FreeRTOSFreeRTOS
FreeRTOS
Jean-Victor Famy
 
Real Time Operating System
Real Time Operating SystemReal Time Operating System
Real Time Operating System
vivek223
 
Embedded system notes
Embedded system notesEmbedded system notes
Embedded system notes
TARUN KUMAR
 
Embedded system
Embedded systemEmbedded system
Embedded system
Pankaj Upadhyay
 
Memory map selection of real time sdram controller using verilog full project...
Memory map selection of real time sdram controller using verilog full project...Memory map selection of real time sdram controller using verilog full project...
Memory map selection of real time sdram controller using verilog full project...
rahul kumar verma
 
Processor Organization
Processor OrganizationProcessor Organization
Processor Organization
Dominik Salvet
 
8086 Microprocessor
8086 Microprocessor8086 Microprocessor
8086 Microprocessor
IshworKhatiwada
 
FreeRTOS Course - Queue Management
FreeRTOS Course - Queue ManagementFreeRTOS Course - Queue Management
FreeRTOS Course - Queue Management
Amr Ali (ISTQB CTAL Full, CSM, ITIL Foundation)
 
Embedded
EmbeddedEmbedded
Embedded
Satyanarayan Shenoy
 
ARM architcture
ARM architcture ARM architcture
ARM architcture
Hossam Adel
 

Similar to FreeRTOS introduction (20)

Real Time Operating Systems for Embedded Systems
Real Time Operating Systems for Embedded SystemsReal Time Operating Systems for Embedded Systems
Real Time Operating Systems for Embedded Systems
Aditya Vichare
 
Realtime
RealtimeRealtime
Realtime
Mark Veltzer
 
TOS based Embedded system design and development
TOS based Embedded system design and developmentTOS based Embedded system design and development
TOS based Embedded system design and development
BharaniDharan195623
 
What is RTOS Step by Step Guide?
What is RTOS Step by Step Guide?What is RTOS Step by Step Guide?
What is RTOS Step by Step Guide?
IntervalZero
 
Real Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systemsReal Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systems
Hariharan Ganesan
 
rtosbyshibu-131026100746-phpapp01.pdf
rtosbyshibu-131026100746-phpapp01.pdfrtosbyshibu-131026100746-phpapp01.pdf
rtosbyshibu-131026100746-phpapp01.pdf
reemasajin1
 
PRESENTATION ON PLC AND SCADA
PRESENTATION ON PLC AND SCADAPRESENTATION ON PLC AND SCADA
PRESENTATION ON PLC AND SCADA
AnandKumarJha33
 
Real Time Operating Systems, Dynamic Precision: Exploring the Realm of Real-...
Real Time Operating Systems,  Dynamic Precision: Exploring the Realm of Real-...Real Time Operating Systems,  Dynamic Precision: Exploring the Realm of Real-...
Real Time Operating Systems, Dynamic Precision: Exploring the Realm of Real-...
Adobe2801
 
Rtos by shibu
Rtos by shibuRtos by shibu
Rtos by shibu
Shibu Krishnan
 
Real time operating system
Real time operating systemReal time operating system
Real time operating system
Kamran Khan
 
The Free RTOS kernel By Khaled AMIRAT
The Free RTOS kernel    By Khaled AMIRATThe Free RTOS kernel    By Khaled AMIRAT
The Free RTOS kernel By Khaled AMIRAT
Khaled AMIRAT
 
21-Classification of Real time system-12-02-2025.ppt
21-Classification of Real time system-12-02-2025.ppt21-Classification of Real time system-12-02-2025.ppt
21-Classification of Real time system-12-02-2025.ppt
whello732
 
Real time operating system
Real time operating systemReal time operating system
Real time operating system
Khuram Shahzad
 
Real time system basic concept
Real time system basic conceptReal time system basic concept
Real time system basic concept
MOUMITA GHOSH
 
Embedded system software
Embedded system softwareEmbedded system software
Embedded system software
Jamia Hamdard
 
Testing real-time Linux. What to test and how
Testing real-time Linux. What to test and how Testing real-time Linux. What to test and how
Testing real-time Linux. What to test and how
Chirag Jog
 
Autosar Basics hand book_v1
Autosar Basics  hand book_v1Autosar Basics  hand book_v1
Autosar Basics hand book_v1
Keroles karam khalil
 
Four Ways to Improve Linux Performance IEEE Webinar, R2.0
Four Ways to Improve Linux Performance IEEE Webinar, R2.0Four Ways to Improve Linux Performance IEEE Webinar, R2.0
Four Ways to Improve Linux Performance IEEE Webinar, R2.0
Michael Christofferson
 
DYNAMIC HW PRIORITY QUEUE BASED SCHEDULERS FOR EMBEDDED SYSTEM
DYNAMIC HW PRIORITY QUEUE BASED SCHEDULERS FOR EMBEDDED SYSTEMDYNAMIC HW PRIORITY QUEUE BASED SCHEDULERS FOR EMBEDDED SYSTEM
DYNAMIC HW PRIORITY QUEUE BASED SCHEDULERS FOR EMBEDDED SYSTEM
ijesajournal
 
Dynamic HW Priority Queue Based Schedulers for Embedded System
Dynamic HW Priority Queue Based Schedulers for Embedded SystemDynamic HW Priority Queue Based Schedulers for Embedded System
Dynamic HW Priority Queue Based Schedulers for Embedded System
ijesajournal
 
Real Time Operating Systems for Embedded Systems
Real Time Operating Systems for Embedded SystemsReal Time Operating Systems for Embedded Systems
Real Time Operating Systems for Embedded Systems
Aditya Vichare
 
TOS based Embedded system design and development
TOS based Embedded system design and developmentTOS based Embedded system design and development
TOS based Embedded system design and development
BharaniDharan195623
 
What is RTOS Step by Step Guide?
What is RTOS Step by Step Guide?What is RTOS Step by Step Guide?
What is RTOS Step by Step Guide?
IntervalZero
 
Real Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systemsReal Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systems
Hariharan Ganesan
 
rtosbyshibu-131026100746-phpapp01.pdf
rtosbyshibu-131026100746-phpapp01.pdfrtosbyshibu-131026100746-phpapp01.pdf
rtosbyshibu-131026100746-phpapp01.pdf
reemasajin1
 
PRESENTATION ON PLC AND SCADA
PRESENTATION ON PLC AND SCADAPRESENTATION ON PLC AND SCADA
PRESENTATION ON PLC AND SCADA
AnandKumarJha33
 
Real Time Operating Systems, Dynamic Precision: Exploring the Realm of Real-...
Real Time Operating Systems,  Dynamic Precision: Exploring the Realm of Real-...Real Time Operating Systems,  Dynamic Precision: Exploring the Realm of Real-...
Real Time Operating Systems, Dynamic Precision: Exploring the Realm of Real-...
Adobe2801
 
Real time operating system
Real time operating systemReal time operating system
Real time operating system
Kamran Khan
 
The Free RTOS kernel By Khaled AMIRAT
The Free RTOS kernel    By Khaled AMIRATThe Free RTOS kernel    By Khaled AMIRAT
The Free RTOS kernel By Khaled AMIRAT
Khaled AMIRAT
 
21-Classification of Real time system-12-02-2025.ppt
21-Classification of Real time system-12-02-2025.ppt21-Classification of Real time system-12-02-2025.ppt
21-Classification of Real time system-12-02-2025.ppt
whello732
 
Real time operating system
Real time operating systemReal time operating system
Real time operating system
Khuram Shahzad
 
Real time system basic concept
Real time system basic conceptReal time system basic concept
Real time system basic concept
MOUMITA GHOSH
 
Embedded system software
Embedded system softwareEmbedded system software
Embedded system software
Jamia Hamdard
 
Testing real-time Linux. What to test and how
Testing real-time Linux. What to test and how Testing real-time Linux. What to test and how
Testing real-time Linux. What to test and how
Chirag Jog
 
Four Ways to Improve Linux Performance IEEE Webinar, R2.0
Four Ways to Improve Linux Performance IEEE Webinar, R2.0Four Ways to Improve Linux Performance IEEE Webinar, R2.0
Four Ways to Improve Linux Performance IEEE Webinar, R2.0
Michael Christofferson
 
DYNAMIC HW PRIORITY QUEUE BASED SCHEDULERS FOR EMBEDDED SYSTEM
DYNAMIC HW PRIORITY QUEUE BASED SCHEDULERS FOR EMBEDDED SYSTEMDYNAMIC HW PRIORITY QUEUE BASED SCHEDULERS FOR EMBEDDED SYSTEM
DYNAMIC HW PRIORITY QUEUE BASED SCHEDULERS FOR EMBEDDED SYSTEM
ijesajournal
 
Dynamic HW Priority Queue Based Schedulers for Embedded System
Dynamic HW Priority Queue Based Schedulers for Embedded SystemDynamic HW Priority Queue Based Schedulers for Embedded System
Dynamic HW Priority Queue Based Schedulers for Embedded System
ijesajournal
 
Ad

Recently uploaded (20)

Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage DashboardsAdobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
BradBedford3
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
steaveroggers
 
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Eric D. Schabell
 
Adobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest VersionAdobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest Version
kashifyounis067
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Automation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath CertificateAutomation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath Certificate
VICTOR MAESTRE RAMIREZ
 
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
University of Hawai‘i at Mānoa
 
Exploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the FutureExploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the Future
ICS
 
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
Andre Hora
 
Societal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainabilitySocietal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainability
Jordi Cabot
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
FL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full VersionFL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full Version
tahirabibi60507
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)
Allon Mureinik
 
How can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptxHow can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptx
laravinson24
 
WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)
sh607827
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage DashboardsAdobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
BradBedford3
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
steaveroggers
 
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Eric D. Schabell
 
Adobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest VersionAdobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest Version
kashifyounis067
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Automation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath CertificateAutomation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath Certificate
VICTOR MAESTRE RAMIREZ
 
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
University of Hawai‘i at Mānoa
 
Exploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the FutureExploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the Future
ICS
 
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
Andre Hora
 
Societal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainabilitySocietal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainability
Jordi Cabot
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
FL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full VersionFL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full Version
tahirabibi60507
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)
Allon Mureinik
 
How can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptxHow can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptx
laravinson24
 
WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)
sh607827
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Ad

FreeRTOS introduction

  • 2. FreeRTOS Introduction: ● FreeRTOS is solely owned, developed and maintained by Real Time Engineers Ltd. ● Real Time engineers working in close partnership with world’s leading chip companies to provide you award winning, commercial grade and completely free high quality software. ● FreeRTOS is ideally suited to deeply embedded real-time applications that use microcontrollers or small microprocessor.
  • 3. What is freeRTOS? ● FreeRTOS is real time kernel(or real time scheduler) on top of which embedded application can be built to meet their hard real-time requirements. ● It allows applications to be organized as collection of independent threads of execution. ● For a single core processor, only a single thread(or Task) can be executed by at one time. ● The kernel decides which thread should be executing based on priority and requirements assigned to each thread by application designer.
  • 4. Why use freeRTOS(Real Time Kernel)? ● Simple embedded software can be written without the use of kernel, but in terms of complex cases, using a kernel is more preferable. ● Abstracting away timing information - kernel takes responsibility of executing timing and provides a time related API to the application. This allows structure of application to be simpler & smaller. ● Maintainability/Extensibility - Abstracting away timing information leads to fewer inter dependencies between modules which allows software to be evolved in controlled and predictable way. ● Modularity - Tasks are independent modules ● Team development - Allowing easier team development with well defined interfaces. ● Easier testing - Easier testing because of independent task modules.
  • 5. Why use freeRTOS(Real Time Kernel)? ● Code reuse - Great modularity & Fewer Interdependencies, result in code reuse. ● Improved efficiency - Code executes only when there is something that must be done, no polling for events that have not occurred which means kernel allows software to be event driven. Counter to efficiency saving is the need to process RTOS Tick Interrupt and to switch execution from one task to another. ● Idle time - Idle task is created automatically when scheduler is started. It executes whenever there are no application tasks wishing to execute. ○ The idle task can be used to measure spare processing capacity to perform background checks, or to simply place the processor in low power mode.
  • 6. Why use freeRTOS(Real Time Kernel)? ● Power Management - efficiency is gained in low power mode which allows the processor to spend more time in low power mode. ○ Free RTOS Tickless mode - it allows the processor to enter low power mode for longer time. ● Flexible interrupt handling - Interrupt handlers can be kept very short by deferring processing to either a task created by the application writer. ● Mixed processing requirements - Simple patterns can be achieve a mix of specific, continuous and event driven processing with an application. ○ In addition hard and soft real time requirements can be met by selecting appropriate task and interrupt priorities.
  • 7. Types of requirements ● Hard Real Time Requirements: ○ Hard Real time Requirements are those that state a time deadline and breaching the deadline would result in absolute failure of the system. ■ E.g. Delay in a driver’s airbag can potentially harm, if it give slow response to crash detection sensor. ● Soft Real Time Requirements ○ Soft Real Time requirements are those that a state a time deadline, but breaching the deadline would not render the system useless. ■ E.g. Responding to keystrokes too slowly might make a system seem annoying unresponsive without actually making it unusable.
  • 8. RTOS Features: ● Pre-emptive or co-operative operation ● Very flexible task priority assignment ● Flexible, fast and lightweight task notification mechanism ● Queues ● Binary semaphores ● Counting semaphores ● Mutexes ● Recursive Mutexes ● Software timers ● Event groups ● Tick hook functions ● Idle hook functions ● Stack overflow checking ● Trace recording ● Task run-time statistics gathering ● Optional commercial licensing and support ● Full interrupt nesting model (for some architectures) ● tick-less capability for extreme low power applications ● Software managed interrupt stack when appropriate (this can help save RAM)
  • 9. FreeRTOS Family ● Open RTOS ○ It is a commercially license version of freeRTOS provided under license from Real Time Engineers ltd. by a third party. ● Safe RTOS ○ It shares the same usage model as FreeRTOS, but has been developed in accordance with practices, procedures and processes necessary to claim compliance with various internationally recognized safety related standards.