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

Accidentally write nrf9160_dk_board_controller_fw.hex, how can I rescue my board ?

baozhu@bz:/tmp/ncs/build$ cp /tmp/nRF9160_DK_board_controller_FW.hex /tmp/ncs/build/zephyr/zephyr.hex
baozhu@bz:/tmp/ncs/build$ ninja flash
[0/1] Flashing nrf9160_pca10090ns
Using runner: nrfjprog
Flashing file: /tmp/ncs/build/zephyr/zephyr.hex
Parsing hex file.
Erasing page at address 0x0.
Erasing page at address 0x1000.
Erasing page at address 0x2000.
Erasing page at address 0x3000.
Erasing page at address 0x4000.
Erasing page at address 0x5000.
Erasing page at address 0x6000.
Erasing page at address 0x7000.
Erasing page at address 0x8000.
Erasing page at address 0x9000.
Erasing page at address 0xA000.
Erasing page at address 0xB000.
Applying system reset.
Checking that the area to write is not protected.
Programming device.
Applying pin reset.
Board with serial number 960052714 flashed successfully.

I can't start whatever application I'm writing.

Related