Embedded Toolbox: Fast Multi-Threaded App Debug on FreeRTOS

January 31, 2020 Brandon Lewis

There's no denying it: Embedded and IoT systems are getting more complex.

Fixed-function devices that once ran only bare metal code have evolved into robust systems with wired/wireless networking capabilities, onboard security, slick user interfaces, and multiple modes of operation. That means that they run an RTOS or general-purpose OS, and likely execute multi-threaded applications.

How do software engineers go about debugging these systems? Given the increased complexity, reviewing and testing code line-by-line is out of the question, especially after multiple modules have been integrated into one complete system. Where do you even start?

On this episode of Embedded Toolbox, Johan Kraft, CEO of Percepio tackles the problem of debugging a multi-threaded embedded application running on FreeRTOS and an Atmel hardware target using the Tracealyzer visual trace diagnostic tool.

Tune in to learn how to identify and fix obscure bugs hidden in a complex, multi-threaded application software in under 10 minutes.

About the Author

Brandon Lewis

Brandon Lewis, Editor-in-Chief of Embedded Computing Design, is responsible for guiding the property's content strategy, editorial direction, and engineering community engagement, which includes IoT Design, Automotive Embedded Systems, the Power Page, Industrial AI & Machine Learning, and other publications. As an experienced technical journalist, editor, and reporter with an aptitude for identifying key technologies, products, and market trends in the embedded technology sector, he enjoys covering topics that range from development kits and tools to cyber security and technology business models. Brandon received a BA in English Literature from Arizona State University, where he graduated cum laude. He can be reached by email at brandon.lewis@opensysmedia.com.

Follow on Twitter Follow on Linkedin Visit Website More Content by Brandon Lewis
Previous Article
Dev Kit Weekly: SiFive Learn Inventor Kit
Dev Kit Weekly: SiFive Learn Inventor Kit

The Learn Inventor kit is designed around one of the first commercially available RISC-V SoCs, the SiFive F...

Next Article
Pre-Register for Embedded World Panel Discussions

Embedded Computing Design (hall 5-341) will be hosting daily educational tracks on the hottest topics affec...