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

JLINK Configuration error observed

Hi All, I had connected JLINK BASE on the target hardware which is having NINA-B301 chipset having nRF53480 core. When I am connecting the JLINK on the 10 pin connector on target hardware I am not able to erase or flash any program on the chipset. Please find attached log with the commands I had tried. Can somebody look into and help me in this configurations and connections.

2019-Mar-05 12:44:33  --------------------------------------------------------------------------------
2019-Mar-05 12:44:33  nrfjprog --family nrf52 --eraseall --log nrfjprog verion 9.3.1
2019-Mar-05 12:44:33  nrfjprog version 9.8.1
2019-Mar-05 12:44:33  --------------------------------------------------------------------------------
2019-Mar-05 12:44:45  --------------------------------------------------------------------------------
2019-Mar-05 12:44:45  nrfjprog --family nrf52 --eraseall --log nrfjprog
2019-Mar-05 12:44:45  nrfjprog version 9.8.1
2019-Mar-05 12:44:45  --------------------------------------------------------------------------------
2019-Mar-05 12:45:31  --------------------------------------------------------------------------------
2019-Mar-05 12:45:31  ./nrfjprog -e -f nRF52 --log
2019-Mar-05 12:45:31  nrfjprog version 9.8.1
2019-Mar-05 12:45:31  --------------------------------------------------------------------------------
2019-Mar-05 12:45:31  nRF_open_dll
2019-Mar-05 12:45:31  . nRF52_open_dll
2019-Mar-05 12:45:31  . . nRF52_dll_version
2019-Mar-05 12:45:31  nRF_enum_emu_snr
2019-Mar-05 12:45:31  . nRF52_enum_emu_snr
2019-Mar-05 12:45:31  . . nRF52_enum_emu_snr
2019-Mar-05 12:45:31  nRF_enum_emu_snr
2019-Mar-05 12:45:31  . nRF52_enum_emu_snr
2019-Mar-05 12:45:31  . . nRF52_enum_emu_snr
2019-Mar-05 12:45:31  nRF_connect_to_emu_with_snr
2019-Mar-05 12:45:31  . nRF52_connect_to_emu_with_snr
2019-Mar-05 12:45:31  . . nRF52_is_connected_to_emu
2019-Mar-05 12:45:31  . . nRF52_enum_emu_snr
2019-Mar-05 12:45:31  . . nRF52_connect_to_emu_with_snr
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     Firmware: J-Link V10 compiled Oct 26 2018 12:04:17
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     Hardware: V10.10
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     S/N: 50121679
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     Feature(s): GDB
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     TELNET listener socket opened on port 19021
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    WEBSRV  Starting webserver
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0147ms, 0432ms total)  
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:286
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    WEBSRV Webserver running on local port 19080
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0147ms, 0432ms total)  
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:286
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns O.K.
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0147ms, 0432ms total)  
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:434
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_GetHWStatus(...)
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0433ms total)  
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    There is no generic nRF52 device in J-Link, so we select NRF52832_xxAA.

2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:434
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("Device = NRF52832_xxAA", ...).
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    XML file found at: /opt/SEGGER/JLink/JLinkDevices.xml
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0001ms, 0434ms total)  
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:434
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    /opt/SEGGER/JLink/JLinkDevices.xml evaluated successfully.
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    Device "NRF52832_XXAA" selected.
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    Device "NRF52832_XXAA" selected.
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0051ms, 0484ms total)  
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:485
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("SetRestartOnClose = 0", ...).
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x01
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0484ms total)  
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:485
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("DisableFlashDL", ...).
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0484ms total)  
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:485
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("SetDbgPowerDownOnClose = 1", ...).
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x01
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0484ms total)  
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:485
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0484ms total)  
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:485
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_TIF_Select(JLINKARM_TIF_SWD)
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0001ms, 0485ms total)  
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:486
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_SetSpeed(2000)
2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0485ms total)  
2019-Mar-05 12:45:31  nRF_read_device_version
2019-Mar-05 12:45:31  . nRF52_read_device_version
2019-Mar-05 12:45:31  . . nRF52_is_connected_to_emu
2019-Mar-05 12:45:31  . . nRF52_is_connected_to_emu:    JLink:    TB4095740 000:486
2019-Mar-05 12:45:31  . . nRF52_is_connected_to_emu:    JLink:    JLINK_IsOpen()
2019-Mar-05 12:45:31  . . nRF52_is_connected_to_emu:    JLink:      returns 0x01
2019-Mar-05 12:45:31  . . nRF52_is_connected_to_emu:    JLink:     (0000ms, 0485ms total)  
2019-Mar-05 12:45:31  . . nRF52_is_connected_to_device
2019-Mar-05 12:45:31  . . nRF52_is_connected_to_device:    JLink:    TB4095740 000:486
2019-Mar-05 12:45:31  . . nRF52_is_connected_to_device:    JLink:    JLINK_IsConnected()
2019-Mar-05 12:45:31  . . nRF52_is_connected_to_device:    JLink:      returns FALSE
2019-Mar-05 12:45:31  . . nRF52_is_connected_to_device:    JLink:     (0000ms, 0485ms total)  
2019-Mar-05 12:45:31  . . nRF52_readback_status
2019-Mar-05 12:45:31  . . . nRF52_is_ctrl_ap_available
2019-Mar-05 12:45:31  . . . . nRF52_read_access_port_register
2019-Mar-05 12:45:31  . . . . . nRF52_coresight_configure
2019-Mar-05 12:45:31  . . . . . nRF52_coresight_configure:    JLink:    TB4095740 000:486
2019-Mar-05 12:45:31  . . . . . nRF52_coresight_configure:    JLink:    JLINK_CORESIGHT_Configure()
2019-Mar-05 12:45:31  . . . . . nRF52_coresight_configure:    JLink:      returns 0
2019-Mar-05 12:45:31  . . . . . nRF52_coresight_configure:    JLink:     (0100ms, 0585ms total)  
2019-Mar-05 12:45:31  . . . . . nRF52_power_debug_and_system_regions
2019-Mar-05 12:45:31  . . . . . . nRF52_write_debug_port_register
2019-Mar-05 12:45:31  . . . . . . nRF52_write_debug_port_register:    JLink:    TB4095740 000:586
2019-Mar-05 12:45:31  . . . . . . nRF52_write_debug_port_register:    JLink:    JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
2019-Mar-05 12:45:31  . . . . . . nRF52_write_debug_port_register:    JLink:      returns -1
2019-Mar-05 12:45:31  . . . . . . nRF52_write_debug_port_register:    JLink:     (0001ms, 0586ms total)  
2019-Mar-05 12:45:31  . . . . . . nRF52_write_debug_port_register:    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.

