Having problems with nrfjprog and a custom board. I connected my custom board to the NDK via P20 and flashed a program to it. The program was a variant of the pwm_library. The initial flash reported ok but program did not seem to work correctly so made some changes I flashed it again. The second (and any subsequent) attempts all return an error. Here is my erase sequence and the responses:
nrfjprog -f NRF52 -e.
Response: ERROR: JLinkARM DLL reported an error. Try again. If error condition persists, run the same command with argument --log.
I did here is the log:
2019-Jan-31 21:11:40 --------------------------------------------------------------------------------
2019-Jan-31 21:11:40 nrfjprog -f nrf52 --recover --log
2019-Jan-31 21:11:40 nrfjprog version 9.8.1
2019-Jan-31 21:11:40 --------------------------------------------------------------------------------
2019-Jan-31 21:11:41 nRF_open_dll
2019-Jan-31 21:11:41 . nRF52_open_dll
2019-Jan-31 21:11:41 . . nRF52_dll_version
2019-Jan-31 21:11:41 nRF_enum_emu_snr
2019-Jan-31 21:11:41 . nRF52_enum_emu_snr
2019-Jan-31 21:11:41 . . nRF52_enum_emu_snr
2019-Jan-31 21:11:41 nRF_enum_emu_snr
2019-Jan-31 21:11:41 . nRF52_enum_emu_snr
2019-Jan-31 21:11:41 . . nRF52_enum_emu_snr
2019-Jan-31 21:11:41 nRF_connect_to_emu_with_snr
2019-Jan-31 21:11:41 . nRF52_connect_to_emu_with_snr
2019-Jan-31 21:11:41 . . nRF52_is_connected_to_emu
2019-Jan-31 21:11:41 . . nRF52_enum_emu_snr
2019-Jan-31 21:11:41 . . nRF52_connect_to_emu_with_snr
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jul 12 2018 11:44:41
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: Hardware: V1.00
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: S/N: 682796360
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: TELNET listener socket opened on port 19021
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: WEBSRV Starting webserver
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: (0038ms, 0057ms total)
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: WEBSRV Webserver running on local port 19080
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: (0041ms, 0060ms total)
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: returns O.K.
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: (0045ms, 0064ms total)
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_GetHWStatus(...)
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: (0004ms, 0070ms total)
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: There is no generic nRF52 device in J-Link, so we select NRF52832_xxAA.
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("Device = NRF52832_xxAA", ...).
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: XML file found at: C:\Program Files (x86)\SEGGER\JLink_V640\JLinkDevices.xml
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: (0002ms, 0075ms total)
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: C:\Program Files (x86)\SEGGER\JLink_V640\JLinkDevices.xml evaluated successfully.
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: Device "NRF52832_XXAA" selected.
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: Device "NRF52832_XXAA" selected.
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: (0101ms, 0174ms total)
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("SetRestartOnClose = 0", ...).
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x01
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: (0002ms, 0179ms total)
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("DisableFlashDL", ...).
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: (0001ms, 0184ms total)
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("SetDbgPowerDownOnClose = 1", ...).
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x01
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: (0001ms, 0188ms total)
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: (0002ms, 0193ms total)
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_TIF_Select(JLINKARM_TIF_SWD)
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: (0003ms, 0198ms total)
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_SetSpeed(2000)
2019-Jan-31 21:11:41 . . . nRF52_connect_to_emu_without_snr: JLink: (0002ms, 0202ms total)
2019-Jan-31 21:11:41 nRF_recover
2019-Jan-31 21:11:41 . nRF52_recover
2019-Jan-31 21:11:41 . . nRF52_is_connected_to_emu
2019-Jan-31 21:11:41 . . nRF52_is_connected_to_emu: JLink: JLINK_IsOpen()
2019-Jan-31 21:11:41 . . nRF52_is_connected_to_emu: JLink: returns 0x01
2019-Jan-31 21:11:41 . . nRF52_is_connected_to_emu: JLink: (0003ms, 0206ms total)
2019-Jan-31 21:11:41 . . nRF52_is_connected_to_device
2019-Jan-31 21:11:41 . . nRF52_is_connected_to_device: JLink: JLINK_IsConnected()
2019-Jan-31 21:11:41 . . nRF52_is_connected_to_device: JLink: returns FALSE
2019-Jan-31 21:11:41 . . nRF52_is_connected_to_device: JLink: (0004ms, 0212ms total)
2019-Jan-31 21:11:41 . . nRF52_readback_status
2019-Jan-31 21:11:41 . . . nRF52_is_ctrl_ap_available
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register
2019-Jan-31 21:11:41 . . . . . nRF52_coresight_configure
2019-Jan-31 21:11:41 . . . . . nRF52_coresight_configure: JLink: JLINK_CORESIGHT_Configure()
2019-Jan-31 21:11:41 . . . . . nRF52_coresight_configure: JLink: returns 0
2019-Jan-31 21:11:41 . . . . . nRF52_coresight_configure: JLink: (0004ms, 0217ms total)
2019-Jan-31 21:11:41 . . . . . nRF52_power_debug_and_system_regions
2019-Jan-31 21:11:41 . . . . . . nRF52_write_debug_port_register
2019-Jan-31 21:11:41 . . . . . . nRF52_write_debug_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
2019-Jan-31 21:11:41 . . . . . . nRF52_write_debug_port_register: JLink: returns 0
2019-Jan-31 21:11:41 . . . . . . nRF52_write_debug_port_register: JLink: (0004ms, 0223ms total)
2019-Jan-31 21:11:41 . . . . . . nRF52_write_debug_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x01, 0x50000000)
2019-Jan-31 21:11:41 . . . . . . nRF52_write_debug_port_register: JLink: returns 0
2019-Jan-31 21:11:41 . . . . . . nRF52_write_debug_port_register: JLink: (0003ms, 0228ms total)
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: (0004ms, 0234ms total)
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: -- Value=0x00000000
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: (0005ms, 0241ms total)
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: (0005ms, 0247ms total)
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: -- Value=0x00000000
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: (0004ms, 0252ms total)
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: (0002ms, 0255ms total)
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: -- Value=0x00000000
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: (0002ms, 0257ms total)
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: (0001ms, 0259ms total)
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: -- Value=0x00000000
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:11:41 . . . . nRF52_read_access_port_register: JLink: (0002ms, 0262ms total)
2019-Jan-31 21:11:41 . . nRF52_connect_to_device
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: JLINK_Connect()
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x10B TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x28 TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x10B TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x35 TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: ***** Error:
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: DAP error while reading DP-Ctrl-Stat register.
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x35 TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x35 TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x35 TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x35 TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x10B TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x28 TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x10B TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: >0x35 TIF>
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: returns 0xFFFFFEFB
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: (0287ms, 0550ms total)
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: DAP error while reading DP-Ctrl-Stat register.
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLinkARM.dll reported error ÿ at line 5842.
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: JLINK_ClrError()
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLink: (0000ms, 0550ms total)
2019-Jan-31 21:11:41 . . nRF52_connect_to_device: JLinkARM.dll Connect returned error -261.
2019-Jan-31 21:11:41 nRF_close_dll
2019-Jan-31 21:11:41 . nRF52_close_dll
2019-Jan-31 21:11:41 . . nRF52_is_connected_to_emu
2019-Jan-31 21:11:41 . . nRF52_is_connected_to_emu: JLink: JLINK_IsOpen()
2019-Jan-31 21:11:41 . . nRF52_is_connected_to_emu: JLink: returns 0x01
2019-Jan-31 21:11:41 . . nRF52_is_connected_to_emu: JLink: (0002ms, 0553ms total)
2019-Jan-31 21:11:41 . . nRF52_disconnect_from_emu
2019-Jan-31 21:11:41 . . . nRF52_is_connected_to_device
2019-Jan-31 21:11:41 . . . nRF52_is_connected_to_device: JLink: JLINK_IsConnected()
2019-Jan-31 21:11:41 . . . nRF52_is_connected_to_device: JLink: returns FALSE
2019-Jan-31 21:11:41 . . . nRF52_is_connected_to_device: JLink: (0002ms, 0555ms total)
2019-Jan-31 21:11:41 . . . nRF52_unpower_debug_and_system_regions
2019-Jan-31 21:11:41 . . . . nRF52_write_debug_port_register
2019-Jan-31 21:11:41 . . . . nRF52_write_debug_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
2019-Jan-31 21:11:41 . . . . nRF52_write_debug_port_register: JLink: returns 0
2019-Jan-31 21:11:41 . . . . nRF52_write_debug_port_register: JLink: (0002ms, 0557ms total)
2019-Jan-31 21:11:41 . . . . nRF52_write_debug_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x01, 0x00000000)
2019-Jan-31 21:11:41 . . . . nRF52_write_debug_port_register: JLink: returns 0
2019-Jan-31 21:11:41 . . . . nRF52_write_debug_port_register: JLink: (0001ms, 0559ms total)
2019-Jan-31 21:11:41 . . . . nRF52_read_debug_port_register
2019-Jan-31 21:11:41 . . . . nRF52_read_debug_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
2019-Jan-31 21:11:41 . . . . nRF52_read_debug_port_register: JLink: returns 0
2019-Jan-31 21:11:41 . . . . nRF52_read_debug_port_register: JLink: (0002ms, 0562ms total)
2019-Jan-31 21:11:41 . . . . nRF52_read_debug_port_register: JLink: JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x01)
2019-Jan-31 21:11:41 . . . . nRF52_read_debug_port_register: JLink: -- Value=0x00000000
2019-Jan-31 21:11:41 . . . . nRF52_read_debug_port_register: JLink: returns 0
2019-Jan-31 21:11:41 . . . . nRF52_read_debug_port_register: JLink: (0003ms, 0565ms total)
2019-Jan-31 21:11:41 . . nRF52_disconnect_from_emu: JLink: JLINK_Close()
2019-Jan-31 21:12:07 --------------------------------------------------------------------------------
2019-Jan-31 21:12:07 nrfjprog -f NRF52 --recover --log
2019-Jan-31 21:12:07 nrfjprog version 9.8.1
2019-Jan-31 21:12:07 --------------------------------------------------------------------------------
2019-Jan-31 21:12:07 nRF_open_dll
2019-Jan-31 21:12:07 . nRF52_open_dll
2019-Jan-31 21:12:07 . . nRF52_dll_version
2019-Jan-31 21:12:07 nRF_enum_emu_snr
2019-Jan-31 21:12:07 . nRF52_enum_emu_snr
2019-Jan-31 21:12:07 . . nRF52_enum_emu_snr
2019-Jan-31 21:12:07 nRF_enum_emu_snr
2019-Jan-31 21:12:07 . nRF52_enum_emu_snr
2019-Jan-31 21:12:07 . . nRF52_enum_emu_snr
2019-Jan-31 21:12:07 nRF_connect_to_emu_with_snr
2019-Jan-31 21:12:07 . nRF52_connect_to_emu_with_snr
2019-Jan-31 21:12:07 . . nRF52_is_connected_to_emu
2019-Jan-31 21:12:07 . . nRF52_enum_emu_snr
2019-Jan-31 21:12:07 . . nRF52_connect_to_emu_with_snr
2019-Jan-31 21:12:07 . . . nRF52_connect_to_emu_without_snr
2019-Jan-31 21:12:07 . . . nRF52_connect_to_emu_without_snr: JLink: Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jul 12 2018 11:44:41
2019-Jan-31 21:12:07 . . . nRF52_connect_to_emu_without_snr: JLink: Hardware: V1.00
2019-Jan-31 21:12:07 . . . nRF52_connect_to_emu_without_snr: JLink: S/N: 682796360
2019-Jan-31 21:12:07 . . . nRF52_connect_to_emu_without_snr: JLink: TELNET listener socket opened on port 19021
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: WEBSRV Starting webserver
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: (0037ms, 0054ms total)
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: WEBSRV Webserver running on local port 19080
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: (0039ms, 0056ms total)
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: returns O.K.
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: (0040ms, 0057ms total)
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_GetHWStatus(...)
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: (0002ms, 0060ms total)
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: There is no generic nRF52 device in J-Link, so we select NRF52832_xxAA.
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("Device = NRF52832_xxAA", ...).
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: XML file found at: C:\Program Files (x86)\SEGGER\JLink_V640\JLinkDevices.xml
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: (0001ms, 0062ms total)
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: C:\Program Files (x86)\SEGGER\JLink_V640\JLinkDevices.xml evaluated successfully.
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: Device "NRF52832_XXAA" selected.
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: Device "NRF52832_XXAA" selected.
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: (0081ms, 0142ms total)
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("SetRestartOnClose = 0", ...).
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x01
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: (0000ms, 0144ms total)
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("DisableFlashDL", ...).
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: (0001ms, 0146ms total)
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("SetDbgPowerDownOnClose = 1", ...).
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x01
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: (0001ms, 0148ms total)
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: (0001ms, 0150ms total)
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_TIF_Select(JLINKARM_TIF_SWD)
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: (0002ms, 0152ms total)
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_SetSpeed(2000)
2019-Jan-31 21:12:08 . . . nRF52_connect_to_emu_without_snr: JLink: (0000ms, 0153ms total)
2019-Jan-31 21:12:08 nRF_recover
2019-Jan-31 21:12:08 . nRF52_recover
2019-Jan-31 21:12:08 . . nRF52_is_connected_to_emu
2019-Jan-31 21:12:08 . . nRF52_is_connected_to_emu: JLink: JLINK_IsOpen()
2019-Jan-31 21:12:08 . . nRF52_is_connected_to_emu: JLink: returns 0x01
2019-Jan-31 21:12:08 . . nRF52_is_connected_to_emu: JLink: (0001ms, 0155ms total)
2019-Jan-31 21:12:08 . . nRF52_is_connected_to_device
2019-Jan-31 21:12:08 . . nRF52_is_connected_to_device: JLink: JLINK_IsConnected()
2019-Jan-31 21:12:08 . . nRF52_is_connected_to_device: JLink: returns FALSE
2019-Jan-31 21:12:08 . . nRF52_is_connected_to_device: JLink: (0001ms, 0157ms total)
2019-Jan-31 21:12:08 . . nRF52_readback_status
2019-Jan-31 21:12:08 . . . nRF52_is_ctrl_ap_available
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register
2019-Jan-31 21:12:08 . . . . . nRF52_coresight_configure
2019-Jan-31 21:12:08 . . . . . nRF52_coresight_configure: JLink: JLINK_CORESIGHT_Configure()
2019-Jan-31 21:12:08 . . . . . nRF52_coresight_configure: JLink: returns 0
2019-Jan-31 21:12:08 . . . . . nRF52_coresight_configure: JLink: (0003ms, 0161ms total)
2019-Jan-31 21:12:08 . . . . . nRF52_power_debug_and_system_regions
2019-Jan-31 21:12:08 . . . . . . nRF52_write_debug_port_register
2019-Jan-31 21:12:08 . . . . . . nRF52_write_debug_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
2019-Jan-31 21:12:08 . . . . . . nRF52_write_debug_port_register: JLink: returns 0
2019-Jan-31 21:12:08 . . . . . . nRF52_write_debug_port_register: JLink: (0002ms, 0163ms total)
2019-Jan-31 21:12:08 . . . . . . nRF52_write_debug_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x01, 0x50000000)
2019-Jan-31 21:12:08 . . . . . . nRF52_write_debug_port_register: JLink: returns 0
2019-Jan-31 21:12:08 . . . . . . nRF52_write_debug_port_register: JLink: (0002ms, 0166ms total)
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: (0002ms, 0168ms total)
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: -- Value=0x00000000
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: (0002ms, 0171ms total)
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: (0002ms, 0174ms total)
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: -- Value=0x00000000
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: (0002ms, 0176ms total)
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: (0002ms, 0179ms total)
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: -- Value=0x00000000
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: (0002ms, 0182ms total)
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: (0002ms, 0184ms total)
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: -- Value=0x00000000
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:12:08 . . . . nRF52_read_access_port_register: JLink: (0003ms, 0187ms total)
2019-Jan-31 21:12:08 . . nRF52_connect_to_device
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: JLINK_Connect()
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x10B TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x28 TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x10B TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x35 TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: ***** Error:
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: DAP error while reading DP-Ctrl-Stat register.
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x35 TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x35 TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x35 TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x35 TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x10B TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x28 TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x10B TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: >0x35 TIF>
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: returns 0xFFFFFEFB
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: (0286ms, 0473ms total)
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: DAP error while reading DP-Ctrl-Stat register.
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLinkARM.dll reported error ÿ at line 5842.
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: JLINK_ClrError()
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLink: (0000ms, 0473ms total)
2019-Jan-31 21:12:08 . . nRF52_connect_to_device: JLinkARM.dll Connect returned error -261.
2019-Jan-31 21:12:08 nRF_close_dll
2019-Jan-31 21:12:08 . nRF52_close_dll
2019-Jan-31 21:12:08 . . nRF52_is_connected_to_emu
2019-Jan-31 21:12:08 . . nRF52_is_connected_to_emu: JLink: JLINK_IsOpen()
2019-Jan-31 21:12:08 . . nRF52_is_connected_to_emu: JLink: returns 0x01
2019-Jan-31 21:12:08 . . nRF52_is_connected_to_emu: JLink: (0001ms, 0475ms total)
2019-Jan-31 21:12:08 . . nRF52_disconnect_from_emu
2019-Jan-31 21:12:08 . . . nRF52_is_connected_to_device
2019-Jan-31 21:12:08 . . . nRF52_is_connected_to_device: JLink: JLINK_IsConnected()
2019-Jan-31 21:12:08 . . . nRF52_is_connected_to_device: JLink: returns FALSE
2019-Jan-31 21:12:08 . . . nRF52_is_connected_to_device: JLink: (0001ms, 0477ms total)
2019-Jan-31 21:12:08 . . . nRF52_unpower_debug_and_system_regions
2019-Jan-31 21:12:08 . . . . nRF52_write_debug_port_register
2019-Jan-31 21:12:08 . . . . nRF52_write_debug_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
2019-Jan-31 21:12:08 . . . . nRF52_write_debug_port_register: JLink: returns 0
2019-Jan-31 21:12:08 . . . . nRF52_write_debug_port_register: JLink: (0002ms, 0480ms total)
2019-Jan-31 21:12:08 . . . . nRF52_write_debug_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x01, 0x00000000)
2019-Jan-31 21:12:08 . . . . nRF52_write_debug_port_register: JLink: returns 0
2019-Jan-31 21:12:08 . . . . nRF52_write_debug_port_register: JLink: (0002ms, 0482ms total)
2019-Jan-31 21:12:08 . . . . nRF52_read_debug_port_register
2019-Jan-31 21:12:08 . . . . nRF52_read_debug_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
2019-Jan-31 21:12:08 . . . . nRF52_read_debug_port_register: JLink: returns 0
2019-Jan-31 21:12:08 . . . . nRF52_read_debug_port_register: JLink: (0002ms, 0484ms total)
2019-Jan-31 21:12:08 . . . . nRF52_read_debug_port_register: JLink: JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x01)
2019-Jan-31 21:12:08 . . . . nRF52_read_debug_port_register: JLink: -- Value=0x00000000
2019-Jan-31 21:12:08 . . . . nRF52_read_debug_port_register: JLink: returns 0
2019-Jan-31 21:12:08 . . . . nRF52_read_debug_port_register: JLink: (0002ms, 0486ms total)
2019-Jan-31 21:12:08 . . nRF52_disconnect_from_emu: JLink: JLINK_Close()
2019-Jan-31 21:15:19 --------------------------------------------------------------------------------
2019-Jan-31 21:15:19 nrfjprog -f NRF52 --recover --log
2019-Jan-31 21:15:19 nrfjprog version 9.8.1
2019-Jan-31 21:15:19 --------------------------------------------------------------------------------
2019-Jan-31 21:15:19 nRF_open_dll
2019-Jan-31 21:15:19 . nRF52_open_dll
2019-Jan-31 21:15:19 . . nRF52_dll_version
2019-Jan-31 21:15:19 nRF_enum_emu_snr
2019-Jan-31 21:15:19 . nRF52_enum_emu_snr
2019-Jan-31 21:15:19 . . nRF52_enum_emu_snr
2019-Jan-31 21:15:19 nRF_enum_emu_snr
2019-Jan-31 21:15:19 . nRF52_enum_emu_snr
2019-Jan-31 21:15:19 . . nRF52_enum_emu_snr
2019-Jan-31 21:15:19 nRF_connect_to_emu_with_snr
2019-Jan-31 21:15:19 . nRF52_connect_to_emu_with_snr
2019-Jan-31 21:15:19 . . nRF52_is_connected_to_emu
2019-Jan-31 21:15:19 . . nRF52_enum_emu_snr
2019-Jan-31 21:15:19 . . nRF52_connect_to_emu_with_snr
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jul 12 2018 11:44:41
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: Hardware: V1.00
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: S/N: 682796360
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: TELNET listener socket opened on port 19021
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: WEBSRV Starting webserver
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: (0024ms, 0042ms total)
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: WEBSRV Webserver running on local port 19080
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: (0025ms, 0043ms total)
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: returns O.K.
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: (0026ms, 0044ms total)
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_GetHWStatus(...)
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: (0001ms, 0045ms total)
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: There is no generic nRF52 device in J-Link, so we select NRF52832_xxAA.
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("Device = NRF52832_xxAA", ...).
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: XML file found at: C:\Program Files (x86)\SEGGER\JLink_V640\JLinkDevices.xml
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: (0001ms, 0046ms total)
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: C:\Program Files (x86)\SEGGER\JLink_V640\JLinkDevices.xml evaluated successfully.
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: Device "NRF52832_XXAA" selected.
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: Device "NRF52832_XXAA" selected.
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: (0098ms, 0143ms total)
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("SetRestartOnClose = 0", ...).
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x01
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: (0000ms, 0144ms total)
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("DisableFlashDL", ...).
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: (0000ms, 0145ms total)
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("SetDbgPowerDownOnClose = 1", ...).
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x01
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: (0000ms, 0146ms total)
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: (0000ms, 0147ms total)
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_TIF_Select(JLINKARM_TIF_SWD)
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: (0001ms, 0148ms total)
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_SetSpeed(2000)
2019-Jan-31 21:15:19 . . . nRF52_connect_to_emu_without_snr: JLink: (0000ms, 0149ms total)
2019-Jan-31 21:15:19 nRF_recover
2019-Jan-31 21:15:19 . nRF52_recover
2019-Jan-31 21:15:19 . . nRF52_is_connected_to_emu
2019-Jan-31 21:15:19 . . nRF52_is_connected_to_emu: JLink: JLINK_IsOpen()
2019-Jan-31 21:15:19 . . nRF52_is_connected_to_emu: JLink: returns 0x01
2019-Jan-31 21:15:19 . . nRF52_is_connected_to_emu: JLink: (0000ms, 0149ms total)
2019-Jan-31 21:15:20 . . nRF52_is_connected_to_device
2019-Jan-31 21:15:20 . . nRF52_is_connected_to_device: JLink: JLINK_IsConnected()
2019-Jan-31 21:15:20 . . nRF52_is_connected_to_device: JLink: returns FALSE
2019-Jan-31 21:15:20 . . nRF52_is_connected_to_device: JLink: (0000ms, 0149ms total)
2019-Jan-31 21:15:20 . . nRF52_readback_status
2019-Jan-31 21:15:20 . . . nRF52_is_ctrl_ap_available
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register
2019-Jan-31 21:15:20 . . . . . nRF52_coresight_configure
2019-Jan-31 21:15:20 . . . . . nRF52_coresight_configure: JLink: JLINK_CORESIGHT_Configure()
2019-Jan-31 21:15:20 . . . . . nRF52_coresight_configure: JLink: returns 0
2019-Jan-31 21:15:20 . . . . . nRF52_coresight_configure: JLink: (0001ms, 0151ms total)
2019-Jan-31 21:15:20 . . . . . nRF52_power_debug_and_system_regions
2019-Jan-31 21:15:20 . . . . . . nRF52_write_debug_port_register
2019-Jan-31 21:15:20 . . . . . . nRF52_write_debug_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
2019-Jan-31 21:15:20 . . . . . . nRF52_write_debug_port_register: JLink: returns 0
2019-Jan-31 21:15:20 . . . . . . nRF52_write_debug_port_register: JLink: (0002ms, 0154ms total)
2019-Jan-31 21:15:20 . . . . . . nRF52_write_debug_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x01, 0x50000000)
2019-Jan-31 21:15:20 . . . . . . nRF52_write_debug_port_register: JLink: returns 0
2019-Jan-31 21:15:20 . . . . . . nRF52_write_debug_port_register: JLink: (0001ms, 0155ms total)
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: (0001ms, 0156ms total)
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: -- Value=0x00000000
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: (0002ms, 0158ms total)
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: (0001ms, 0159ms total)
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: -- Value=0x00000000
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: (0002ms, 0161ms total)
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: (0001ms, 0162ms total)
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: -- Value=0x00000000
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: (0002ms, 0164ms total)
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: (0001ms, 0165ms total)
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: -- Value=0x00000000
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: returns 0
2019-Jan-31 21:15:20 . . . . nRF52_read_access_port_register: JLink: (0001ms, 0167ms total)
2019-Jan-31 21:15:20 . . nRF52_connect_to_device
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: JLINK_Connect()
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x10B TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x28 TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x28 TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x10B TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x28 TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x28 TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x35 TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: ***** Error:
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: DAP error while reading DP-Ctrl-Stat register.
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x35 TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x35 TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x35 TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x35 TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x10B TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x10B TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x10F TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: Found SW-DP with ID 0x2BA01477
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x28 TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x28 TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x28 TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x0D TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: >0x35 TIF>
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: returns 0xFFFFFEFB
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: (0280ms, 0447ms total)
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: DAP error while reading DP-Ctrl-Stat register.
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLinkARM.dll reported error ÿ at line 5842.
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: JLINK_ClrError()
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLink: (0001ms, 0448ms total)
2019-Jan-31 21:15:20 . . nRF52_connect_to_device: JLinkARM.dll Connect returned error -261.
2019-Jan-31 21:15:20 nRF_close_dll
2019-Jan-31 21:15:20 . nRF52_close_dll
2019-Jan-31 21:15:20 . . nRF52_is_connected_to_emu
2019-Jan-31 21:15:20 . . nRF52_is_connected_to_emu: JLink: JLINK_IsOpen()
2019-Jan-31 21:15:20 . . nRF52_is_connected_to_emu: JLink: returns 0x01
2019-Jan-31 21:15:20 . . nRF52_is_connected_to_emu: JLink: (0001ms, 0449ms total)
2019-Jan-31 21:15:20 . . nRF52_disconnect_from_emu
2019-Jan-31 21:15:20 . . . nRF52_is_connected_to_device
2019-Jan-31 21:15:20 . . . nRF52_is_connected_to_device: JLink: JLINK_IsConnected()
2019-Jan-31 21:15:20 . . . nRF52_is_connected_to_device: JLink: returns FALSE
2019-Jan-31 21:15:20 . . . nRF52_is_connected_to_device: JLink: (0001ms, 0450ms total)
2019-Jan-31 21:15:20 . . . nRF52_unpower_debug_and_system_regions
2019-Jan-31 21:15:20 . . . . nRF52_write_debug_port_register
2019-Jan-31 21:15:20 . . . . nRF52_write_debug_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
2019-Jan-31 21:15:20 . . . . nRF52_write_debug_port_register: JLink: returns 0
2019-Jan-31 21:15:20 . . . . nRF52_write_debug_port_register: JLink: (0001ms, 0451ms total)
2019-Jan-31 21:15:20 . . . . nRF52_write_debug_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x01, 0x00000000)
2019-Jan-31 21:15:20 . . . . nRF52_write_debug_port_register: JLink: returns 0
2019-Jan-31 21:15:20 . . . . nRF52_write_debug_port_register: JLink: (0001ms, 0452ms total)
2019-Jan-31 21:15:20 . . . . nRF52_read_debug_port_register
2019-Jan-31 21:15:20 . . . . nRF52_read_debug_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
2019-Jan-31 21:15:20 . . . . nRF52_read_debug_port_register: JLink: returns 0
2019-Jan-31 21:15:20 . . . . nRF52_read_debug_port_register: JLink: (0001ms, 0453ms total)
2019-Jan-31 21:15:20 . . . . nRF52_read_debug_port_register: JLink: JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x01)
2019-Jan-31 21:15:20 . . . . nRF52_read_debug_port_register: JLink: -- Value=0x00000000
2019-Jan-31 21:15:20 . . . . nRF52_read_debug_port_register: JLink: returns 0
2019-Jan-31 21:15:20 . . . . nRF52_read_debug_port_register: JLink: (0001ms, 0454ms total)
2019-Jan-31 21:15:20 . . nRF52_disconnect_from_emu: JLink: JLINK_Close()
2019-Feb-01 11:01:37 --------------------------------------------------------------------------------
2019-Feb-01 11:01:37 nrfjprog -f NRF52 -e --log
2019-Feb-01 11:01:37 nrfjprog version 9.8.1
2019-Feb-01 11:01:37 --------------------------------------------------------------------------------
2019-Feb-01 11:01:37 nRF_open_dll
2019-Feb-01 11:01:37 . nRF52_open_dll
2019-Feb-01 11:01:37 . . nRF52_dll_version
2019-Feb-01 11:01:37 nRF_enum_emu_snr
2019-Feb-01 11:01:37 . nRF52_enum_emu_snr
2019-Feb-01 11:01:37 . . nRF52_enum_emu_snr
2019-Feb-01 11:01:37 nRF_enum_emu_snr
2019-Feb-01 11:01:37 . nRF52_enum_emu_snr
2019-Feb-01 11:01:37 . . nRF52_enum_emu_snr
2019-Feb-01 11:01:37 nRF_connect_to_emu_with_snr
2019-Feb-01 11:01:37 . nRF52_connect_to_emu_with_snr
2019-Feb-01 11:01:37 . . nRF52_is_connected_to_emu
2019-Feb-01 11:01:37 . . nRF52_enum_emu_snr
2019-Feb-01 11:01:37 . . nRF52_connect_to_emu_with_snr
2019-Feb-01 11:01:37 . . . nRF52_connect_to_emu_without_snr
2019-Feb-01 11:01:37 . . . nRF52_connect_to_emu_without_snr: JLink: Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jul 12 2018 11:44:41
2019-Feb-01 11:01:37 . . . nRF52_connect_to_emu_without_snr: JLink: Hardware: V1.00
2019-Feb-01 11:01:37 . . . nRF52_connect_to_emu_without_snr: JLink: S/N: 682796360
2019-Feb-01 11:01:37 . . . nRF52_connect_to_emu_without_snr: JLink: TELNET listener socket opened on port 19021
2019-Feb-01 11:01:37 . . . nRF52_connect_to_emu_without_snr: JLink: WEBSRV Starting webserver
2019-Feb-01 11:01:37 . . . nRF52_connect_to_emu_without_snr: JLink: (0023ms, 0039ms total)
2019-Feb-01 11:01:37 . . . nRF52_connect_to_emu_without_snr: JLink: WEBSRV Webserver running on local port 19080
2019-Feb-01 11:01:37 . . . nRF52_connect_to_emu_without_snr: JLink: (0024ms, 0040ms total)
2019-Feb-01 11:01:37 . . . nRF52_connect_to_emu_without_snr: JLink: returns O.K.
2019-Feb-01 11:01:37 . . . nRF52_connect_to_emu_without_snr: JLink: (0024ms, 0040ms total)
2019-Feb-01 11:01:37 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_GetHWStatus(...)
2019-Feb-01 11:01:37 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Feb-01 11:01:37 . . . nRF52_connect_to_emu_without_snr: JLink: (0000ms, 0041ms total)
2019-Feb-01 11:01:37 . . . nRF52_connect_to_emu_without_snr: There is no generic nRF52 device in J-Link, so we select NRF52832_xxAA.
2019-Feb-01 11:01:37 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("Device = NRF52832_xxAA", ...).
2019-Feb-01 11:01:37 . . . nRF52_connect_to_emu_without_snr: JLink: XML file found at: C:\Program Files (x86)\SEGGER\JLink_V640\JLinkDevices.xml
2019-Feb-01 11:01:37 . . . nRF52_connect_to_emu_without_snr: JLink: (0001ms, 0043ms total)
2019-Feb-01 11:01:37 . . . nRF52_connect_to_emu_without_snr: JLink: C:\Program Files (x86)\SEGGER\JLink_V640\JLinkDevices.xml evaluated successfully.
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: Device "NRF52832_XXAA" selected.
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: Device "NRF52832_XXAA" selected.
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: (0082ms, 0124ms total)
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("SetRestartOnClose = 0", ...).
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x01
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: (0001ms, 0125ms total)
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("DisableFlashDL", ...).
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: (0001ms, 0126ms total)
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("SetDbgPowerDownOnClose = 1", ...).
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x01
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: (0001ms, 0127ms total)
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: (0001ms, 0128ms total)
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_TIF_Select(JLINKARM_TIF_SWD)
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: returns 0x00
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: (0001ms, 0129ms total)
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: JLINK_SetSpeed(2000)
2019-Feb-01 11:01:38 . . . nRF52_connect_to_emu_without_snr: JLink: (0000ms, 0130ms total)
2019-Feb-01 11:01:38 nRF_read_device_version
2019-Feb-01 11:01:38 . nRF52_read_device_version
2019-Feb-01 11:01:38 . . nRF52_is_connected_to_emu
2019-Feb-01 11:01:38 . . nRF52_is_connected_to_emu: JLink: JLINK_IsOpen()
2019-Feb-01 11:01:38 . . nRF52_is_connected_to_emu: JLink: returns 0x01
2019-Feb-01 11:01:38 . . nRF52_is_connected_to_emu: JLink: (0001ms, 0131ms total)
2019-Feb-01 11:01:38 . . nRF52_is_connected_to_device
2019-Feb-01 11:01:38 . . nRF52_is_connected_to_device: JLink: JLINK_IsConnected()
2019-Feb-01 11:01:38 . . nRF52_is_connected_to_device: JLink: returns FALSE
2019-Feb-01 11:01:38 . . nRF52_is_connected_to_device: JLink: (0001ms, 0132ms total)
2019-Feb-01 11:01:38 . . nRF52_readback_status
2019-Feb-01 11:01:38 . . . nRF52_is_ctrl_ap_available
2019-Feb-01 11:01:38 . . . . nRF52_read_access_port_register
2019-Feb-01 11:01:38 . . . . . nRF52_coresight_configure
2019-Feb-01 11:01:38 . . . . . nRF52_coresight_configure: JLink: JLINK_CORESIGHT_Configure()
2019-Feb-01 11:01:38 . . . . . nRF52_coresight_configure: JLink: returns 0
2019-Feb-01 11:01:38 . . . . . nRF52_coresight_configure: JLink: (0103ms, 0235ms total)
2019-Feb-01 11:01:38 . . . . . nRF52_power_debug_and_system_regions
2019-Feb-01 11:01:38 . . . . . . nRF52_write_debug_port_register
2019-Feb-01 11:01:38 . . . . . . nRF52_write_debug_port_register: JLink: JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
2019-Feb-01 11:01:38 . . . . . . nRF52_write_debug_port_register: JLink: returns -1
2019-Feb-01 11:01:38 . . . . . . nRF52_write_debug_port_register: JLink: (0001ms, 0236ms total)
2019-Feb-01 11:01:38 . . . . . . nRF52_write_debug_port_register: JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
2019-Feb-01 11:01:38 . . . . . nRF52_power_debug_and_system_regions: JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.
2019-Feb-01 11:01:38 nRF_close_dll
2019-Feb-01 11:01:38 . nRF52_close_dll
2019-Feb-01 11:01:38 . . nRF52_is_connected_to_emu
2019-Feb-01 11:01:38 . . nRF52_is_connected_to_emu: JLink: JLINK_IsOpen()
2019-Feb-01 11:01:38 . . nRF52_is_connected_to_emu: JLink: returns 0x01
2019-Feb-01 11:01:38 . . nRF52_is_connected_to_emu: JLink: (0001ms, 0237ms total)
2019-Feb-01 11:01:38 . . nRF52_disconnect_from_emu
2019-Feb-01 11:01:38 . . . nRF52_is_connected_to_device
2019-Feb-01 11:01:38 . . . nRF52_is_connected_to_device: JLink: JLINK_IsConnected()
2019-Feb-01 11:01:38 . . . nRF52_is_connected_to_device: JLink: returns FALSE
2019-Feb-01 11:01:38 . . . nRF52_is_connected_to_device: JLink: (0001ms, 0238ms total)
2019-Feb-01 11:01:38 . . . nRF52_unpower_debug_and_system_regions
2019-Feb-01 11:01:38 . . nRF52_disconnect_from_emu: JLink: JLINK_Close()