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

Program Download failed on NRF5340 DK

HI 

I have got a new nrf5340 DK. I have tested four LEDs and HRM. It's working fine. But when I have tried to upload blinky or hello_world Sample from NCS v1.5.1, I can't able to flash the device. I have seen the Download failed error. I have attached the image of the error which I have got. 

I need help to resolve this.

Thanks & Regards

Navin 

Parents
  • It would make sense that "west build --erase" works, by erasing (in the same debugging session) or recovering the chip you remove the writing protection. nrfjprog --eraseall would do the same thing.

    Though once again, I need you to confirm that the lines below still return an error. Please either run both:

    nrfjprog -f NRF53 --recover --coprocessor CP_NETWORK
    nrfjprog -f NRF53 --recover 

    Or alternatively if you prefer west, you could run:

    west flash --recover

    Best regards,

    Håkon

Reply
  • It would make sense that "west build --erase" works, by erasing (in the same debugging session) or recovering the chip you remove the writing protection. nrfjprog --eraseall would do the same thing.

    Though once again, I need you to confirm that the lines below still return an error. Please either run both:

    nrfjprog -f NRF53 --recover --coprocessor CP_NETWORK
    nrfjprog -f NRF53 --recover 

    Or alternatively if you prefer west, you could run:

    west flash --recover

    Best regards,

    Håkon

Children
Related