2019-Mar-05 12:45:31  . . . . . nRF52_power_debug_and_system_regions:    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.

2019-Mar-05 12:45:31  nRF_close_dll
2019-Mar-05 12:45:31  . nRF52_close_dll
2019-Mar-05 12:45:31  . . nRF52_is_connected_to_emu
2019-Mar-05 12:45:31  . . nRF52_is_connected_to_emu:    JLink:    TB4095740 000:587
2019-Mar-05 12:45:31  . . nRF52_is_connected_to_emu:    JLink:    JLINK_IsOpen()
2019-Mar-05 12:45:31  . . nRF52_is_connected_to_emu:    JLink:      returns 0x01
2019-Mar-05 12:45:31  . . nRF52_is_connected_to_emu:    JLink:     (0000ms, 0586ms total)  
2019-Mar-05 12:45:31  . . nRF52_disconnect_from_emu
2019-Mar-05 12:45:31  . . . nRF52_is_connected_to_device
2019-Mar-05 12:45:31  . . . nRF52_is_connected_to_device:    JLink:    TB4095740 000:587
2019-Mar-05 12:45:31  . . . nRF52_is_connected_to_device:    JLink:    JLINK_IsConnected()
2019-Mar-05 12:45:31  . . . nRF52_is_connected_to_device:    JLink:      returns FALSE
2019-Mar-05 12:45:31  . . . nRF52_is_connected_to_device:    JLink:     (0000ms, 0586ms total)  
2019-Mar-05 12:45:31  . . . nRF52_unpower_debug_and_system_regions
2019-Mar-05 12:45:31  . . nRF52_disconnect_from_emu:    JLink:    TB4095740 000:596
2019-Mar-05 12:45:31  . . nRF52_disconnect_from_emu:    JLink:    JLINK_Close()
2019-Mar-05 12:46:55  --------------------------------------------------------------------------------
2019-Mar-05 12:46:55  nrfjprog --log --family nrf52 --recover
2019-Mar-05 12:46:55  nrfjprog version 9.8.1
2019-Mar-05 12:46:55  --------------------------------------------------------------------------------
2019-Mar-05 12:46:55  nRF_open_dll
2019-Mar-05 12:46:55  . nRF52_open_dll
2019-Mar-05 12:46:55  . . nRF52_dll_version
2019-Mar-05 12:46:55  nRF_enum_emu_snr
2019-Mar-05 12:46:55  . nRF52_enum_emu_snr
2019-Mar-05 12:46:55  . . nRF52_enum_emu_snr
2019-Mar-05 12:46:55  nRF_enum_emu_snr
2019-Mar-05 12:46:55  . nRF52_enum_emu_snr
2019-Mar-05 12:46:55  . . nRF52_enum_emu_snr
2019-Mar-05 12:46:55  nRF_connect_to_emu_with_snr
2019-Mar-05 12:46:55  . nRF52_connect_to_emu_with_snr
2019-Mar-05 12:46:55  . . nRF52_is_connected_to_emu
2019-Mar-05 12:46:55  . . nRF52_enum_emu_snr
2019-Mar-05 12:46:55  . . nRF52_connect_to_emu_with_snr
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:     Firmware: J-Link V10 compiled Oct 26 2018 12:04:17
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:     Hardware: V10.10
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:     S/N: 50121679
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:     Feature(s): GDB
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:     TELNET listener socket opened on port 19021
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    WEBSRV  Starting webserver
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0130ms, 0411ms total)  
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    T8B24E740 000:281
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    WEBSRV Webserver running on local port 19080
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0130ms, 0411ms total)  
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    T8B24E740 000:281
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns O.K.
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0130ms, 0411ms total)  
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    T8B24E740 000:411
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_GetHWStatus(...)
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0411ms total)  
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    There is no generic nRF52 device in J-Link, so we select NRF52832_xxAA.

