This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF52 bricked with CONFIG_GPIO_AS_PINRESET and P0.21 tied to ground?

Dear Nordic Team,

Due to a mistake i flashed a bootloader-firmware with the compile flag CONFIG_GPIO_AS_PINRESET onto a custom board where pin P0.21 is tied to ground.

Now the nrfjprog output says:

nrfjprog -f nrf52 --program _build/nrf52811_xxaa.hex --sectorerase
ERROR: Cannot connect to any nRF device. Please make sure a device is
ERROR: connected to the debugger and supplied.
make: *** [flash] Error 42
When trying to connect with JLinkExe the output is:
Connecting to target via SWD
Found SW-DP with ID 0x2BA01477
Found SW-DP with ID 0x2BA01477
Could not power-up debug power domain.
Scanning AP map to find all available APs
AP[0]: Stopped AP scan as end of AP map has been reached
Iterating through AP map to find AHB-AP to use
Found SW-DP with ID 0x2BA01477
Found SW-DP with ID 0x2BA01477
Could not power-up debug power domain.
Scanning AP map to find all available APs
AP[0]: Stopped AP scan as end of AP map has been reached
Iterating through AP map to find AHB-AP to use

Can this board be considered as bricked, or is there a way to recover from this state?

Many Thanks

Related