timeout occured while handling debug power

Hello,

I am trying to flash and debug a custom board using the Raytac MDBT42Q-512KV2 that uses the nRF52832 module mounted. I tried this using the jlink plus and the nRF52 DK.

When I try to refresh the connected devices in VS Code, I get this error:

Device error: A timeout occured while handling debug power: Timed out trying to power sys and debug region (Generic).
I checked the SWD lines, measured power, etc. All looks good.
I saw on a similar thread that this might be caused by accidentally changing the RESET pin. The suggestion was to pull the RESET pin high (by connecting to VDD for instance), which I did. But the problem persists.
I also tried to recover the board, but I get the same error when I do so.
Any suggestions on what this error actually means? What am I missing here?
Thank you.
Cheers,
uodami
Related