2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    T8B24E740 000:411
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("Device = NRF52832_xxAA", ...).
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    XML file found at: /opt/SEGGER/JLink/JLinkDevices.xml
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0411ms total)  
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    T8B24E740 000:411
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    /opt/SEGGER/JLink/JLinkDevices.xml evaluated successfully.
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    Device "NRF52832_XXAA" selected.
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    Device "NRF52832_XXAA" selected.
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0020ms, 0431ms total)  
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    T8B24E740 000:431
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("SetRestartOnClose = 0", ...).
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x01
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0431ms total)  
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    T8B24E740 000:431
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("DisableFlashDL", ...).
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0431ms total)  
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    T8B24E740 000:431
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("SetDbgPowerDownOnClose = 1", ...).
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x01
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0431ms total)  
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    T8B24E740 000:431
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0431ms total)  
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    T8B24E740 000:431
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_TIF_Select(JLINKARM_TIF_SWD)
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0001ms, 0432ms total)  
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    T8B24E740 000:432
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_SetSpeed(2000)
2019-Mar-05 12:46:55  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0432ms total)  
2019-Mar-05 12:46:55  nRF_recover
2019-Mar-05 12:46:55  . nRF52_recover
2019-Mar-05 12:46:55  . . nRF52_is_connected_to_emu
2019-Mar-05 12:46:55  . . nRF52_is_connected_to_emu:    JLink:    T8B24E740 000:432
2019-Mar-05 12:46:55  . . nRF52_is_connected_to_emu:    JLink:    JLINK_IsOpen()
2019-Mar-05 12:46:55  . . nRF52_is_connected_to_emu:    JLink:      returns 0x01
2019-Mar-05 12:46:55  . . nRF52_is_connected_to_emu:    JLink:     (0000ms, 0432ms total)  
2019-Mar-05 12:46:55  . . nRF52_is_connected_to_device
2019-Mar-05 12:46:55  . . nRF52_is_connected_to_device:    JLink:    T8B24E740 000:432
2019-Mar-05 12:46:55  . . nRF52_is_connected_to_device:    JLink:    JLINK_IsConnected()
2019-Mar-05 12:46:55  . . nRF52_is_connected_to_device:    JLink:      returns FALSE
2019-Mar-05 12:46:55  . . nRF52_is_connected_to_device:    JLink:     (0000ms, 0432ms total)  
2019-Mar-05 12:46:55  . . nRF52_readback_status
2019-Mar-05 12:46:55  . . . nRF52_is_ctrl_ap_available
2019-Mar-05 12:46:55  . . . . nRF52_read_access_port_register
2019-Mar-05 12:46:55  . . . . . nRF52_coresight_configure
2019-Mar-05 12:46:55  . . . . . nRF52_coresight_configure:    JLink:    T8B24E740 000:432
2019-Mar-05 12:46:55  . . . . . nRF52_coresight_configure:    JLink:    JLINK_CORESIGHT_Configure()
2019-Mar-05 12:46:55  . . . . . nRF52_coresight_configure:    JLink:      returns 0
2019-Mar-05 12:46:55  . . . . . nRF52_coresight_configure:    JLink:     (0101ms, 0533ms total)  
2019-Mar-05 12:46:55  . . . . . nRF52_power_debug_and_system_regions
2019-Mar-05 12:46:55  . . . . . . nRF52_write_debug_port_register
2019-Mar-05 12:46:55  . . . . . . nRF52_write_debug_port_register:    JLink:    T8B24E740 000:533
2019-Mar-05 12:46:55  . . . . . . nRF52_write_debug_port_register:    JLink:    JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
2019-Mar-05 12:46:55  . . . . . . nRF52_write_debug_port_register:    JLink:      returns -1
2019-Mar-05 12:46:55  . . . . . . nRF52_write_debug_port_register:    JLink:     (0000ms, 0533ms total)  
2019-Mar-05 12:46:55  . . . . . . nRF52_write_debug_port_register:    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.

2019-Mar-05 12:46:55  . . . . . nRF52_power_debug_and_system_regions:    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.

