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

Brian Amos

  • 出版商: Packt Publishing
  • 出版日期: 2020-05-15
  • 售價: $2,760
  • 貴賓價: 9.5$2,622
  • 語言: 英文
  • 頁數: 496
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1838826734
  • ISBN-13: 9781838826734
  • 相關分類: 嵌入式系統單晶片STM32
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Build a strong foundation in designing and implementing real-time systems with the help of practical examples

Key Features

  • Get up and running with the fundamentals of RTOS and apply them on STM32
  • Enhance your programming skills to design and build real-world embedded systems
  • Get to grips with advanced techniques for implementing embedded systems

Book Description

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.

What you will learn

  • Understand when to use an RTOS for a project
  • Explore RTOS concepts such as tasks, mutexes, semaphores, and queues
  • Discover different microcontroller units (MCUs) and choose the best one for your project
  • Evaluate and select the best IDE and middleware stack for your project
  • Use professional-grade tools for analyzing and debugging your application
  • Get FreeRTOS-based applications up and running on an STM32 board

Who this book is for

This book is for embedded engineers, students, or anyone interested in learning the complete RTOS feature set with embedded devices. A basic understanding of the C programming language and embedded systems or microcontrollers will be helpful.

商品描述(中文翻譯)

建立一個堅實的基礎,並透過實際範例設計和實施即時系統

主要特點:
- 瞭解即時作業系統(RTOS)的基礎並在STM32上應用
- 提升程式設計技巧,設計和建立實際的嵌入式系統
- 掌握實施嵌入式系統的高級技術

書籍描述:
即時嵌入式系統是用於開發在嚴格時間限制內對事件做出反應的系統。即時嵌入式系統在各個行業中都有應用,從汽車和航空航天到實驗室測試設備和消費電子產品。這些系統提供一致可靠的定時,並設計成可以在多年內無需干預運行。

本書首先介紹了RTOS的概念,並比較了其他實現實時性能的替代方法。一旦您瞭解了任務、隊列、互斥鎖和信號量等基礎知識,您將學習如何選擇適合的微控制器和開發環境。通過使用STM32F7 Nucleo板、STM32CubeIDE和SEGGER調試工具(包括SEGGER J-Link、Ozone和SystemView)的實例,您將瞭解抢占式調度策略和任務通信。本書還將幫助您開發高效的低層驅動程序並分析其實時性能和CPU利用率。最後,您將學習疑難排解的技巧,並能夠將您新獲得的技能提升到更高的水平。

通過閱讀本書,您將在嵌入式系統技能上有所提升,並能夠使用微控制器和FreeRTOS創建實時系統。

您將學到:
- 瞭解何時在項目中使用RTOS
- 探索RTOS的概念,如任務、互斥鎖、信號量和隊列
- 瞭解不同的微控制器單元(MCUs)並選擇最適合您項目的微控制器
- 評估並選擇最佳的IDE和中間件堆棧
- 使用專業級工具分析和調試您的應用程式
- 在STM32板上運行基於FreeRTOS的應用程式

本書適合對嵌入式工程師、學生或任何有興趣學習嵌入式設備的完整RTOS功能集的人。對C編程語言和嵌入式系統或微控制器有基本的理解將有所幫助。

作者簡介

Brian Amos is an embedded system engineer who has been programming with FreeRTOS since 2012. He is currently a senior firmware engineer in the telecom industry creating embedded systems used in ground stations for satellite communication. In the past, he led a team of engineers creating a flexible architecture to rapidly develop high-precision laboratory test equipment. Prior to this, he worked with early mesh networked energy harvesting sensors used to help predict when industrial machinery needed maintenance.

作者簡介(中文翻譯)

Brian Amos 是一位嵌入式系統工程師,自2012年以來一直使用 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

目錄大綱(中文翻譯)

- 介紹即時系統
- 理解即時作業系統任務
- 任務信號和通訊機制
- 選擇適合的微控制器
- 選擇一個集成開發環境
- 即時系統的調試工具
- FreeRTOS調度器
- 保護數據和同步任務
- 任務間通訊
- 驅動程序和中斷服務程序
- 在任務之間共享硬件外設
- 創建良好抽象架構的技巧
- 使用隊列實現鬆耦合
- 選擇一個RTOS API
- FreeRTOS內存管理
- 多處理器和多核系統
- 故障排除技巧和下一步行動