Hello everyone,
I have been using an application based on the Asset Tracker v2 for nrf9160 (similar to the original application but with some differences in the data sent to the cloud and the sampling frequencies). I am using the Icarus IoT board, which includes the nrf9160 rev1.
I need to obtain a modem trace to debug some communication issues, but I am encountering difficulties.
The first approach I tried was adding the following line to the prj.conf file:
CONFIG_NRF_MODEM_LIB_TRACE=y
However, this resulted in a build error:
gen_isr_tables.py: error: multiple registrations at table_index 9 for irq 9 (0x9) Existing handler 0x6173b, new handler 0x62915 Has IRQ_CONNECT or IRQ_DIRECT_CONNECT accidentally been invoked on the same irq multiple times?Code
I thought the issue might be due to using UART for logging, so I modified the code to get the logs through RTT by adding the following lines to the prj.conf:
CONFIG_USE_SEGGER_RTT=y CONFIG_RTT_CONSOLE=y CONFIG_UART_CONSOLE=nCode
Unfortunately, this caused the same IRQ error.
I also attempted to obtain the modem trace via RTT using the line CONFIG_NRF_MODEM_LIB_TRACE_BACKEND_RTT=y. However, in this case, I am receiving log messages through both UART and RTT, which is not my intended outcome.
Do any of you have any ideas on how I can successfully obtain the modem trace?
Thank you in advance for your assistance.