2019-Mar-05 12:46:55  nRF_close_dll
2019-Mar-05 12:46:55  . nRF52_close_dll
2019-Mar-05 12:46:55  . . nRF52_is_connected_to_emu
2019-Mar-05 12:46:55  . . nRF52_is_connected_to_emu:    JLink:    T8B24E740 000:533
2019-Mar-05 12:46:55  . . nRF52_is_connected_to_emu:    JLink:    JLINK_IsOpen()
2019-Mar-05 12:46:55  . . nRF52_is_connected_to_emu:    JLink:      returns 0x01
2019-Mar-05 12:46:55  . . nRF52_is_connected_to_emu:    JLink:     (0001ms, 0534ms total)  
2019-Mar-05 12:46:55  . . nRF52_disconnect_from_emu
2019-Mar-05 12:46:55  . . . nRF52_is_connected_to_device
2019-Mar-05 12:46:55  . . . nRF52_is_connected_to_device:    JLink:    T8B24E740 000:534
2019-Mar-05 12:46:55  . . . nRF52_is_connected_to_device:    JLink:    JLINK_IsConnected()
2019-Mar-05 12:46:55  . . . nRF52_is_connected_to_device:    JLink:      returns FALSE
2019-Mar-05 12:46:55  . . . nRF52_is_connected_to_device:    JLink:     (0000ms, 0534ms total)  
2019-Mar-05 12:46:55  . . . nRF52_unpower_debug_and_system_regions
2019-Mar-05 12:46:55  . . nRF52_disconnect_from_emu:    JLink:    T8B24E740 000:542
2019-Mar-05 12:46:55  . . nRF52_disconnect_from_emu:    JLink:    JLINK_Close()
2019-Mar-05 12:47:11  --------------------------------------------------------------------------------
2019-Mar-05 12:47:11  nrfjprog --log --family nrf52480 --recover
2019-Mar-05 12:47:11  nrfjprog version 9.8.1
2019-Mar-05 12:47:11  --------------------------------------------------------------------------------
2019-Mar-05 12:47:25  --------------------------------------------------------------------------------
2019-Mar-05 12:47:25  nrfjprog --log --family nrf52 --recover
2019-Mar-05 12:47:25  nrfjprog version 9.8.1
2019-Mar-05 12:47:25  --------------------------------------------------------------------------------
2019-Mar-05 12:47:25  nRF_open_dll
2019-Mar-05 12:47:25  . nRF52_open_dll
2019-Mar-05 12:47:25  . . nRF52_dll_version
2019-Mar-05 12:47:25  nRF_enum_emu_snr
2019-Mar-05 12:47:25  . nRF52_enum_emu_snr
2019-Mar-05 12:47:25  . . nRF52_enum_emu_snr
2019-Mar-05 12:47:25  nRF_enum_emu_snr
2019-Mar-05 12:47:25  . nRF52_enum_emu_snr
2019-Mar-05 12:47:25  . . nRF52_enum_emu_snr
2019-Mar-05 12:47:26  nRF_connect_to_emu_with_snr
2019-Mar-05 12:47:26  . nRF52_connect_to_emu_with_snr
2019-Mar-05 12:47:26  . . nRF52_is_connected_to_emu
2019-Mar-05 12:47:26  . . nRF52_enum_emu_snr
2019-Mar-05 12:47:26  . . nRF52_connect_to_emu_with_snr
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:     Firmware: J-Link V10 compiled Oct 26 2018 12:04:17
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:     Hardware: V10.10
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:     S/N: 50121679
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:     Feature(s): GDB
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:     TELNET listener socket opened on port 19021
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    WEBSRV  Starting webserver
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0135ms, 0387ms total)  
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    T64466740 000:252
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    WEBSRV Webserver running on local port 19080
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0135ms, 0387ms total)  
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    T64466740 000:252
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns O.K.
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0135ms, 0387ms total)  
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    T64466740 000:388
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_GetHWStatus(...)
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0388ms total)  
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    There is no generic nRF52 device in J-Link, so we select NRF52832_xxAA.

