To change to the serial port settings, such as baud rate, stop, or parity bits, you
can modify the trace configuration.
The nrfutil trace lte subcommand creates a temporary trace
configuration file which is discarded when tracing has finished. You can export a copy
of the configuration file and modify it as follows.
-
When tracing, pass the flag
–keep-configuration
.
When tracing has completed, a file with the naming style
trace-collection-configuration-YYYYMMDD-ThhmmssUTC.json
is produced.
-
Edit the file and change the required settings.
-
Pass the updated configuration to the nrfutil trace process
subcommand as follows:
nrfutil trace process ––config trace-collection-configuration-YYYYMMDD-ThhmmssUTC.json