Dear All;
I'm looking to flash a RIOT-OS image onto the Thingy52 via the J-LINK OB on the nRF9160 DK. I'm using Linux and both nrfjprog and JLinkExe detects the programmer, but can't connect to the target. Same result from nRF Connect Programmer.
Firmware: J-Link OB-K22-NordicSemi compiled Feb 14 2019 14:03:18
Hardware: V1.00
nrfjprog version: 10.2.1
JLinkARM.dll version: 6.48a
The debug interface on the Thingy52 is connected via a ribbon cable to the 5x2 DEBUG Out connector P22 on the DK.
As a simple test I'm trying to backup the Thingy52 contents: nrfjprog --family nRF52 --readcode bkp.hex --log
JLink INFO JLINK_IsConnected()
JLink INFO returns FALSE
JLink INFO JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
JLink INFO returns -1
JLink INFO (0001ms, 1365ms total)
JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
I have not changed any jumper settings from the defaults on the DK, just upgraded to the latest modem firmware.
When disconnecting the Thingy52 from the DK, it seems to read the onboard targets fine. The Thingy52 by itself also works fine.
Regards;