To collect a modem trace, you
must connect your board to the computer with, for example, a UART to USB
device, update your application to enable tracing, and capture the trace
while your application is running.
Note: You can also collect traces using the
RTT interface. Enable the RTT trace backend with the
CONFIG_NRF_MODEM_LIB_TRACE_BACKEND_RTT option and collect the traces
in binary format using the j-link RTT logger. Convert the traces to
PCAP with the Trace Collector V2 preview application's
Convert RAW trace to PCAP option on
the left pane. Please note that this method is still experimental
and that the RTT logger output file (.log) does not show by default
in the file explorer.