~/talk

Analyzing ARM Cortex-M Firmware with the Perfetto Trace Processor

Talkat emBO++ 2024 · 2024-03-14..03-16· [embedded-and-hardware]
links:none on file
slides:none on file

Explains how on-device ARM Cortex-M debug peripherals ITM/ETM/DWT and formatters SWO/TPIU are captured via Auterion Embedded Debug Tools (orbetto), decoded with Capstone, and converted into Perfetto ftrace so traces show thread/IRQ/workqueue/semaphore/heap/DMA state and per-thread call stacks. Claims raw instruction traces hit ~100 GB/hour and reduced call‑stack traces ~50 GB/hour; SWO tops ~60 Mbps and USB2 limits collection. Demonstrates live PX4/NuttX captures, SQL queries with PerfettoSQL to validate scheduling, DMA throughput and event-frequency hypotheses, and shows the pipeline reliably produces actionable CI/post‑flight metrics.

AI-written summary · about

  1. 0:00Introduction to embedded
  2. 1:48Speaker background and context
  3. 3:49Debugging and trace protocols
  4. 7:21Profiling and tracing methods
  5. 9:27Hardware tracing with ITM/DWT
  6. 11:20Advanced instruction tracing
  7. 14:00Data flow and trace hardware
  8. 18:03Practical implementation
  9. 22:24Visualizing traces in Perfetto
  10. 26:08SQL-based trace analysis
  11. 31:58Future research and conclusion
  12. 36:46Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.