Thingy:53 Can't be reached with Programmer Tool / nrfjprog using SWD Cable over nRF7002DK

Hi, this case is an extension of the case I created (In which I was not able to restore the Thingy.53 to its original FW (Edgeimpulse) even though it had worked when I first received the device)

  • Case ID: 302938

(Can not reset Thingy 53 back to its original Edge Impulse FW.)

The conclusion in that discussion was to obtain an SWD cable and fully erase the Thingy:53 over a DK (I'm using an nRF7002DK). Finally I obtained the cable and tried to do the operation with no success. This is the setup for Thing:53:

And this is the case when I open the programmer, the usb connected setup recognized as J-link, and please check the message "unsupported device. The detected device coulnd not be recognized as neither Jlink device nor Nordic USB device"

However if I connect my Thingy:91 with exactly the same components, USB and SWD cable, the devkit:

I see my connected device as nRF7002DK (instead of j-link) and I can see that in the log that everything is fine and I can read the memory, erase/write etc.

and here's the full log.

2023-03-16T13:57:21.383Z DEBUG Application data folder: C:\Users\Lenovo\AppData\Roaming\nrfconnect\pc-nrfconnect-programmer
2023-03-16T13:57:21.574Z DEBUG App pc-nrfconnect-programmer v3.0.7 local
2023-03-16T13:57:21.575Z DEBUG App path: C:\Users\Lenovo\.nrfconnect-apps\node_modules\pc-nrfconnect-programmer
2023-03-16T13:57:21.575Z DEBUG nRFConnect 4.0.0, required by the app is (>=4.0.0)
2023-03-16T13:57:21.575Z DEBUG nRFConnect path: C:\Users\Lenovo\AppData\Local\Programs\nrfconnect\resources\app.asar
2023-03-16T13:57:21.578Z DEBUG HomeDir: C:\Users\Lenovo
2023-03-16T13:57:21.578Z DEBUG TmpDir: C:\Users\Lenovo\AppData\Local\Temp
2023-03-16T13:57:22.460Z INFO Using nrf-device-lib-js version: 0.5.0
2023-03-16T13:57:22.461Z INFO Using nrf-device-lib version: 0.13.11
2023-03-16T13:57:22.461Z INFO Using nrfjprog DLL version: 10.18.2
2023-03-16T13:57:22.462Z INFO Using JLink version: JLink_V7.80c
2023-03-16T13:57:23.267Z INFO Installed JLink version does not match the provided version (V7.66a)
2023-03-16T13:57:40.639Z INFO Using @nordicsemiconductor/nrf-device-lib-js to communicate with target via JLink
2023-03-16T13:57:40.640Z INFO JLink OB firmware version J-Link OB-nRF5340-NordicSemi compiled Dec  3 2021 15:46:49
2023-03-16T13:57:40.640Z INFO Device family NRF91_FAMILY
2023-03-16T13:57:40.640Z INFO Device version NRF9160_xxAA_REV2
2023-03-16T13:57:40.640Z INFO Board version PCA10143
2023-03-16T13:57:40.641Z INFO Loading readback protection status for Application core
2023-03-16T13:57:42.732Z INFO Readback protection status: NRFDL_PROTECTION_STATUS_NONE
2023-03-16T13:57:43.737Z INFO Modem detected
2023-03-16T13:57:43.755Z INFO Parse memory regions for Application core
2023-03-16T13:57:43.766Z INFO Update files regions according to Application core
2023-03-16T13:57:43.766Z INFO Parse memory regions for file
2023-03-16T13:57:43.777Z INFO Device is loaded and ready for further operation

And this is the output when I click on "read", so everything is OK for Thingy 91:

When I searched in the devzone for similar problems , I came accross this ticket:

https://devzone.nordicsemi.com/f/nordic-q-a/62925/failed-to-erase-flash-for-nrf5340

So I tried nrfjprog to access & erase.

it again works fine with Thingy:91:

and if we read the memory with the programmer, it's totally empty:

However for the thingy 53, I can't erase or even read with the nrfjprog (recover):

Same thing happens with the Network core. And as far as I can tell, after each access attempt (be it read/write/recover), the thingy53 gets a reset.

nrfjprog version: 10.19.0 external
JLinkARM.dll version: 7.80c

programmer version 3.0.7

I hope you can support me with this problem.

Regards

Selim

Related