You can convert a raw binary STM trace file to ASCII format for easier reading and analysis.
The decoded trace data is written to standard output.
The following command transforms a binary file stm_trace.bin and redirects the output to the decoded_trace.txt file:
nrfutil trace stm --input-file stm_trace.bin > decoded_trace.txt