Hi,
I am using Segger Jlink with SWD interface
nrfjprog used to work perfectly fine for me but, suddenly, I cannot run any nrfjprog commands, I get the error JLinkARM DLL reported an error.
Also, the nrfConnect programmer app cannot connect to my device anymore
My Jlink connection with the device is fine, I can connect to the device, see RTT output and debug
I think maybe a full erase of the device would help, but, how can I do it without nrfjprog or nrfConnect?
Here is the nrfjprog log:
2019-Jul-03 10:13:18 --------------------------------------------------------------------------------
2019-Jul-03 10:13:18 nrfjprog -f nrf52 --reset --log
2019-Jul-03 10:13:18 nrfjprog version 9.8.1
2019-Jul-03 10:13:18 --------------------------------------------------------------------------------
2019-Jul-03 10:13:18 nRF_open_dll
2019-Jul-03 10:13:18 . nRF52_open_dll
2019-Jul-03 10:13:18 . . nRF52_dll_version
2019-Jul-03 10:13:18 nRF_enum_emu_snr
2019-Jul-03 10:13:18 . nRF52_enum_emu_snr
2019-Jul-03 10:13:18 . . nRF52_enum_emu_snr
2019-Jul-03 10:13:18 nRF_enum_emu_snr
2019-Jul-03 10:13:18 . nRF52_enum_emu_snr
2019-Jul-03 10:13:18 . . nRF52_enum_emu_snr
2019-Jul-03 10:13:18 nRF_connect_to_emu_with_snr
2019-Jul-03 10:13:18 . nRF52_connect_to_emu_with_snr
2019-Jul-03 10:13:18 . . nRF52_is_connected_to_emu
2019-Jul-03 10:13:18 . . nRF52_enum_emu_snr
2019-Jul-03 10:13:18 . . nRF52_connect_to_emu_with_snr
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: Firmware: J-Link V9 compiled Oct 25 2018 11:46:07
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: Hardware: V9.40
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: S/N: 59401919
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: Feature(s): RDI, GDB, FlashDL, FlashBP, JFlash
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: TELNET listener socket opened on port 19021
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: WEBSRV Starting webserver
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: (0023ms, 0025ms total)
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: TAACC5C0 000:003
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: WEBSRV Webserver running on local port 19081
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: (0023ms, 0025ms total)
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: TAACC5C0 000:003
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: returns O.K.
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: (0023ms, 0025ms total)
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: TAACC5C0 000:026
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_GetHWStatus(...)
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: (0002ms, 0027ms total)
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: There is no generic nRF52 device in J-Link, so we select NRF52832_xxAA.
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: TAACC5C0 000:028
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("Device = NRF52832_xxAA", ...).
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: XML file found at: /Applications/SEGGER/JLink//JLinkDevices.xml
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: (0000ms, 0027ms total)
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: TAACC5C0 000:028
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: /Applications/SEGGER/JLink/JLinkDevices.xml evaluated successfully.
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: Device "NRF52832_XXAA" selected.
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: Device "NRF52832_XXAA" selected.
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: (0048ms, 0075ms total)
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: TAACC5C0 000:076
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("SetRestartOnClose = 0", ...).
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x01
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: (0000ms, 0076ms total)
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: TAACC5C0 000:077
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("DisableFlashDL", ...).
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: (0000ms, 0076ms total)
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: TAACC5C0 000:077
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("SetDbgPowerDownOnClose = 1", ...).
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x01
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: (0000ms, 0076ms total)
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: TAACC5C0 000:077
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: (0000ms, 0077ms total)
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: TAACC5C0 000:078
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_TIF_Select(JLINKARM_TIF_SWD)
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: (0002ms, 0079ms total)
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: TAACC5C0 000:080
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_SetSpeed(2000)
2019-Jul-03 10:13:18 . . . nRF52_connect_to_emu_without_snr: JLink: (0002ms, 0081ms total)
2019-Jul-03 10:13:18 nRF_read_device_version
2019-Jul-03 10:13:18 . nRF52_read_device_version
2019-Jul-03 10:13:18 . . nRF52_is_connected_to_emu
2019-Jul-03 10:13:18 . . nRF52_is_connected_to_emu: JLink: TAACC5C0 000:083
2019-Jul-03 10:13:18 . . nRF52_is_connected_to_emu: JLink: JLINK_IsOpen()
2019-Jul-03 10:13:18 . . nRF52_is_connected_to_emu: JLink: returns 0x01
2019-Jul-03 10:13:18 . . nRF52_is_connected_to_emu: JLink: (0001ms, 0082ms total)
2019-Jul-03 10:13:18 . . nRF52_is_connected_to_device
2019-Jul-03 10:13:18 . . nRF52_is_connected_to_device: JLink: TAACC5C0 000:084
2019-Jul-03 10:13:18 . . nRF52_is_connected_to_device: JLink: JLINK_IsConnected()
2019-Jul-03 10:13:18 . . nRF52_is_connected_to_device: JLink: returns FALSE
2019-Jul-03 10:13:18 . . nRF52_is_connected_to_device: JLink: (0000ms, 0082ms total)
2019-Jul-03 10:13:18 . . nRF52_readback_status
2019-Jul-03 10:13:18 . . . nRF52_is_ctrl_ap_available
2019-Jul-03 10:13:18 . . . . nRF52_read_access_port_register
2019-Jul-03 10:13:18 . . . . . nRF52_coresight_configure
2019-Jul-03 10:13:18 . . . . . nRF52_coresight_configure: JLink: TAACC5C0 000:084
2019-Jul-03 10:13:18 . . . . . nRF52_coresight_configure: JLink: JLINK_CORESIGHT_Configure()
2019-Jul-03 10:13:18 . . . . . nRF52_coresight_configure: JLink: returns 0
2019-Jul-03 10:13:18 . . . . . nRF52_coresight_configure: JLink: (0101ms, 0183ms total)
2019-Jul-03 10:13:18 . . . . . nRF52_power_debug_and_system_regions
2019-Jul-03 10:13:18 . . . . . . nRF52_write_debug_port_register
2019-Jul-03 10:13:18 . . . . . . nRF52_write_debug_port_register: JLink: TAACC5C0 000:185
2019-Jul-03 10:13:18 . . . . . . nRF52_write_debug_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
2019-Jul-03 10:13:18 . . . . . . nRF52_write_debug_port_register: JLink: returns -1
2019-Jul-03 10:13:18 . . . . . . nRF52_write_debug_port_register: JLink: (0002ms, 0185ms total)
2019-Jul-03 10:13:18 . . . . . . nRF52_write_debug_port_register: JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
2019-Jul-03 10:13:18 . . . . . nRF52_power_debug_and_system_regions: JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.
2019-Jul-03 10:13:18 nRF_close_dll
2019-Jul-03 10:13:18 . nRF52_close_dll
2019-Jul-03 10:13:18 . . nRF52_is_connected_to_emu
2019-Jul-03 10:13:18 . . nRF52_is_connected_to_emu: JLink: TAACC5C0 000:187
2019-Jul-03 10:13:18 . . nRF52_is_connected_to_emu: JLink: JLINK_IsOpen()
2019-Jul-03 10:13:18 . . nRF52_is_connected_to_emu: JLink: returns 0x01
2019-Jul-03 10:13:18 . . nRF52_is_connected_to_emu: JLink: (0000ms, 0185ms total)
2019-Jul-03 10:13:18 . . nRF52_disconnect_from_emu
2019-Jul-03 10:13:18 . . . nRF52_is_connected_to_device
2019-Jul-03 10:13:18 . . . nRF52_is_connected_to_device: JLink: TAACC5C0 000:188
2019-Jul-03 10:13:18 . . . nRF52_is_connected_to_device: JLink: JLINK_IsConnected()
2019-Jul-03 10:13:18 . . . nRF52_is_connected_to_device: JLink: returns FALSE
2019-Jul-03 10:13:18 . . . nRF52_is_connected_to_device: JLink: (0000ms, 0186ms total)
2019-Jul-03 10:13:18 . . . nRF52_unpower_debug_and_system_regions
2019-Jul-03 10:13:18 . . nRF52_disconnect_from_emu: JLink: TAACC5C0 000:201
2019-Jul-03 10:13:18 . . nRF52_disconnect_from_emu: JLink: JLINK_Close()
2019-Jul-03 10:13:46 --------------------------------------------------------------------------------
2019-Jul-03 10:13:46 nrfjprog -f nrf52 --reset --log
2019-Jul-03 10:13:46 nrfjprog version 9.8.1
2019-Jul-03 10:13:46 --------------------------------------------------------------------------------
2019-Jul-03 10:13:46 nRF_open_dll
2019-Jul-03 10:13:46 . nRF52_open_dll
2019-Jul-03 10:13:46 . . nRF52_dll_version
2019-Jul-03 10:13:46 nRF_enum_emu_snr
2019-Jul-03 10:13:46 . nRF52_enum_emu_snr
2019-Jul-03 10:13:46 . . nRF52_enum_emu_snr
2019-Jul-03 10:13:46 nRF_enum_emu_snr
2019-Jul-03 10:13:46 . nRF52_enum_emu_snr
2019-Jul-03 10:13:46 . . nRF52_enum_emu_snr
2019-Jul-03 10:13:46 nRF_connect_to_emu_with_snr
2019-Jul-03 10:13:46 . nRF52_connect_to_emu_with_snr
2019-Jul-03 10:13:46 . . nRF52_is_connected_to_emu
2019-Jul-03 10:13:46 . . nRF52_enum_emu_snr
2019-Jul-03 10:13:46 . . nRF52_connect_to_emu_with_snr
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: Firmware: J-Link V9 compiled Oct 25 2018 11:46:07
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: Hardware: V9.40
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: S/N: 59401919
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: Feature(s): RDI, GDB, FlashDL, FlashBP, JFlash
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: TELNET listener socket opened on port 19021
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: WEBSRV Starting webserver
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: (0026ms, 0029ms total)
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: TB9CA5C0 000:003
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: WEBSRV Webserver running on local port 19081
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: (0026ms, 0029ms total)
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: TB9CA5C0 000:003
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: returns O.K.
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: (0026ms, 0029ms total)
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: TB9CA5C0 000:029
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_GetHWStatus(...)
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: (0002ms, 0031ms total)
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: There is no generic nRF52 device in J-Link, so we select NRF52832_xxAA.
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: TB9CA5C0 000:031
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("Device = NRF52832_xxAA", ...).
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: XML file found at: /Applications/SEGGER/JLink//JLinkDevices.xml
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: (0001ms, 0032ms total)
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: TB9CA5C0 000:031
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: /Applications/SEGGER/JLink/JLinkDevices.xml evaluated successfully.
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: Device "NRF52832_XXAA" selected.
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: Device "NRF52832_XXAA" selected.
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: (0048ms, 0079ms total)
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: TB9CA5C0 000:079
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("SetRestartOnClose = 0", ...).
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x01
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: (0000ms, 0079ms total)
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: TB9CA5C0 000:079
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("DisableFlashDL", ...).
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: (0000ms, 0079ms total)
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: TB9CA5C0 000:080
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("SetDbgPowerDownOnClose = 1", ...).
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x01
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: (0000ms, 0080ms total)
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: TB9CA5C0 000:080
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: (0000ms, 0080ms total)
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: TB9CA5C0 000:080
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_TIF_Select(JLINKARM_TIF_SWD)
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: (0004ms, 0084ms total)
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: TB9CA5C0 000:084
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_SetSpeed(2000)
2019-Jul-03 10:13:46 . . . nRF52_connect_to_emu_without_snr: JLink: (0001ms, 0085ms total)
2019-Jul-03 10:13:46 nRF_read_device_version
2019-Jul-03 10:13:46 . nRF52_read_device_version
2019-Jul-03 10:13:46 . . nRF52_is_connected_to_emu
2019-Jul-03 10:13:46 . . nRF52_is_connected_to_emu: JLink: TB9CA5C0 000:086
2019-Jul-03 10:13:46 . . nRF52_is_connected_to_emu: JLink: JLINK_IsOpen()
2019-Jul-03 10:13:46 . . nRF52_is_connected_to_emu: JLink: returns 0x01
2019-Jul-03 10:13:46 . . nRF52_is_connected_to_emu: JLink: (0000ms, 0085ms total)
2019-Jul-03 10:13:46 . . nRF52_is_connected_to_device
2019-Jul-03 10:13:46 . . nRF52_is_connected_to_device: JLink: TB9CA5C0 000:086
2019-Jul-03 10:13:46 . . nRF52_is_connected_to_device: JLink: JLINK_IsConnected()
2019-Jul-03 10:13:46 . . nRF52_is_connected_to_device: JLink: returns FALSE
2019-Jul-03 10:13:46 . . nRF52_is_connected_to_device: JLink: (0000ms, 0085ms total)
2019-Jul-03 10:13:46 . . nRF52_readback_status
2019-Jul-03 10:13:46 . . . nRF52_is_ctrl_ap_available
2019-Jul-03 10:13:46 . . . . nRF52_read_access_port_register
2019-Jul-03 10:13:46 . . . . . nRF52_coresight_configure
2019-Jul-03 10:13:46 . . . . . nRF52_coresight_configure: JLink: TB9CA5C0 000:086
2019-Jul-03 10:13:46 . . . . . nRF52_coresight_configure: JLink: JLINK_CORESIGHT_Configure()
2019-Jul-03 10:13:46 . . . . . nRF52_coresight_configure: JLink: returns 0
2019-Jul-03 10:13:46 . . . . . nRF52_coresight_configure: JLink: (0105ms, 0190ms total)
2019-Jul-03 10:13:46 . . . . . nRF52_power_debug_and_system_regions
2019-Jul-03 10:13:46 . . . . . . nRF52_write_debug_port_register
2019-Jul-03 10:13:46 . . . . . . nRF52_write_debug_port_register: JLink: TB9CA5C0 000:191
2019-Jul-03 10:13:46 . . . . . . nRF52_write_debug_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
2019-Jul-03 10:13:46 . . . . . . nRF52_write_debug_port_register: JLink: returns -1
2019-Jul-03 10:13:46 . . . . . . nRF52_write_debug_port_register: JLink: (0002ms, 0192ms total)
2019-Jul-03 10:13:46 . . . . . . nRF52_write_debug_port_register: JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
2019-Jul-03 10:13:46 . . . . . nRF52_power_debug_and_system_regions: JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.
2019-Jul-03 10:13:46 nRF_close_dll
2019-Jul-03 10:13:46 . nRF52_close_dll
2019-Jul-03 10:13:46 . . nRF52_is_connected_to_emu
2019-Jul-03 10:13:46 . . nRF52_is_connected_to_emu: JLink: TB9CA5C0 000:194
2019-Jul-03 10:13:46 . . nRF52_is_connected_to_emu: JLink: JLINK_IsOpen()
2019-Jul-03 10:13:46 . . nRF52_is_connected_to_emu: JLink: returns 0x01
2019-Jul-03 10:13:46 . . nRF52_is_connected_to_emu: JLink: (0000ms, 0192ms total)
2019-Jul-03 10:13:46 . . nRF52_disconnect_from_emu
2019-Jul-03 10:13:46 . . . nRF52_is_connected_to_device
2019-Jul-03 10:13:46 . . . nRF52_is_connected_to_device: JLink: TB9CA5C0 000:194
2019-Jul-03 10:13:46 . . . nRF52_is_connected_to_device: JLink: JLINK_IsConnected()
2019-Jul-03 10:13:46 . . . nRF52_is_connected_to_device: JLink: returns FALSE
2019-Jul-03 10:13:46 . . . nRF52_is_connected_to_device: JLink: (0000ms, 0192ms total)
2019-Jul-03 10:13:46 . . . nRF52_unpower_debug_and_system_regions
2019-Jul-03 10:13:46 . . nRF52_disconnect_from_emu: JLink: TB9CA5C0 000:205
2019-Jul-03 10:13:46 . . nRF52_disconnect_from_emu: JLink: JLINK_Close()
Thanks