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

How can we flash the original factory (out-of-the-box) FW for the nRF9160?

Somehow my nRF9160 DK board has become essentially unresponsive. Flashing new modem using nRF Connect Programmer, and downloaded nRF FW,  "seem" to work. But nothing else. No signal can be seen, no AT command response, no LED 3/4 are ever on. So it's impossible to know what happened. So this possibly due to lacking instructions in how to setup the device?

How can we flash the original factory (out-of-the-box) FW for the nRF9160 DK board?

(a) Do we need to flash also the on-board nRF82840? (How to tell the difference what is getting flashed?)

(b) Where is the correct FW to flash for my board? 

Parents
  • Hi E3V3A,

    Please check the Getting started tutorial for nrf91DK.

    Please check the Getting started tutorial for NCS.

    a) There is a physical switch on the nRF91DK that chooses if you are going to program nrf52 or the nrf91.

    You do not need to re-program the nrf52 if you are not going to route the signals from e.g. VCOM0 to the "Arduino pins".

    The default nrf52 board controller FW is located here.

    b) Depends what you mean by the "correct" FW.

    The default "asset_tracker" application that came with the kit: asset_tracker.hex

    I am also adding a precompiled .hex file of the at_client sample: at_client.hex

    You can use the programmer app in nRF connect for desktop to flash the precompiled applications, and check the serial output in the LTE Link Monitor.

  • Hi Martin!

    Thanks for the quick feedback!

    - Of course I have already been reading and trying to follow all your Getting started tutorials. However, none of them provide a step-by-step procedure, from plugging in the DK board to actually having the AT commands work in the LTE Link Monitor.

    Incredibly enough, I was able to flash the hello_world app from command line. Super easy!


    But trying the same and using the EmStudio keep failing for me. Surely it just me not understanding how to use it. There are so many configuration options and it almost impossible to even remove or rename the "solutions"! So now I'm constantly greeted with the message:

    How to get rid of this, and clean out broken settings?
    Perhaps paths to some directories that need to be removed?

    (a) Ok, I got the SW5 part, never really flipped it until I started getting desperate! Slight smile

    (b) There are 2 FW's on your download page. One for updating the modem and another for the board controller, to be used "Only needed if you accidentally erase the firmware in the board controller". Now, it would have been helpful to better understand how these are related, where they are both put in "memory" (what kind) etc. I tried both and all sorts of variations, but the board never came back to out-of-box behavior.

    (c) When I flash an app, such as the hello_world (above), does that overwrite something? (If yes, then what? If no, where does it go?)

    (d) What are all the correct settings for EmStudio when trying to compile the "asset_tracker" or "at_client" apps?

    I'm looking at these:

    ^^ What directories need to be created vs. what are made by default?

    ^^ What's the difference between these?

    ^^ Here I should just respond LoL! Does anyone know what this means? 


    Awesome! I'll try those pre-compiled hex files to see if I have some weird connection issues.

Reply
  • Hi Martin!

    Thanks for the quick feedback!

    - Of course I have already been reading and trying to follow all your Getting started tutorials. However, none of them provide a step-by-step procedure, from plugging in the DK board to actually having the AT commands work in the LTE Link Monitor.

    Incredibly enough, I was able to flash the hello_world app from command line. Super easy!


    But trying the same and using the EmStudio keep failing for me. Surely it just me not understanding how to use it. There are so many configuration options and it almost impossible to even remove or rename the "solutions"! So now I'm constantly greeted with the message:

    How to get rid of this, and clean out broken settings?
    Perhaps paths to some directories that need to be removed?

    (a) Ok, I got the SW5 part, never really flipped it until I started getting desperate! Slight smile

    (b) There are 2 FW's on your download page. One for updating the modem and another for the board controller, to be used "Only needed if you accidentally erase the firmware in the board controller". Now, it would have been helpful to better understand how these are related, where they are both put in "memory" (what kind) etc. I tried both and all sorts of variations, but the board never came back to out-of-box behavior.

    (c) When I flash an app, such as the hello_world (above), does that overwrite something? (If yes, then what? If no, where does it go?)

    (d) What are all the correct settings for EmStudio when trying to compile the "asset_tracker" or "at_client" apps?

    I'm looking at these:

    ^^ What directories need to be created vs. what are made by default?

    ^^ What's the difference between these?

    ^^ Here I should just respond LoL! Does anyone know what this means? 


    Awesome! I'll try those pre-compiled hex files to see if I have some weird connection issues.

Children
Related