We have an odd one here. We have a single nRF51822 (QFAC) board that is acting odd. None of the other boards exhibits this behavior. They program perfectly. 3.3v supply is fine. This looks like a bad nRF51822, but we have never seen this issue on the many devices we have used in the past.
We can read and erase using nRFgo Studio
We then program the device with our hex image that contains the bootloader, softdevice and application:
If we then check it nRFgo Studio. It shows the softdevice isn't programmed:
Then if we try to reprogram it - it fails.