Capturing Modem Trace on ARM System

Hi Team!

I need to capture a modem trace over a long period of time while driving around, and there is no way my laptop's battery can handle that. I thought I'd use a Raspberry Pi and a big power bank, but unfortunately nRF Toolkit doesn't work on ARM based Linux systems. Is it possible to capture the raw modem trace on a system and then feed it to trace collector?

Kind Regards,
Iman Biglari

  • > Nordic advised me something was "wrong" with the traces

    Yep, that information, what's wrong, would be required in order to continue with that idea.

  • Sorry to revive this thread after so much time, but is there any chance you could share the script or maybe even any new methods you found? We've captured a bin file, but so far it isn't decoded / translated properly into wireshark. Any hints would be very helpful, thanks :)

  • AFAIK, Nordic "always" asks about modem traces, but I'm not aware, that this long lasting issue about consolidating "long term modem traces" has been solved. I'm not even sure, if it's possible at all to read such long traces, if it's more than a few hours and MBs.

    In the meantime (I use NCS 2.9.2), the modem trace function comes with some more options. Especially the one using an external flash is pretty nice. It records the trace and to read it out, it just writes that to the UART and so it's possible to read it with the cellular monitor.

    If you want to use it with other boards than the DKs, you may need to add your boards to the "nrf/snippets/nrf91-modem-trace-ext-flash". One pitfall doing so may be the "CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE" and the "CONFIG_NRF_MODEM_LIB_TRACE_FLASH_SECTORS" which both must fit to the flash size.

    But it requires an external flash and is also limited by the size of the flash and the selected level.

1 2