Using Single RTT Channel for Console and Modem Trace

Hi,

We have a custom nRF9151 we are designing and wanted to inquire whether it was possible to use RTT for both console logging of the device and Modem Trace? Ideally we wouldn't have to setup an additional UART channel and pins just to log traces and could do both over RTT.

Cheers,

Callum

  • Hello, 

    I did a quick test on my side with both logging and modem trace, and it does seemingly work as intended. Note that there might be some packets missing in modem trace, but not that I could see. Also, please note that this does not work with Cellular Monitor.

    I was using Segger JLink RTT viewer v8.12c where I had one terminal for logs and the another terminal for modem trace. The latter is not visible in the viewer. To capture modem traces you can use "Start data logging" under Logging and save to a .bin file, which can then be shared with us.

    Kind regards,
    Øyvind

Related