NVMC Controller never gets ready when trying to flash nrf52840 custom board

I have ordered two boards using the nrf52840

I was able to flash the first board and my firmware is working as expected 

however whenever I try to program the other one I get the following error 

[error] [ Client] - Encountered error -220: Command program_file executed for 30036 milliseconds with result -220
[error] [ nRF52] - NVMC controller never gets ready.
[error] [ nRF52] - The write access failed, but no cause could be determined.
[error] [ nRF52] - It may be due to an unaligned access, accessing a nonexistent memory, or a communication issue.
[error] [ nRF52] - Failed while performing 'Write' operation on target address 0x0000C000.
-220: Encountered exception while waiting for nvmc to be ready after configure for write.
[error] [ nRF52] - Failed while reading device information.
[error] [ Worker] - Encountered exception while waiting for nvmc to be ready after configure for write.
ERROR: Operation failed due to timeout. Check the log messages for more details.

two boards are identical. 

Parents Reply Children
No Data
Related