E-book details

Hands-On RTOS with Microcontrollers. Building real-time embedded systems using FreeRTOS, STM32 MCUs, and SEGGER debug tools

Hands-On RTOS with Microcontrollers. Building real-time embedded systems using FreeRTOS, STM32 MCUs, and SEGGER debug tools

Brian Amos

Ebook
A real-time operating system (RTOS) is used to develop systems that respond to events within strict timelines. Real-time embedded systems have applications in various industries, from automotive and aerospace through to laboratory test equipment and consumer electronics. These systems provide consistent and reliable timing and are designed to run without intervention for years.







This microcontrollers book starts by introducing you to the concept of RTOS and compares some other alternative methods for achieving real-time performance. Once you've understood the fundamentals, such as tasks, queues, mutexes, and semaphores, you'll learn what to look for when selecting a microcontroller and development environment. By working through examples that use an STM32F7 Nucleo board, the STM32CubeIDE, and SEGGER debug tools, including SEGGER J-Link, Ozone, and SystemView, you'll gain an understanding of preemptive scheduling policies and task communication. The book will then help you develop highly efficient low-level drivers and analyze their real-time performance and CPU utilization. Finally, you'll cover tips for troubleshooting and be able to take your new-found skills to the next level.







By the end of this book, you'll have built on your embedded system skills and will be able to create real-time systems using microcontrollers and FreeRTOS.
  • 1. Introducing Real-Time Systems
  • 2. Understanding RTOS Tasks
  • 3. Task Signaling and Communication Mechanisms
  • 4. Selecting the Right MCU
  • 5. Selecting an IDE
  • 6. Debugging Tools for Real-Time Systems
  • 7. The FreeRTOS Scheduler
  • 8. Protecting Data and Synchronizing Tasks
  • 9. Intertask Communication
  • 10. Drivers and ISRs
  • 11. Sharing Hardware Peripherals across Tasks
  • 12. Tips for Creating a Well-Abstracted Architecture
  • 13. Creating Loose Coupling with Queues
  • 14. Choosing an RTOS API
  • 15. FreeRTOS Memory Management
  • 16. Multi-Processor and Multi-Core Systems
  • 17. Troubleshooting Tips and Next Steps
  • Title: Hands-On RTOS with Microcontrollers. Building real-time embedded systems using FreeRTOS, STM32 MCUs, and SEGGER debug tools
  • Author: Brian Amos
  • Original title: Hands-On RTOS with Microcontrollers. Building real-time embedded systems using FreeRTOS, STM32 MCUs, and SEGGER debug tools
  • ISBN: 9781838829285, 9781838829285
  • Date of issue: 2020-05-15
  • Format: Ebook
  • Item ID: e_2ad0
  • Publisher: Packt Publishing