Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Hands-On RTOS with Microcontrollers
  • Table Of Contents Toc
  • Feedback & Rating feedback
Hands-On RTOS with Microcontrollers

Hands-On RTOS with Microcontrollers - Second Edition

By : Jim Yuill, Penn Linder
5 (1)
close
close
Hands-On RTOS with Microcontrollers

Hands-On RTOS with Microcontrollers

5 (1)
By: Jim Yuill, Penn Linder

Overview of this book

This updated edition of Hands-On RTOS with Microcontrollers is packed with cutting-edge content to help you expand your skills and stay ahead of the curve with embedded systems development. Written by senior engineers with decades of experience in embedded systems and related technologies, it covers the role of real-time OSs in today’s time-critical applications, and it covers FreeRTOS, including its key capabilities and APIs. You’ll find detailed descriptions of system design, hands-on system use, the hardware platform (dev-board, MCU, and debug-probe), and the development tools (IDE, build system, and debugging tools). This second edition teaches you how to implement over 20 real-world embedded applications, using FreeRTOS's primary features. The chapters include example programs on GitHub, with detailed instructions. You’ll create and install your own FreeRTOS system on the dev-board (purchased separately), and set up an IDE project with debugging tools. An ST dev-board is used with the book, and it is purchased separately (STM32 Nucleo-F767ZI - the dev-board is not required to read and understand the book). By the end of this book, you’ll have the hands-on skills to start designing, building, and optimizing embedded applications, using FreeRTOS, development boards, and debugging tools.
Table of Contents (27 chapters)
close
close
1
Part 1: Introduction to RTOSes, the Dev-Board, and Tools
7
Part 2: The FreeRTOS Scheduler, Tasks, and Primary APIs
12
Part 3: Using FreeRTOS to Build Systems
17
Part 4: System Design and Troubleshooting
21
Part 5: Reference Information and FreeRTOS Installation
22
Other Books You May Enjoy
23
Index
1
Appendix A: Tools Quick-Reference

Creating a VCP driver, using a stream-buffer

The next example-program is in Src/mainVcpStreamBuffer.c. It implements a driver for sending messages over USB, to a VCP on the USB host. The driver uses a stream-buffer to hold messages that are waiting to be sent over USB. The messages are sent by a task that takes messages from the stream-buffer, and transmits them over the USB connection. After the task transmits a message, it waits for a signal that indicates the transmission process is done. The signal is generated by an ISR, which is run via an interrupt from the USB controller. The interrupt is generated when the USB transmission-process is done.

The driver is implemented in Drivers/HandsOnRTOS/vcpDriver.c, and the driver is referred to as the vcpDriver.

Understanding the app

From our current example-program (mainVcpStreamBuffer.c), the function main() is shown below.

mainVcpStreamBuffer.c is very similar to the prior example-program’s mainVcpSimple.c. Their...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Hands-On RTOS with Microcontrollers
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon