RTIC Scope : Real-Time Tracing for the RTIC RTOS Framework

Work done at Luleå Technical University regarding the RTIC RTOS framework is expanded upon to yield a convenient toolset for event-based instrumentation by exploiting debug peripherals available on the ARMv7-M platform. By parsing the source of an RTIC application and recovering instrumentation meta...

Full description

Bibliographic Details
Main Author: Sonesten, Viktor
Format: Bachelor Thesis
Language:English
Published: Luleå tekniska universitet, Institutionen för system- och rymdteknik 2022
Subjects:
Online Access:http://urn.kb.se/resolve?urn=urn:nbn:se:ltu:diva-91398
Description
Summary:Work done at Luleå Technical University regarding the RTIC RTOS framework is expanded upon to yield a convenient toolset for event-based instrumentation by exploiting debug peripherals available on the ARMv7-M platform. By parsing the source of an RTIC application and recovering instrumentation metadata from user-supplied information, the target-emitted trace stream is decoded and mapped to RTIC task events, yielding a timeline of events that can be analyzed live and postmortem by help of a recording host-side daemon. Relevant sections of the ARMv7-M standard are covered, and peripheral configuration covered in detail. An instrumentation result of a trivial RTIC application is presented and graphically plotted to exemplify the value of the toolset, and topics of future work to improve the toolset are outlined.