nRF52833 stopped responding after first program

Hello,

I have designed a custom hardware using nRF52833. I tried to program the nRF52833 using nRF52832DK, I am having  following connections-

nRF DK                    nRF custom board
VTG-VDD             -         VDD
SWDIO                 -         SWDIO
SWDCLK              -         SWDCLK
GND Detect          -         GND

I am using nRFConnect for programming.
After the connections I was able to detect nRF52833, but when I start programming ( basic blink code) and click "Erase and write" It shows "Writing finished" and after that shows following error-

"Could not fetch memory size of target devkit: Error: Error occured when get library info. Errorcode: CouldNotOpenDevice (0x4) Lowlevel error: JLINKARM_DLL_ERROR (ffffff9a)"

After this I am not able to detect device .

This problem is repeating on every board. Can anyone faced same problem? How do I recover the controller?

Related