nRF52832 cannot be recovered. Device error: Setting the debug port SELECT register failed while powering up sys and debug regions (Unknown Error in J-Link DLL (error code =-1))

Hello,

i have a custom board with a nRF52832 on it.
TL:DR: i can't seem to get a connection to the chip via the SWD


When i try to recover the device it tells me the debug port is unavailable.

The chip is battery powered and i measured all power lines and the clock so the chip gets 3.3V and 2V on I2C_SCl which should mean the chip itself is running fine.
i am using a J-Link which can measure the voltage of the Vtref which is 3.435V so the port has power aswell but i still can't seem to get a connection to the chip.

Before using nrfutil i used nrfjprog which turned out to be deprecated as i read in the forum. So what happened?

I worked with the chip and it was powered through the battery constantly. It was also connected to the J-Link and i left it there for an hour and came back just to find out that it suddenly won't communicate anymore. The code on it was still running fine but i cannot recover the chip. I read through the forum a lot but i can't seem to find any solution so any help would be greatly appreciated!

  • Hello  ,

    I’m not entirely sure about the issue you’ve pointed out. I recommend creating a new ticket for this and sharing all the relevant details there. You may attach this thread as a related case if you wish.

    Please include logs (and hardware files, if you would like them to be reviewed), and consider marking the ticket as private if you need to share any proprietary information.

    Kind Regards,

    Abhijith

Related