2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    T64466740 000:388
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("Device = NRF52832_xxAA", ...).
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    XML file found at: /opt/SEGGER/JLink/JLinkDevices.xml
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0388ms total)  
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    T64466740 000:388
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    /opt/SEGGER/JLink/JLinkDevices.xml evaluated successfully.
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    Device "NRF52832_XXAA" selected.
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    Device "NRF52832_XXAA" selected.
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0035ms, 0423ms total)  
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    T64466740 000:423
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("SetRestartOnClose = 0", ...).
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x01
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0423ms total)  
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    T64466740 000:423
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("DisableFlashDL", ...).
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0423ms total)  
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    T64466740 000:423
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("SetDbgPowerDownOnClose = 1", ...).
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x01
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0423ms total)  
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    T64466740 000:423
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0423ms total)  
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    T64466740 000:423
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_TIF_Select(JLINKARM_TIF_SWD)
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0001ms, 0424ms total)  
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    T64466740 000:424
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_SetSpeed(2000)
2019-Mar-05 12:47:26  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0424ms total)  
2019-Mar-05 12:47:26  nRF_recover
2019-Mar-05 12:47:26  . nRF52_recover
2019-Mar-05 12:47:26  . . nRF52_is_connected_to_emu
2019-Mar-05 12:47:26  . . nRF52_is_connected_to_emu:    JLink:    T64466740 000:424
2019-Mar-05 12:47:26  . . nRF52_is_connected_to_emu:    JLink:    JLINK_IsOpen()
2019-Mar-05 12:47:26  . . nRF52_is_connected_to_emu:    JLink:      returns 0x01
2019-Mar-05 12:47:26  . . nRF52_is_connected_to_emu:    JLink:     (0000ms, 0424ms total)  
2019-Mar-05 12:47:26  . . nRF52_is_connected_to_device
2019-Mar-05 12:47:26  . . nRF52_is_connected_to_device:    JLink:    T64466740 000:424
2019-Mar-05 12:47:26  . . nRF52_is_connected_to_device:    JLink:    JLINK_IsConnected()
2019-Mar-05 12:47:26  . . nRF52_is_connected_to_device:    JLink:      returns FALSE
2019-Mar-05 12:47:26  . . nRF52_is_connected_to_device:    JLink:     (0000ms, 0424ms total)  
2019-Mar-05 12:47:26  . . nRF52_readback_status
2019-Mar-05 12:47:26  . . . nRF52_is_ctrl_ap_available
2019-Mar-05 12:47:26  . . . . nRF52_read_access_port_register
2019-Mar-05 12:47:26  . . . . . nRF52_coresight_configure
2019-Mar-05 12:47:26  . . . . . nRF52_coresight_configure:    JLink:    T64466740 000:424
2019-Mar-05 12:47:26  . . . . . nRF52_coresight_configure:    JLink:    JLINK_CORESIGHT_Configure()
2019-Mar-05 12:47:26  . . . . . nRF52_coresight_configure:    JLink:      returns 0
2019-Mar-05 12:47:26  . . . . . nRF52_coresight_configure:    JLink:     (0100ms, 0524ms total)  
2019-Mar-05 12:47:26  . . . . . nRF52_power_debug_and_system_regions
2019-Mar-05 12:47:26  . . . . . . nRF52_write_debug_port_register
2019-Mar-05 12:47:26  . . . . . . nRF52_write_debug_port_register:    JLink:    T64466740 000:524
2019-Mar-05 12:47:26  . . . . . . nRF52_write_debug_port_register:    JLink:    JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
2019-Mar-05 12:47:26  . . . . . . nRF52_write_debug_port_register:    JLink:      returns -1
2019-Mar-05 12:47:26  . . . . . . nRF52_write_debug_port_register:    JLink:     (0001ms, 0525ms total)  
2019-Mar-05 12:47:26  . . . . . . nRF52_write_debug_port_register:    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.

2019-Mar-05 12:47:26  . . . . . nRF52_power_debug_and_system_regions:    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.

2019-Mar-05 12:47:26  nRF_close_dll
2019-Mar-05 12:47:26  . nRF52_close_dll
2019-Mar-05 12:47:26  . . nRF52_is_connected_to_emu
2019-Mar-05 12:47:26  . . nRF52_is_connected_to_emu:    JLink:    T64466740 000:525
2019-Mar-05 12:47:26  . . nRF52_is_connected_to_emu:    JLink:    JLINK_IsOpen()
2019-Mar-05 12:47:26  . . nRF52_is_connected_to_emu:    JLink:      returns 0x01
2019-Mar-05 12:47:26  . . nRF52_is_connected_to_emu:    JLink:     (0000ms, 0525ms total)  
2019-Mar-05 12:47:26  . . nRF52_disconnect_from_emu
2019-Mar-05 12:47:26  . . . nRF52_is_connected_to_device
2019-Mar-05 12:47:26  . . . nRF52_is_connected_to_device:    JLink:    T64466740 000:525
2019-Mar-05 12:47:26  . . . nRF52_is_connected_to_device:    JLink:    JLINK_IsConnected()
2019-Mar-05 12:47:26  . . . nRF52_is_connected_to_device:    JLink:      returns FALSE
2019-Mar-05 12:47:26  . . . nRF52_is_connected_to_device:    JLink:     (0001ms, 0526ms total)  
2019-Mar-05 12:47:26  . . . nRF52_unpower_debug_and_system_regions
2019-Mar-05 12:47:26  . . nRF52_disconnect_from_emu:    JLink:    T64466740 000:531
2019-Mar-05 12:47:26  . . nRF52_disconnect_from_emu:    JLink:    JLINK_Close()
2019-Mar-05 12:49:31  --------------------------------------------------------------------------------
2019-Mar-05 12:49:31  nrfjprog --family nrf52 --eraseall --log nrfjprog verion 9.8.1
2019-Mar-05 12:49:31  nrfjprog version 9.8.1
2019-Mar-05 12:49:31  --------------------------------------------------------------------------------
2019-Mar-05 14:23:28  --------------------------------------------------------------------------------
2019-Mar-05 14:23:28  nrfjprog --family nRF52 --eraseall --log
2019-Mar-05 14:23:28  nrfjprog version 9.8.1
2019-Mar-05 14:23:28  --------------------------------------------------------------------------------
2019-Mar-05 14:23:28  nRF_open_dll
2019-Mar-05 14:23:28  . nRF52_open_dll
2019-Mar-05 14:23:28  . . nRF52_dll_version
2019-Mar-05 14:23:28  nRF_enum_emu_snr
2019-Mar-05 14:23:28  . nRF52_enum_emu_snr
2019-Mar-05 14:23:28  . . nRF52_enum_emu_snr
2019-Mar-05 14:23:28  nRF_enum_emu_snr
2019-Mar-05 14:23:28  . nRF52_enum_emu_snr
2019-Mar-05 14:23:28  . . nRF52_enum_emu_snr
2019-Mar-05 14:23:28  nRF_connect_to_emu_with_snr
2019-Mar-05 14:23:28  . nRF52_connect_to_emu_with_snr
2019-Mar-05 14:23:28  . . nRF52_is_connected_to_emu
2019-Mar-05 14:23:28  . . nRF52_enum_emu_snr
2019-Mar-05 14:23:28  . . nRF52_connect_to_emu_with_snr
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:     Firmware: J-Link V10 compiled Oct 26 2018 12:04:17
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:     Hardware: V10.10
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:     S/N: 50121679
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:     Feature(s): GDB
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:     TELNET listener socket opened on port 19021
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    WEBSRV  Starting webserver
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0134ms, 0409ms total)  
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    T2E15F740 000:276
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    WEBSRV Webserver running on local port 19080
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0134ms, 0409ms total)  
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    T2E15F740 000:276
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns O.K.
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0134ms, 0409ms total)  
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    T2E15F740 000:410
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_GetHWStatus(...)
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0409ms total)  
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    There is no generic nRF52 device in J-Link, so we select NRF52832_xxAA.

