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

The NRF52832 stopped responding to programmer while it runs itself and the programmer works with other same devices.

Hi,

I we are developing project on BLE NRF52832 module and it warked correctly. during the debugging suddnely it stoped responging to programmer and couldn't be reprogrammed anymore.

When wi connecting the module to the power it workes fine, makes advertizing, can be connected byt the phone, but when we connect it to the programmer it cannot be reprogrammed.

We tried to recover it by nrfjprog utility, but compiler, by nRFgo utility, by nRFConnect utility and even by J-Flash utility, but the module cannot be neither revered, neither erased nor reprogrammed and nor debuged. We tried to programm the other same module by these utilites and it worked fine. So the programmer can reprogram any other module, but cannot reprogram this same module anymore even it workes correctly.

How can it be reprogrammed anyway?

Here are given two loggings from the programmable and from unprogrammable modules:

From unprogrammable module:

2021-05-20T08:39:41.950Z INFO Using nrfjprog to communicate with target
2021-05-20T08:39:42.690Z ERROR Could not fetch memory size of target devkit: Error: Error occured when get library info. Errorcode: CouldNotOpenDevice (0x4)
Lowlevel error: JLINKARM_DLL_ERROR (ffffff9a)

2021-05-20T08:40:03.303Z INFO Target device closed.

From programmable module:

2021-05-20T08:40:42.536Z INFO Using nrfjprog to communicate with target
2021-05-20T08:40:43.903Z INFO Using J-Link Software version 6.88
2021-05-20T08:40:45.111Z INFO Segger serial: 682522747
2021-05-20T08:40:45.112Z INFO Segger speed: 2000 kHz
2021-05-20T08:40:45.112Z INFO Segger version: J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 17 2020 14:43:00
2021-05-20T08:40:45.112Z INFO Core probed: 682522747
2021-05-20T08:40:45.112Z INFO Core RAM: 64KiB
2021-05-20T08:40:45.112Z INFO Core ROM: 512KiB in pages of 4KiB
2021-05-20T08:40:45.355Z INFO Model: NRF52832_xxAA_REV2.
2021-05-20T08:40:46.656Z INFO Core0: Reading device non-volatile memory. This may take a few seconds.
2021-05-20T08:40:47.552Z INFO Core0: UICR has been read. Click read button to read full non-volatile memory.
2021-05-20T08:40:53.511Z INFO Target device closed.

According to logging can be seen that JLINKARM_DLL gives the ERROR "0xffffff9a" in 16-bit integer that means "-102" in decimal. What does it mean?

Related