Converting captured raw STM trace data to standard output

nRF Util

tags
nRF Util

You can output STM trace data directly to the console in real-time or from a file. This is useful for immediate analysis or when you want to pipe the output to other tools.

The following command outputs trace data from a file to standard output in ASCII format, which is the default output type:

nrfutil trace stm --input-file stm_trace.bin

To output binary data instead, use the --output-type option:

nrfutil trace stm --input-file stm_trace.bin --output-type binary