Hi Elfving,
No, i don't want to reserve the pin 0.18 (reset pin) for reset, so i undefined CONFIG_GPIO_AS_PINRESET. I want to use the pin 0.18 for another using.
I'm using nRF5SDK.
Regards,
Ceda
I see, I guess I misread your first post.
Could you run an erase-all or a recover, and see if that helps? This is being written to UICR, which won't be overwritten using for instance a "west flash".
Regards,
Elfving
Hi Elfving,
Ok, I will test the "west flash" and I'll let you know the result.
Regards,
Ceda
Hi Elfving,
Ok, I will test the "west flash" and I'll let you know the result.
Regards,
Ceda
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