Modem commands

I've made this following code with inspiration from the at_monitor example to test a custom board using the nrf9160 sip. 

I get the following output:

When testing on the nrf9160dk board it seems to work fine:

What do the error codes mean?

  • Hi,

    What do the error codes mean?

    Unfortunately, the error code doesn't really mean anything more than that the modem returned "ERROR".

    However, in this case, the log already contains the cause of the error:

    You are running the Production Test Image modem FW (which is what comes on the SiP by default from the factory). This modem FW does not have all the capabilities of the full modem FW, so not all AT commands are supported.

    If you update the modem to the full modem FW, your application should work on your custom board as well.

    Best regards,

    Didrik

  • Thank you for the quick response. My custom board does not have a uart connection and therefore does not show up as a COM port. I'm using a JTAG interface to program the processor. Is there anyway to upgrade the modem firmware without using the nrfConnect programmer that requires a COM port?

  • NilsDR said:
    Is there anyway to upgrade the modem firmware without using the nrfConnect programmer that requires a COM port?

    The Programmer app shouldn't require a COM port?

    If you connect a programmer (e.g. using the Debug out header of a DK), you should be able to select the programmer in the Programmer app, and use that to write the modem FW.

  • Thank you, I've updated the modem firmware and it seems like the AT commands work now.

  • I tried the way you suggested but it still fails. What's wrong?

    geometry dash meltdown