How to capture nrf9160 modem traces using RTT?

From here:

https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_trace_collector%2FUG%2Ftrace_collector%2Fcollect_modem_trace_custom.html

It says it is possible to collect traces via RTT. How to do this exactly? I'm using a custom board running the Nordic SLM application. I've set:

CONFIG_NRF_MODEM_LIB_TRACE_BACKEND_RTT=y

The documentation says to use Trace Collector V2 preview. Where can I find the Trace Collector V2 application?

Cellular Monitor v2.0.1 complains it "Couldn't identify trace serial port"

Parents
  • Hi C.T.,

    Sorry for confusing you, Cellular Monitor is the final release app of Trace Collector V2 preview. I will report this to do an update on documentation.

    Here are the steps to collect modem traces from RTT for the NCS v2.4.2 SLM application.

    1. Adding the following overaly-rtt-modem-trace.conf to your building configuration.

    2. Build and program firmware to the device, then use the command in the following log to collect raw trace data.

    3. Open the modemtraces.bin file with WireShark through Cellular Monitor->Open trace file in Wireshark.

    Best regards,

    Charlie

Reply
  • Hi C.T.,

    Sorry for confusing you, Cellular Monitor is the final release app of Trace Collector V2 preview. I will report this to do an update on documentation.

    Here are the steps to collect modem traces from RTT for the NCS v2.4.2 SLM application.

    1. Adding the following overaly-rtt-modem-trace.conf to your building configuration.

    2. Build and program firmware to the device, then use the command in the following log to collect raw trace data.

    3. Open the modemtraces.bin file with WireShark through Cellular Monitor->Open trace file in Wireshark.

    Best regards,

    Charlie

Children