Rozdział w tomie pokonferencyjnym
Ładowanie...
Miniatura
Licencja

CC-BYCC-BY - Uznanie autorstwa

FrankenTrace: Low-Cost, Cycle-Level, Widely Applicable Program Execution Tracing for ARM Cortex-M SoC

Data publikacji
Abstrakt (EN)

Program execution tracing is an important technique in software development and analysis. However, noninvasively obtaining cyclelevel traces for modern low-power ARMv7-M-based SoCs is challenging, because convenient off-the-shelf high-speed tracing probes are expensive and cannot be applied to SoCs that lack high-speed debug components, notably Embedded Trace Macrocell (ETM) and parallel tracing port (PTP). To address this issue, in this work, we present FrankenTrace, a technique for generating full, noninvasive, cycle-level program counter traces and full, cycle-level data transfer traces of varying invasiveness on SoCs with only low-speed debug components, namely Debug Watchpoint and Trace unit (DWT), Instrumentation Trace Macrocell (ITM), Single Wire Output (SWO), and an inexpensive probe. We demonstrate the technique by tracing software running on a node of the 1KT testbed.

Dyscyplina PBN
informatyka
Tytuł monografii
CPS-IoT Week '23: Proceedings of Cyber-Physical Systems and Internet of Things Week 2023
Strony od-do
72–77
Wydawca
Association for Computing Machinery
ISBN
979-8-4007-0049-1
Data udostępnienia w otwartym dostępie
2023-05-09
Licencja otwartego dostępu
Uznanie autorstwa