Trace Collector V2 while running LTE Link Monitor

Dear Nordic,

I'm trying to use the LTE Link Monitor and the Trace Collector V2 at the same time in order to collect trace messages from an nRF9160 DK. However, the RAW and PCAP files created inside the Trace Collector V2 application are always empty. 

I'm using a MacBook Pro with the Apple M1 Pro chip. The OS version is v12.5 Monterey.

Below are the steps I'm following:

1. Using the Programmer application I programmed the latest modem firmware (mfw_nrf9160_1.3.2.zip) onto the RF9160 DK device with the PROG/DEBUG switch set to nRF91.

2. Using the Programmer application I programmed the asset tracker application (nrf9160dk_asset_tracker_v2_2022-09-15_7a358cb7.hex) onto the RF9160 DK device with the PROG/DEBUG switch set to nRF91.

3. Using the Programmer application I programmed the board controller firmware (nrf9160_dk_board_controller_fw.hex) onto the RF9160 DK device with the PROG/DEBUG switch set to nRF52.

4. I then set the PROG/DEBUG switch back to nRF91.

5. I started the LTE Link Monitor application and connected to the nRF9160 DK device. I then ran the command "AT%XMODEMTRACE=1,2" from within the LTE Link Monitor.

6. I started the Trace Collector V2 Preview application (while keeping the LTE Link Monitor app opened). I chose the DK device and started the capture. The issue is that the RAW and PCAP files are always empty.  From within the Trace Collector V2 Preview application I tried all three of the serial ports. In each case the RAW and PCAP files are empty.

Do you have any suggestions how I can change the above steps to collect the trace messages?

Thank you.

Peter

  • Hi,

    In addition to the AT command, the application must also be configured to forward the trace from the modem.

    This is done by adding CONFIG_NRF_MODEM_LIB_TRACE=y to the prj.conf file (setting this config option will also cause the AT command to be sent automatically).

    If you look in the folder you got the .hex file from, there should be a folder called "debug", with .hex files where modem tracing has been enabled.

    Best regards,

    Didrik

Related