2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    T2E15F740 000:411
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("Device = NRF52832_xxAA", ...).
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    XML file found at: /opt/SEGGER/JLink/JLinkDevices.xml
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0409ms total)  
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    T2E15F740 000:411
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    /opt/SEGGER/JLink/JLinkDevices.xml evaluated successfully.
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    Device "NRF52832_XXAA" selected.
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    Device "NRF52832_XXAA" selected.
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0034ms, 0443ms total)  
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    T2E15F740 000:445
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("SetRestartOnClose = 0", ...).
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x01
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0443ms total)  
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    T2E15F740 000:445
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("DisableFlashDL", ...).
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0443ms total)  
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    T2E15F740 000:445
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("SetDbgPowerDownOnClose = 1", ...).
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x01
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0443ms total)  
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    T2E15F740 000:445
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0443ms total)  
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    T2E15F740 000:445
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_TIF_Select(JLINKARM_TIF_SWD)
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0001ms, 0444ms total)  
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    T2E15F740 000:446
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_SetSpeed(2000)
2019-Mar-05 14:23:28  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0444ms total)  
2019-Mar-05 14:23:28  nRF_read_device_version
2019-Mar-05 14:23:28  . nRF52_read_device_version
2019-Mar-05 14:23:28  . . nRF52_is_connected_to_emu
2019-Mar-05 14:23:28  . . nRF52_is_connected_to_emu:    JLink:    T2E15F740 000:446
2019-Mar-05 14:23:28  . . nRF52_is_connected_to_emu:    JLink:    JLINK_IsOpen()
2019-Mar-05 14:23:28  . . nRF52_is_connected_to_emu:    JLink:      returns 0x01
2019-Mar-05 14:23:28  . . nRF52_is_connected_to_emu:    JLink:     (0000ms, 0444ms total)  
2019-Mar-05 14:23:28  . . nRF52_is_connected_to_device
2019-Mar-05 14:23:28  . . nRF52_is_connected_to_device:    JLink:    T2E15F740 000:446
2019-Mar-05 14:23:28  . . nRF52_is_connected_to_device:    JLink:    JLINK_IsConnected()
2019-Mar-05 14:23:28  . . nRF52_is_connected_to_device:    JLink:      returns FALSE
2019-Mar-05 14:23:28  . . nRF52_is_connected_to_device:    JLink:     (0000ms, 0444ms total)  
2019-Mar-05 14:23:28  . . nRF52_readback_status
2019-Mar-05 14:23:28  . . . nRF52_is_ctrl_ap_available
2019-Mar-05 14:23:28  . . . . nRF52_read_access_port_register
2019-Mar-05 14:23:28  . . . . . nRF52_coresight_configure
2019-Mar-05 14:23:28  . . . . . nRF52_coresight_configure:    JLink:    T2E15F740 000:446
2019-Mar-05 14:23:28  . . . . . nRF52_coresight_configure:    JLink:    JLINK_CORESIGHT_Configure()
2019-Mar-05 14:23:28  . . . . . nRF52_coresight_configure:    JLink:      returns 0
2019-Mar-05 14:23:28  . . . . . nRF52_coresight_configure:    JLink:     (0100ms, 0544ms total)  
2019-Mar-05 14:23:28  . . . . . nRF52_power_debug_and_system_regions
2019-Mar-05 14:23:28  . . . . . . nRF52_write_debug_port_register
2019-Mar-05 14:23:28  . . . . . . nRF52_write_debug_port_register:    JLink:    T2E15F740 000:547
2019-Mar-05 14:23:28  . . . . . . nRF52_write_debug_port_register:    JLink:    JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
2019-Mar-05 14:23:28  . . . . . . nRF52_write_debug_port_register:    JLink:      returns -1
2019-Mar-05 14:23:28  . . . . . . nRF52_write_debug_port_register:    JLink:     (0000ms, 0545ms total)  
2019-Mar-05 14:23:28  . . . . . . nRF52_write_debug_port_register:    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.

