Book description
Embedded RTOS Design: Insights and Implementation combines explanations of RTOS concepts with detailed, practical implementation. It gives a detailed description of the implementation of a basic real-time kernel designed to be limited in scope and simple to understand, which could be used for a real design of modest complexity. The kernel features upward-compatibility to a commercial real-time operating system: Nucleus RTOS. Code is provided which can be used without restriction.
Gain practical information on:
- Scheduling, preemption, and interrupts
- Information flow (queues, semaphores, etc.) and how they work
- Signaling between tasks (signals, events, etc.)
- Memory management (Where does each task get its stack from? What happens if the stack overflows?)
- The CPU context: storage and retrieval after a context switch
With this book you will be able to:
- Utilize a basic real-time kernel to develop your own prototype
- Design RTOS features
- Understand the facilities of a commercial RTOS
- Explains the principles of RTOS and shows their practical implementation
- Demonstrates how to prototype a real-time design
- Code is fully available for free use
Table of contents
- Cover image
- Title page
- Table of Contents
- Copyright
- Dedication
- Foreword
- Preface
- 1. Program structure and real time
-
2. Multitasking and scheduling
- Abstract
- Tasks, threads, and processes
- Schedulers
- Run to completion scheduler
- Round robin scheduler
- Time slice scheduler
- Priority scheduler
- Composite scheduler
- Task states
- Task suspend
- Other task states
- Task identifiers
- The context switch
- What is a task?
- Saving context
- Dynamic task creation
- Requirements for dynamic task creation
- Implications of dynamic task creation
- Interrupts
- Interrupts and the kernel
- Context save
- Interrupts and the scheduler
- Tick clock
- 3. RTOS services and facilities
- 4. Nucleus SE
- 5. The scheduler
- 6. Tasks
- 7. Partition memory
- 8. Signals
- 9. Event flag groups
- 10. Semaphores
- 11. Mailboxes
- 12. Queues
- 13. Pipes
- 14. System time
- 15. Application timers
- 16. Interrupts in Nucleus SE
- 17. Nucleus SE initialization and start-up
- 18. Diagnostics and error checking
- 19. Unimplemented facilities and compatibility
- 20. Using Nucleus SE
- 21. Nucleus SE reference information
- Index
Product information
- Title: Embedded RTOS Design
- Author(s):
- Release date: December 2020
- Publisher(s): Newnes
- ISBN: 9780128228524
You might also like
book
Practical Perforce
When developers build software, they're able to keep track of all the different versions and all …
book
Advanced Mathematics
Provides a smooth and pleasant transition from first-year calculus to upper-level mathematics courses in real analysis, …
book
ARM® Cortex® M4 Cookbook
Over 50 hands-on recipes that will help you develop amazing real-time applications using GPIO, RS232, ADC, …
book
Python Crash Course, 3rd Edition
Python Crash Course is the world's best-selling guide to the Python guide programming language, with over …