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
  • In the meantime I commented out the line with the AT command. The software now works without crashing for multiple hours. After about roughly 20 min, I sent an AT command via the LTE Link Monitor to test whether the AT commands work and received a timeout response. Right after a reset of the board, the AT commands works properly and I receive a response.

    The board is still sending the data over LTE, while the AT commands are not working. I know that the data is being sent, because I receive them on the server.

    If I understand you correctly, the data would not be sent if the modem is in a loop restriction.

    Thank you for your help.

Children
Related