2019-Mar-05 14:23:28  . . . . . nRF52_power_debug_and_system_regions:    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.

2019-Mar-05 14:23:28  nRF_close_dll
2019-Mar-05 14:23:28  . nRF52_close_dll
2019-Mar-05 14:23:28  . . nRF52_is_connected_to_emu
2019-Mar-05 14:23:28  . . nRF52_is_connected_to_emu:    JLink:    T2E15F740 000:547
2019-Mar-05 14:23:28  . . nRF52_is_connected_to_emu:    JLink:    JLINK_IsOpen()
2019-Mar-05 14:23:28  . . nRF52_is_connected_to_emu:    JLink:      returns 0x01
2019-Mar-05 14:23:28  . . nRF52_is_connected_to_emu:    JLink:     (0000ms, 0545ms total)  
2019-Mar-05 14:23:28  . . nRF52_disconnect_from_emu
2019-Mar-05 14:23:28  . . . nRF52_is_connected_to_device
2019-Mar-05 14:23:28  . . . nRF52_is_connected_to_device:    JLink:    T2E15F740 000:547
2019-Mar-05 14:23:28  . . . nRF52_is_connected_to_device:    JLink:    JLINK_IsConnected()
2019-Mar-05 14:23:28  . . . nRF52_is_connected_to_device:    JLink:      returns FALSE
2019-Mar-05 14:23:28  . . . nRF52_is_connected_to_device:    JLink:     (0000ms, 0545ms total)  
2019-Mar-05 14:23:28  . . . nRF52_unpower_debug_and_system_regions
2019-Mar-05 14:23:28  . . nRF52_disconnect_from_emu:    JLink:    T2E15F740 000:552
2019-Mar-05 14:23:28  . . nRF52_disconnect_from_emu:    JLink:    JLINK_Close()

