This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Updating the nRF9160 DK

Hello together, 

I am trying to update the nRF9160 device because I can't get a network connection. 
I followed the guidance of a manual of this site (https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/nrf-cloud-certificate-update).

When it comes to the point " ensure the modem is in offline state (AT+CFUN=4)" I get a timed out Error. 

I attached a screenshot which shows the error and also that I have added the "nrf91dk_at_client_long_at_commands" which should prevent it, but didn't helped.


Hope you can help me with something I can try to make it work.

Thanks in Advance and best 
greetings 

jseidel

  • jseidel said:
    Error while probing devices: Error occured when get serial numbers. Errorcode: CouldNotCallFunction (0x9) Lowlevel error: INVALID_OPERATION (fffffffe)

     Do you have anything connected to your board? Or have you removed any jumpers from i.e. nRF Current Measurement? Can you provide an image of your board? 

    jseidel said:
    It is the nRF9160 Development Kit. 

     Have you tried to program the device using nrfjprog? In Command Prompt (or similar) please navigate to the folder where nrf9160dk_at_client_2020-04-29_bc7ade8b.hex is located.  Then do the following:

    nrfjprog -e
    
    nrfjprog -f nrf91 --program nrf9160dk_at_client_2020-04-29_bc7ade8b.hex --verify -r 

  • Do you have anything connected to your board? Or have you removed any jumpers from i.e. nRF Current Measurement? Can you provide an image of your board? 

    No I haven't changed anything on the board. 

     Have you tried to program the device using nrfjprog? In Command Prompt (or similar) please navigate to the folder where nrf9160dk_at_client_2020-04-29_bc7ade8b.hex is located.  Then do the following:

    When I try this, I get the terminal response: 

    -bash: nrfjprog: command not found

  •  Thanks for sharing an image.

     

    jseidel said:
    -bash: nrfjprog: command not found

     What operating system are you running? Can you please try to download and install nRF Command Line Tools, this could maybe help with the issue. 

  • ok got some good news! 
    after I've downloaded the nRF command Line tools software the nrfConnect programmer recognized the JLINK device and the LTE Link Monitor as well. 

    I was able to update the firmware, add the ability to write the nrf9160dk_at_client_2020-04-29_bc7ade8b.hex .
    And the AT commands are working. 
    When I was trying to update the certificates in the LTE Link Monitor, I got the following errors:

    Do you have any help there?

  • Very happy to hear that it fixed the issue with recognizing the device Slight smile

    jseidel said:
    When I was trying to update the certificates in the LTE Link Monitor, I got the following errors:

     That's strange. Did you remember to do step two in the guide:
    Remove the SIM card and ensure the modem is in offline state (AT+CFUN=4) before updating certificates. Uncheck Automatic requests and use AT+CFUN? to read the state.

    If that did not help, can you please provide the output from the LTE Link Monitor? Click on the open log file, save it to your computer, and submit here.

    Thanks!

    Kind regards,
    Øyvind

Related