Explore advanced techniques for debugging and profiling ARM Cortex-M microcontrollers using GDB and Python in this comprehensive 39-minute talk. Gain practical insights into configuring and using essential tools, including debug interfaces, probes, and libraries. Learn to install and set up arm-none-eabi-gdb(-py3), master common GDB commands and scripts, and delve into advanced GDB scripting with Python API. Discover methods for inspecting peripheral states, dynamic call stack tracing, and coredumping for post-mortem debugging. Explore remote GDB scripting, ITM profiling, and thread/IRQ/Workqueue scheduling visualization. Examine high-bandwidth ETM tracing and get introduced to interesting related projects and potential future developments in the field of embedded debug tools.
Overview
Syllabus
Debugging Microcontrollers
Taught by
media.ccc.de