Parents
  • Hi All, I had connected JLINK BASE on the target hardware which is having NINA-B301 chipset having nRF53480 core. When I am connecting the JLINK on the 10 pin connector on target hardware I am not able to erase or flash any program on the chipset. Please find attached log with the commands I had tried. Can somebody look into and help me in this configurations and connections.

    2019-Mar-05 12:44:33  --------------------------------------------------------------------------------
    2019-Mar-05 12:44:33  nrfjprog --family nrf52 --eraseall --log nrfjprog verion 9.3.1
    2019-Mar-05 12:44:33  nrfjprog version 9.8.1
    2019-Mar-05 12:44:33  --------------------------------------------------------------------------------
    2019-Mar-05 12:44:45  --------------------------------------------------------------------------------
    2019-Mar-05 12:44:45  nrfjprog --family nrf52 --eraseall --log nrfjprog
    2019-Mar-05 12:44:45  nrfjprog version 9.8.1
    2019-Mar-05 12:44:45  --------------------------------------------------------------------------------
    2019-Mar-05 12:45:31  --------------------------------------------------------------------------------
    2019-Mar-05 12:45:31  ./nrfjprog -e -f nRF52 --log
    2019-Mar-05 12:45:31  nrfjprog version 9.8.1
    2019-Mar-05 12:45:31  --------------------------------------------------------------------------------
    2019-Mar-05 12:45:31  nRF_open_dll
    2019-Mar-05 12:45:31  . nRF52_open_dll
    2019-Mar-05 12:45:31  . . nRF52_dll_version
    2019-Mar-05 12:45:31  nRF_enum_emu_snr
    2019-Mar-05 12:45:31  . nRF52_enum_emu_snr
    2019-Mar-05 12:45:31  . . nRF52_enum_emu_snr
    2019-Mar-05 12:45:31  nRF_enum_emu_snr
    2019-Mar-05 12:45:31  . nRF52_enum_emu_snr
    2019-Mar-05 12:45:31  . . nRF52_enum_emu_snr
    2019-Mar-05 12:45:31  nRF_connect_to_emu_with_snr
    2019-Mar-05 12:45:31  . nRF52_connect_to_emu_with_snr
    2019-Mar-05 12:45:31  . . nRF52_is_connected_to_emu
    2019-Mar-05 12:45:31  . . nRF52_enum_emu_snr
    2019-Mar-05 12:45:31  . . nRF52_connect_to_emu_with_snr
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     Firmware: J-Link V10 compiled Oct 26 2018 12:04:17
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     Hardware: V10.10
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     S/N: 50121679
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     Feature(s): GDB
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     TELNET listener socket opened on port 19021
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    WEBSRV  Starting webserver
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0147ms, 0432ms total)  
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:286
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    WEBSRV Webserver running on local port 19080
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0147ms, 0432ms total)  
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:286
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns O.K.
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0147ms, 0432ms total)  
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:434
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_GetHWStatus(...)
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0433ms total)  
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    There is no generic nRF52 device in J-Link, so we select NRF52832_xxAA.

    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:434
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("Device = NRF52832_xxAA", ...).
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    XML file found at: /opt/SEGGER/JLink/JLinkDevices.xml
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0001ms, 0434ms total)  
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:434
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    /opt/SEGGER/JLink/JLinkDevices.xml evaluated successfully.
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    Device "NRF52832_XXAA" selected.
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    Device "NRF52832_XXAA" selected.
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0051ms, 0484ms total)  
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:485
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("SetRestartOnClose = 0", ...).
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x01
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0484ms total)  
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:485
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("DisableFlashDL", ...).
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0484ms total)  
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:485
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("SetDbgPowerDownOnClose = 1", ...).
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x01
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0484ms total)  
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:485
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0484ms total)  
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:485
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_TIF_Select(JLINKARM_TIF_SWD)
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:      returns 0x00
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0001ms, 0485ms total)  
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    TB4095740 000:486
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:    JLINK_SetSpeed(2000)
    2019-Mar-05 12:45:31  . . . nRF52_connect_to_emu_without_snr:    JLink:     (0000ms, 0485ms total)  
    2019-Mar-05 12:45:31  nRF_read_device_version
    2019-Mar-05 12:45:31  . nRF52_read_device_version
    2019-Mar-05 12:45:31  . . nRF52_is_connected_to_emu
    2019-Mar-05 12:45:31  . . nRF52_is_connected_to_emu:    JLink:    TB4095740 000:486
    2019-Mar-05 12:45:31  . . nRF52_is_connected_to_emu:    JLink:    JLINK_IsOpen()
    2019-Mar-05 12:45:31  . . nRF52_is_connected_to_emu:    JLink:      returns 0x01
    2019-Mar-05 12:45:31  . . nRF52_is_connected_to_emu:    JLink:     (0000ms, 0485ms total)  
    2019-Mar-05 12:45:31  . . nRF52_is_connected_to_device
    2019-Mar-05 12:45:31  . . nRF52_is_connected_to_device:    JLink:    TB4095740 000:486
    2019-Mar-05 12:45:31  . . nRF52_is_connected_to_device:    JLink:    JLINK_IsConnected()
    2019-Mar-05 12:45:31  . . nRF52_is_connected_to_device:    JLink:      returns FALSE
    2019-Mar-05 12:45:31  . . nRF52_is_connected_to_device:    JLink:     (0000ms, 0485ms total)  
    2019-Mar-05 12:45:31  . . nRF52_readback_status
    2019-Mar-05 12:45:31  . . . nRF52_is_ctrl_ap_available
    2019-Mar-05 12:45:31  . . . . nRF52_read_access_port_register
    2019-Mar-05 12:45:31  . . . . . nRF52_coresight_configure
    2019-Mar-05 12:45:31  . . . . . nRF52_coresight_configure:    JLink:    TB4095740 000:486
    2019-Mar-05 12:45:31  . . . . . nRF52_coresight_configure:    JLink:    JLINK_CORESIGHT_Configure()
    2019-Mar-05 12:45:31  . . . . . nRF52_coresight_configure:    JLink:      returns 0
    2019-Mar-05 12:45:31  . . . . . nRF52_coresight_configure:    JLink:     (0100ms, 0585ms total)  
    2019-Mar-05 12:45:31  . . . . . nRF52_power_debug_and_system_regions
    2019-Mar-05 12:45:31  . . . . . . nRF52_write_debug_port_register
    2019-Mar-05 12:45:31  . . . . . . nRF52_write_debug_port_register:    JLink:    TB4095740 000:586
    2019-Mar-05 12:45:31  . . . . . . nRF52_write_debug_port_register:    JLink:    JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    2019-Mar-05 12:45:31  . . . . . . nRF52_write_debug_port_register:    JLink:      returns -1
    2019-Mar-05 12:45:31  . . . . . . nRF52_write_debug_port_register:    JLink:     (0001ms, 0586ms total)  
    2019-Mar-05 12:45:31  . . . . . . nRF52_write_debug_port_register:    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.

    2019-Mar-05 12:45:31  . . . . . nRF52_power_debug_and_system_regions:    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.

  • Make sure that the nRFchip is getting enough power. It seems that the nrfjprog is not able to detect anything on the SWD lines.

  • Hi Susheel,

      In the target hardware I am able to detect the Nordic chipset nRF52480 by flashing USBD application on the chipset using JLINK SWD.

    Now I have query related how I can establish communication from Nordic chipset using USB interface to CPU ?

    Which USB generic driver I need to use and where I can update VID,PID for nordic chipset?

    Is there any specific driver file is required for Nordic chipset for USB communication with CPU ?

    Please share your thoughts .

    Thanks,

    Ratnakar

  • Ratnakar,

    I see that you have asked this question regarding USB interface with CPU on multiple threads of yours and you have also created this  case for this question. Please close this thread.

  • Hi Susheel, I receive the answer partially. I will continue that thread. You can close this case.

Reply Children
No Data
Related