rtic-scope / cargo-rtic-scope

Non-intrusive ITM tracing/replay toolset for RTIC programs with nanosecond timestamp accuracy.
16 stars 4 forks source link

Software task exit trace packets are some times not emitted #139

Open tmplt opened 2 years ago

tmplt commented 2 years ago

When https://github.com/rtic-scope/atsame-example was implemented software task exit trace packets were not always emitted. https://github.com/rtic-scope/cargo-rtic-scope/commit/c492f82d27b1456c962795641770548749e1fea3 was an attempt to fix this but it did not resolve the issue completely as it was reproduced today. The root cause is currently unknown.

tmplt commented 2 years ago

IIRC this was observed on an ATSAM50 or an ATSAME70. Perhaps related to the number of flash wait states?