Great, though I have looked at it some more and it might be that you have to do a "west flash --softreset" instead. Sorry about the confusion.
Are you using SES or a terminal command to flash the board?
Regards,
Elfving
Now, I'm using SES but i can use nrf command line if it's more simple.
Regards
Ceda
Hi Ceda,
If you are using SES I don't think this generally should be a problem.
Could you try to simply recover the chip with the terminal first, running "nrfjprog --recover", and then try to use SES like you normally would and see if the error is still there?
If it is, we would have to see if CONFIG_GPIO_AS_PINRESET is defined someplace else in your common configurations in SES.
Regards,
Elfving
Hi Elfving,
I tested "nrfjprog --recover" but the error still there.
CONFIG_GPIO_AS_PINRESET is undefined in my ide.

Regards,
Ceda
Hello again,
That is a bit odd. Could you try nrfjprog -e -f NRF52, and see if that gives the same result? If it does, could you run nrfjprog --readuicr uicrfile.hex, and send it to me?
Regards,
Elfving