Unable to flash peripheral_uart sample in nRF5340DK

I have purchased two nRF5340 development kits and I am trying to run the peripheral_uart sample using VS Code. I am unable to flash the code to the board. I have tried using nrjprog --recover but it does not seem to work. I have attached the build configuration for reference.

The SDK version is v2.6.0 and the toolchain version is also v2.6.0. I am able to flash the sample in one of my development kits but not on the other. It's a new kit and no other program has been executed. It says there is an issue since protection is enabled. Any suggestions on what could be the issue?

Parents Reply Children
Related