This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can't establish LTE connection with CONFIG_NRF_MODEM_LIB_TRACE_ENABLED turned on.

I have built on the CoAP example a POST request to the server. This works now without any problems.

I do send the received signal power within my POST. To get the power I use the AT command: AT+CESQ

The problem arises after roughly 20 min where the code get stuck in the <at_cmd_write> function. The timer interrupt callbacks still working correctly.

To get a clue what the problem could be, I wanted to do a modem trace. But if I add the configuration : CONFIG_NRF_MODEM_LIB_TRACE_ENABLED=y, the code get stuck already in the modem_configure() function from the example.

What could be the problem, or how can I track down the problem?

I'm using the VS Code extension as my development environment, the SDK Version 1.7.0 and Modem Version 1.3.0.

My config files are:

0216.prj_qemu_x86.conf2335.overlay-carrier.conf

I'm not 100% sure if I configured everything correct that all of these are used for the west build.

Thanks in advance.

Parents Reply
  • I think that is not the problem, because after the software on the NRF9160DK crashes on the line with the AT command (CPU goes to IDLE state) I still receive timer event notifications over UART in the LTE Link Monitor.

    I think the modem does not response for some reason and because I use a blocking AT command, my software waits for the response forever.

    Thank you for your help.

Children
Related