Hi sometimes it happen with my nrf52832 based device.
The common way I am programming firmware during development is next:
nrfjprog --program fw.hex --sectorerase --verify --reset --log
At some condition happen i no longer can program firmware this way untll i perform full chip erase by
nrfjprog --recover

Log:
Please support