nasa / fprime

F´ - A flight software and embedded systems framework
https://fprime.jpl.nasa.gov
Apache License 2.0
10.05k stars 1.3k forks source link

Add Tracing to Fw #2784

Open Shivaly-Reddy opened 3 months ago

Shivaly-Reddy commented 3 months ago
F´ Version
Fw

Feature Description

Tracing allows an on-board log to be built of software execution where various points in the software a sample point can be saved with a time tag.

Rationale

Tracing (a.k.a autopsy) would provide a report of activities done in software before, say a reset. It would help identify/debug the causes of an issue in software.

Scope of Work

vreddy-jpl commented 2 months ago

consider adding state machine transitions, timer acquisition and release traces, and EVRS to the category of traces that are automated. Also consider what a potential IO trace could look like. A ring buffer for IO is always requested for 1553 and recently M-Bus on Psyche. Presumably a limited IO trace of some could be packaged with the autopsy log and be useful.

Shivaly-Reddy commented 2 months ago

Thanks Vivek. I'll discuss this with Tim and also go through the ones Eddie suggested to add to the list.