Skip to Content
Hands-On RTOS with Microcontrollers
book

Hands-On RTOS with Microcontrollers

by Brian Amos
May 2020
Intermediate to advanced
496 pages
13h 54m
English
Packt Publishing
Content preview from Hands-On RTOS with Microcontrollers

Task-based stack analysis

One of the challenges with debugging an RTOS with non-RTOS aware tools is analyzing the call stack of each task. When the system halts, each task has its own call stack. It is quite common to need to analyze the call stack for multiple tasks at a given point in time. Ozone provides this capability by using FreeRTOS Task View in conjunction with Call Stack View.

After opening both views, each task in FreeRTOS Task View can be double-clicked to reveal the current call stack of that task in Call Stack View. To reveal local variables for each task on a function-by-function basis, open Local Data view. In this view, local variables for the current function highlighted in the call stack will be visible.

 An example combining ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On RTOS with Microcontrollers - Second Edition

Hands-On RTOS with Microcontrollers - Second Edition

Jim Yuill, Penn Linder

Publisher Resources

ISBN: 9781838826734Supplemental Content