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

Can't flash code into NRF5340-DK

I've installed Zephyr RTOS and built blinky example for NRF5340-DK board. Then, when I tried to flash output hex file into NRF5340, nrfjprog (using "west flash" command) gave me error about there were no NRF device connected to the debugger. I also tried MSD (Drag & Drop) style programming, it failed as well. I previously worked with other NRF development kit boards and never got this type of problem.

Parents
  • The first time I tried to program my nrf5340dk with nrf Connect Programmer IDE it told me the memory was locked/protected (or something like that) and informed me I'd have to erase the chip, I erased everything and then I could see the memory to program it. Using SDK 1.5.0 and the latest nrf command line tools, version 10.12.1 works with the nrf5340 - I'm using Windows 10 - What is your environment? Linux/Windows/Mac?

Reply
  • The first time I tried to program my nrf5340dk with nrf Connect Programmer IDE it told me the memory was locked/protected (or something like that) and informed me I'd have to erase the chip, I erased everything and then I could see the memory to program it. Using SDK 1.5.0 and the latest nrf command line tools, version 10.12.1 works with the nrf5340 - I'm using Windows 10 - What is your environment? Linux/Windows/Mac?

Children
Related