Serial LTE Modem sample not reponding to any AT commands from LTE link monitor

Hi,

Because I am not getting any answers to my original ticket(ID:294922), I'll try it this way by opening another ticket on the same issue.

I have a nrf9160DK and flashed it with Serial LTE Modem sample, however all the AT commands are just timing out.

2022-09-06T10:18:35.621Z INFO Modem port is opened
2022-09-06T10:18:41.875Z DEBUG modem >> AT+CFUN?
2022-09-06T10:18:42.876Z ERROR Error: 'AT+CFUN?
' timed out

I use default configuration and here is the log that I got from RTT:

00> *** Booting Zephyr OS build v3.0.99-ncs1-1  ***
00> I: Starting bootloader
00> I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
00> I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
00> I: Boot source: none
00> I: Swap type: none
00> I: Bootloader chainload address offset: 0x10000
00> I: Jumping to the first image slot

Do you have any idea what the problem might be?

Parents Reply Children
  • Hi,

    It works fine here:

    1) Try testing with LTE link monitor. It should select the correct COM port for you. You might have used the wrong COM port in your terminal program

    2) Here is the compiled hex file I get when I compile the application. if it's still not working for you after testing step 1), could you try flashing the merged.hex attached below, and try to use that one instead?

    merged.zip

  • Hi,

    sorry for the delay in answering, but I was on holiday last week. So here are the results:

    1) I was using LTE link monitor with correct COM port and still can't get it to work

    however..

    2) when I programmed your merged.zip -file to 9160DK it seems to be working just fine

    I can work with this, but it still leaves me wondering what is the problem with my configuration or flashing with VS code of your serial_lte_modem example.

  • ericlestor said:

    2) when I programmed your merged.zip -file to 9160DK it seems to be working just fine

    That's good. 

    ericlestor said:
    I can work with this, but it still leaves me wondering what is the problem with my configuration or flashing with VS code of your serial_lte_modem example.

    Maybe the toolchain was not configured correctly:

    For flashing, maybe try to do a erase and flash

    or just as an test, try to flash your compiled merged.hex with nrfjprog or nRF-Connect programmer app instead.

  • Hi,

    unchecked the "Enable debug options" box from build configurations. Now it is working fine whether I flash it directly from VScode or nrf-connect programmer.

    Thanks very much for your help on this issue.

Related