Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6334

General • Re: ETM instruction tracing for RP2350

$
0
0
Hi czietz, if you wouldn't mind sharing some of the scripts/methods you used to do the kind of trace analysis you did in that screenshot with the counts for each instruction I would much appreciate it.
Sorry, as mentioned earlier in the thread, I consider my post-processing scripts too messy to publish. However, it is not too complicated to trace the execution combining the output of ptm2human and a disassembly (e.g. by objdump), if you keep branch broadcasting enabled.
Now I just need to slow down the Pin speed as the default 75 MHz are way to unstable for my flying wire setup :D
Iirc, the trace clock is linked to the CPU clock. Hence, you need to slow down the ARM cores, too.

Statistics: Posted by czietz — Tue Apr 29, 2025 4:17 pm



Viewing all articles
Browse latest Browse all 6334

Trending Articles