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

"No idcode" when attempting to connect to BMD-340 dev board

While I was working with my dev kit this morning, the board has suddenly stopped responding to commands.

When I attempt to connect via jlink using Segger Embedded Studio, I get an error saying that there was no idcode found.

I looked up and attempted to run recovery, and this failed.\

I took a log from it, attached.

Suggestions most welcome!

-Ben Burch

BTR Controls, Inc.

--------------------------------------------------------------------------------
/System/Volumes/Data/Users/mateuszwielgos/Bin/nrfjprog/nrfjprog --recover -f nrf52 --log
nrfjprog version 9.7.3
--------------------------------------------------------------------------------
nRF_open_dll
. nRF52_open_dll
. . nRF52_dll_version
nRF_enum_emu_snr
. nRF52_enum_emu_snr
. . nRF52_enum_emu_snr
nRF_enum_emu_snr
. nRF52_enum_emu_snr
. . nRF52_enum_emu_snr
nRF_connect_to_emu_with_snr
. nRF52_connect_to_emu_with_snr
. . nRF52_is_connected_to_emu
. . nRF52_enum_emu_snr
. . nRF52_connect_to_emu_with_snr
. . . nRF52_connect_to_emu_without_snr
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:010.612   
. . . nRF52_connect_to_emu_without_snr:	JLink:	Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 21 2020 17:30:48
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:013.801   
. . . nRF52_connect_to_emu_without_snr:	JLink:	Hardware: V1.00
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:014.165   
. . . nRF52_connect_to_emu_without_snr:	JLink:	S/N: 682959845
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:014.335   
. . . nRF52_connect_to_emu_without_snr:	JLink:	OEM: SEGGER
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:014.457   
. . . nRF52_connect_to_emu_without_snr:	JLink:	Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:016.108   
. . . nRF52_connect_to_emu_without_snr:	JLink:	TELNET listener socket opened on port 19021
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:016.451   
. . . nRF52_connect_to_emu_without_snr:	JLink:	WEBSRV Starting webserver
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:016.708   
. . . nRF52_connect_to_emu_without_snr:	JLink:	WEBSRV Webserver running on local port 19080
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:016.945 
. . . nRF52_connect_to_emu_without_snr:	JLink:	- 12.705ms returns "O.K."  
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:017.062 
. . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_GetHWStatus(...)  
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:017.329 
. . . nRF52_connect_to_emu_without_snr:	JLink:	- 0.340ms returns 0x00  
. . . nRF52_connect_to_emu_without_snr:	There is no generic nRF52 device in J-Link, so we select NRF52832_xxAA.

. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:017.606 
. . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("Device = NRF52832_xxAA", ...).   
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:022.087   
. . . nRF52_connect_to_emu_without_snr:	JLink:	XML file found at: /Applications/SEGGER/JLink_V662d/JLinkDevices.xml 
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:023.027   
. . . nRF52_connect_to_emu_without_snr:	JLink:	/Applications/SEGGER/JLink_V662d/JLinkDevices.xml evaluated successfully. 
. . . nRF52_connect_to_emu_without_snr:	JLink:	Device "NRF52832_XXAA" selected.
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:044.723   
. . . nRF52_connect_to_emu_without_snr:	JLink:	Device "NRF52832_XXAA" selected.
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:045.532 
. . . nRF52_connect_to_emu_without_snr:	JLink:	- 27.874ms returns 0x00  
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:045.768 
. . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:046.114 
. . . nRF52_connect_to_emu_without_snr:	JLink:	- 0.076ms returns 0x01  
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:046.457 
. . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("DisableFlashDL", ...).   
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:046.737 
. . . nRF52_connect_to_emu_without_snr:	JLink:	- 0.094ms returns 0x00  
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:047.101 
. . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("SetDbgPowerDownOnClose = 1", ...).   
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:047.500 
. . . nRF52_connect_to_emu_without_snr:	JLink:	- 0.086ms returns 0x01  
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:048.632 
. . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:049.045 
. . . nRF52_connect_to_emu_without_snr:	JLink:	- 0.078ms returns 0x00  
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:049.167 
. . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_TIF_Select(JLINKARM_TIF_SWD)  
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:049.970 
. . . nRF52_connect_to_emu_without_snr:	JLink:	- 0.881ms returns 0x00  
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:050.211 
. . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_SetSpeed(2000)  
. . . nRF52_connect_to_emu_without_snr:	JLink:	T1C264DC0 000:050.460 
. . . nRF52_connect_to_emu_without_snr:	JLink:	- 0.343ms  
nRF_recover
. nRF52_recover
. . nRF52_is_connected_to_emu
. . nRF52_is_connected_to_emu:	JLink:	T1C264DC0 000:051.056 
. . nRF52_is_connected_to_emu:	JLink:	JLINK_IsOpen()  
. . nRF52_is_connected_to_emu:	JLink:	T1C264DC0 000:051.145 
. . nRF52_is_connected_to_emu:	JLink:	- 0.133ms returns 0x01  
. . nRF52_is_connected_to_device
. . nRF52_is_connected_to_device:	JLink:	T1C264DC0 000:051.274 
. . nRF52_is_connected_to_device:	JLink:	JLINK_IsConnected()  
. . nRF52_is_connected_to_device:	JLink:	T1C264DC0 000:051.358 
. . nRF52_is_connected_to_device:	JLink:	- 0.127ms returns FALSE  
. . nRF52_readback_status
. . . nRF52_is_ctrl_ap_available
. . . . nRF52_read_access_port_register
. . . . . nRF52_coresight_configure
. . . . . nRF52_coresight_configure:	JLink:	T1C264DC0 000:051.616 
. . . . . nRF52_coresight_configure:	JLink:	JLINK_CORESIGHT_Configure()  
. . . . . nRF52_coresight_configure:	JLink:	T1C264DC0 000:152.898 
. . . . . nRF52_coresight_configure:	JLink:	- 101.623ms returns 0  
. . . . . nRF52_power_debug_and_system_regions
. . . . . . nRF52_write_debug_port_register
. . . . . . nRF52_write_debug_port_register:	JLink:	T1C264DC0 000:160.861 
. . . . . . nRF52_write_debug_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
. . . . . . nRF52_write_debug_port_register:	JLink:	T1C264DC0 000:162.378 
. . . . . . nRF52_write_debug_port_register:	JLink:	- 1.774ms returns -1  
. . . . . . nRF52_write_debug_port_register:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.

. . . . . nRF52_power_debug_and_system_regions:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.

nRF_close_dll
. nRF52_close_dll
. . nRF52_is_connected_to_emu
. . nRF52_is_connected_to_emu:	JLink:	T1C264DC0 000:164.100 
. . nRF52_is_connected_to_emu:	JLink:	JLINK_IsOpen()  
. . nRF52_is_connected_to_emu:	JLink:	T1C264DC0 000:164.377 
. . nRF52_is_connected_to_emu:	JLink:	- 0.518ms returns 0x01  
. . nRF52_disconnect_from_emu
. . . nRF52_is_connected_to_device
. . . nRF52_is_connected_to_device:	JLink:	T1C264DC0 000:164.935 
. . . nRF52_is_connected_to_device:	JLink:	JLINK_IsConnected()  
. . . nRF52_is_connected_to_device:	JLink:	T1C264DC0 000:165.157 
. . . nRF52_is_connected_to_device:	JLink:	- 0.295ms returns FALSE  
. . . nRF52_unpower_debug_and_system_regions
. . nRF52_disconnect_from_emu:	JLink:	T1C264DC0 000:170.797 
. . nRF52_disconnect_from_emu:	JLink:	JLINK_Close()  
--------------------------------------------------------------------------------
/System/Volumes/Data/Users/mateuszwielgos/Bin/nrfjprog/nrfjprog --recover -f UNKNOWN --log
nrfjprog version 9.7.3
--------------------------------------------------------------------------------
nRF_open_dll
. nRFXX_open_dll
. . nRFXX_dll_version
nRF_enum_emu_snr
. nRFXX_enum_emu_snr
nRF_enum_emu_snr
. nRFXX_enum_emu_snr
nRF_connect_to_emu_with_snr
. nRFXX_connect_to_emu_with_snr
. . nRFXX_is_connected_to_emu
. . nRFXX_connect_to_emu_without_snr
. . . nRFXX_is_connected_to_emu
. . . nRFXX_enum_emu_snr
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:011.171   
. . nRFXX_connect_to_emu_without_snr:	JLink:	Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 21 2020 17:30:48
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:014.552   
. . nRFXX_connect_to_emu_without_snr:	JLink:	Hardware: V1.00
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:014.836   
. . nRFXX_connect_to_emu_without_snr:	JLink:	S/N: 682959845
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:014.965   
. . nRFXX_connect_to_emu_without_snr:	JLink:	OEM: SEGGER
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:015.085   
. . nRFXX_connect_to_emu_without_snr:	JLink:	Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:016.860   
. . nRFXX_connect_to_emu_without_snr:	JLink:	TELNET listener socket opened on port 19021
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:017.224   
. . nRFXX_connect_to_emu_without_snr:	JLink:	WEBSRV Starting webserver
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:017.565   
. . nRFXX_connect_to_emu_without_snr:	JLink:	WEBSRV Webserver running on local port 19080
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:017.831 
. . nRFXX_connect_to_emu_without_snr:	JLink:	- 13.024ms returns "O.K."  
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:017.976 
. . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_GetHWStatus(...)  
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:018.262 
. . nRFXX_connect_to_emu_without_snr:	JLink:	- 0.372ms returns 0x00  
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:018.507 
. . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("Device = NRF52832_xxAA", ...).   
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:023.664   
. . nRFXX_connect_to_emu_without_snr:	JLink:	XML file found at: /Applications/SEGGER/JLink_V662d/JLinkDevices.xml 
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:024.719   
. . nRFXX_connect_to_emu_without_snr:	JLink:	/Applications/SEGGER/JLink_V662d/JLinkDevices.xml evaluated successfully. 
. . nRFXX_connect_to_emu_without_snr:	JLink:	Device "NRF52832_XXAA" selected.
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:048.517   
. . nRFXX_connect_to_emu_without_snr:	JLink:	Device "NRF52832_XXAA" selected.
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:049.050 
. . nRFXX_connect_to_emu_without_snr:	JLink:	- 30.467ms returns 0x00  
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:049.254 
. . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:049.383 
. . nRFXX_connect_to_emu_without_snr:	JLink:	- 0.055ms returns 0x01  
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:049.488 
. . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("DisableFlashDL", ...).   
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:050.056 
. . nRFXX_connect_to_emu_without_snr:	JLink:	- 0.087ms returns 0x00  
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:050.308 
. . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("SetDbgPowerDownOnClose = 1", ...).   
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:050.462 
. . nRFXX_connect_to_emu_without_snr:	JLink:	- 0.085ms returns 0x01  
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:050.625 
. . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:050.782 
. . nRFXX_connect_to_emu_without_snr:	JLink:	- 0.063ms returns 0x00  
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:050.900 
. . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_TIF_Select(JLINKARM_TIF_SWD)  
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:051.635 
. . nRFXX_connect_to_emu_without_snr:	JLink:	- 0.794ms returns 0x00  
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:051.877 
. . nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_SetSpeed(2000)  
. . nRFXX_connect_to_emu_without_snr:	JLink:	TEACBDC0 000:052.058 
. . nRFXX_connect_to_emu_without_snr:	JLink:	- 0.232ms  
nRF_read_connected_emu_snr
. nRFXX_read_connected_emu_snr
. . nRFXX_is_connected_to_emu
. . nRFXX_is_connected_to_emu:	JLink:	TEACBDC0 000:052.377 
. . nRFXX_is_connected_to_emu:	JLink:	JLINK_IsOpen()  
. . nRFXX_is_connected_to_emu:	JLink:	TEACBDC0 000:052.464 
. . nRFXX_is_connected_to_emu:	JLink:	- 0.131ms returns 0x01  
nRF_read_device_family
. nRFXX_read_device_family
. . nRFXX_is_connected_to_emu
. . nRFXX_is_connected_to_emu:	JLink:	TEACBDC0 000:052.683 
. . nRFXX_is_connected_to_emu:	JLink:	JLINK_IsOpen()  
. . nRFXX_is_connected_to_emu:	JLink:	TEACBDC0 000:052.769 
. . nRFXX_is_connected_to_emu:	JLink:	- 0.129ms returns 0x01  
. . nRFXX_read_access_port_register
. . . nRFXX_coresight_configure
. . . nRFXX_coresight_configure:	JLink:	TEACBDC0 000:052.943 
. . . nRFXX_coresight_configure:	JLink:	JLINK_CORESIGHT_Configure()  
. . . nRFXX_coresight_configure:	JLink:	TEACBDC0 000:153.839 
. . . nRFXX_coresight_configure:	JLink:	- 101.230ms returns 0  
. . . nRFXX_power_debug_and_system_regions
. . . . nRFXX_write_debug_port_register
. . . . nRFXX_write_debug_port_register:	JLink:	TEACBDC0 000:161.773 
. . . . nRFXX_write_debug_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
. . . . nRFXX_write_debug_port_register:	JLink:	TEACBDC0 000:163.245 
. . . . nRFXX_write_debug_port_register:	JLink:	- 1.698ms returns -1  
. . . . nRFXX_write_debug_port_register:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.

. . . nRFXX_power_debug_and_system_regions:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.

nRF_close_dll
. nRFXX_close_dll
. . nRFXX_is_connected_to_emu
. . nRFXX_is_connected_to_emu:	JLink:	TEACBDC0 000:164.795 
. . nRFXX_is_connected_to_emu:	JLink:	JLINK_IsOpen()  
. . nRFXX_is_connected_to_emu:	JLink:	TEACBDC0 000:165.156 
. . nRFXX_is_connected_to_emu:	JLink:	- 0.483ms returns 0x01  
. . nRFXX_disconnect_from_emu
. . nRFXX_disconnect_from_emu:	JLink:	TEACBDC0 000:179.128 
. . nRFXX_disconnect_from_emu:	JLink:	JLINK_Close()  
2020-Apr-07 09:33:32  --------------------------------------------------------------------------------
2020-Apr-07 09:33:32  /usr/local/bin/nrfjprog --recover --family nrf52 --log 
2020-Apr-07 09:33:32  nrfjprog version 10.7.0 
2020-Apr-07 09:33:32  --------------------------------------------------------------------------------
2020-Apr-07 09:33:32  nRF_logger_open
2020-Apr-07 09:33:32  nRF_logger_open:	nRFJProg logger opened to callback at address 0X105DADFA0
2020-Apr-07 09:33:32  nRF_open_dll
2020-Apr-07 09:33:32  nRF_open_dll:	Load library at "/Applications/Nordic Semiconductor/nrfjprog/libjlinkarm_nrf52_nrfjprogdll.dylib".

2020-Apr-07 09:33:32  . nRF52_logger_open
2020-Apr-07 09:33:32  . nRF52_logger_open:	nRFJProg logger opened to callback at address 0X105E3B0A0
2020-Apr-07 09:33:32  . nRF52_open_dll
2020-Apr-07 09:33:32  . . Segger_logger_open
2020-Apr-07 09:33:32  . . Segger_logger_open:	nRFJProg logger opened to callback at address 0X105E74890
2020-Apr-07 09:33:32  . . Segger_open_dll
2020-Apr-07 09:33:32  . . Segger_open_dll:	Load library at "/Applications/SEGGER/JLink/libjlinkarm.6.62.2.dylib".

2020-Apr-07 09:33:32  . . . Segger_dll_version
2020-Apr-07 09:33:32  . . Segger_set_core_data
2020-Apr-07 09:33:32  nRF_enum_emu_snr
2020-Apr-07 09:33:32  . nRF52_enum_emu_snr
2020-Apr-07 09:33:32  . . Segger_enum_emu_snr
2020-Apr-07 09:33:32  . . . Segger_enum_emu_snr
2020-Apr-07 09:33:32  . . . . Segger_get_num_emus
2020-Apr-07 09:33:32  nRF_connect_to_emu_with_snr
2020-Apr-07 09:33:32  . nRF52_connect_to_emu_with_snr
2020-Apr-07 09:33:32  . . Segger_connect_to_emu_with_snr
2020-Apr-07 09:33:32  . . . Segger_is_connected_to_emu
2020-Apr-07 09:33:32  . . . Segger_enum_emu_snr
2020-Apr-07 09:33:32  . . . . Segger_get_num_emus
2020-Apr-07 09:33:32  . . . Segger_connect_to_emu_with_snr
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	Segger logging enabled with callback at 0x4394012608.

2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:015.678   
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 21 2020 17:30:48
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:017.541   
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Hardware: V1.00
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:017.806   
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	S/N: 682959845
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:017.950   
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	OEM: SEGGER
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:018.087   
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:019.673   
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	TELNET listener socket opened on port 19021
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:020.013   
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	WEBSRV Starting webserver
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:020.281   
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	WEBSRV Webserver running on local port 19080
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:020.499 
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 15.116ms returns O.K.  
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:020.649 
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_GetHWStatus(...)  
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:020.950 
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.410ms returns 0x00  
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:021.208 
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:021.355 
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.075ms returns 0x01  
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:021.488 
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("DisableFlashDL", ...).   
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:021.630 
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.078ms returns 0x00  
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:021.764 
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:021.904 
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.077ms returns 0x00  
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:022.039   
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_SetHookUnsecureDialog(...)
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:022.229 
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.254ms returns 0  
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:022.356 
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_TIF_Select(JLINKARM_TIF_SWD)  
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:023.121 
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.857ms returns 0x00  
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:023.360 
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_SetSpeed(2000)  
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T15CF2DC0 000:023.540 
2020-Apr-07 09:33:32  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.250ms  
2020-Apr-07 09:33:32  . . . . . Segger_load_core_data
2020-Apr-07 09:33:32  . . . . . Segger_load_core_data:	JLink INFO	T15CF2DC0 000:023.827 
2020-Apr-07 09:33:32  . . . . . Segger_load_core_data:	JLink INFO	JLINK_ExecCommand("CORESIGHT_SetIndexAHBAPToUse = 0", ...).   
2020-Apr-07 09:33:32  . . . . . Segger_load_core_data:	JLink INFO	T15CF2DC0 000:023.960 
2020-Apr-07 09:33:32  . . . . . Segger_load_core_data:	JLink INFO	- 0.067ms returns 0x00  
2020-Apr-07 09:33:32  . . . . . Segger_load_core_data:	JLink INFO	T15CF2DC0 000:024.089 
2020-Apr-07 09:33:32  . . . . . Segger_load_core_data:	JLink INFO	JLINK_ExecCommand("device = nRF52832_xxAA", ...).   
2020-Apr-07 09:33:32  . . . . . Segger_load_core_data:	JLink INFO	T15CF2DC0 000:028.775   
2020-Apr-07 09:33:32  . . . . . Segger_load_core_data:	JLink INFO	XML file found at: /Applications/SEGGER/JLink_V662b/JLinkDevices.xml 
2020-Apr-07 09:33:32  . . . . . Segger_load_core_data:	JLink INFO	T15CF2DC0 000:029.786   
2020-Apr-07 09:33:32  . . . . . Segger_load_core_data:	JLink INFO	/Applications/SEGGER/JLink_V662b/JLinkDevices.xml evaluated successfully. 
2020-Apr-07 09:33:32  . . . . . Segger_load_core_data:	JLink INFO	T15CF2DC0 000:052.374   
2020-Apr-07 09:33:32  . . . . . Segger_load_core_data:	JLink INFO	Device "NRF52832_XXAA" selected.
2020-Apr-07 09:33:32  . . . . . Segger_load_core_data:	JLink INFO	T15CF2DC0 000:052.948 
2020-Apr-07 09:33:32  . . . . . Segger_load_core_data:	JLink INFO	- 28.905ms returns 0x00  
2020-Apr-07 09:33:32  . . Segger_read_debug_port_idr
2020-Apr-07 09:33:32  . . . Segger_read_debug_port_register
2020-Apr-07 09:33:32  . . . . Segger_is_connected_to_emu
2020-Apr-07 09:33:32  . . . . Segger_is_connected_to_emu:	JLink INFO	T15CF2DC0 000:053.724 
2020-Apr-07 09:33:32  . . . . Segger_is_connected_to_emu:	JLink INFO	JLINK_IsOpen()  
2020-Apr-07 09:33:32  . . . . Segger_is_connected_to_emu:	JLink INFO	T15CF2DC0 000:053.935 
2020-Apr-07 09:33:32  . . . . Segger_is_connected_to_emu:	JLink INFO	- 0.291ms returns 0x01  
2020-Apr-07 09:33:32  . . . . Segger_read_debug_port_register
2020-Apr-07 09:33:32  . . . . Segger_read_debug_port_register:	JLink INFO	T15CF2DC0 000:054.186 
2020-Apr-07 09:33:32  . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_Lock()  
2020-Apr-07 09:33:32  . . . . . Segger_coresight_configure
2020-Apr-07 09:33:32  . . . . . Segger_coresight_configure:	JLink INFO	T15CF2DC0 000:054.396   
2020-Apr-07 09:33:32  . . . . . Segger_coresight_configure:	JLink INFO	JLINK_CORESIGHT_Configure()  
2020-Apr-07 09:33:32  . . . . . Segger_coresight_configure:	JLink INFO	T15CF2DC0 000:156.203   
2020-Apr-07 09:33:32  . . . . . Segger_coresight_configure:	JLink INFO	- 102.188ms returns 0  
2020-Apr-07 09:33:32  . . . . Segger_read_debug_port_register:	JLink INFO	T15CF2DC0 000:158.654   
2020-Apr-07 09:33:32  . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)  
2020-Apr-07 09:33:32  . . . . Segger_read_debug_port_register:	JLink INFO	T15CF2DC0 000:160.304     
2020-Apr-07 09:33:32  . . . . Segger_read_debug_port_register:	JLink INFO	failed
2020-Apr-07 09:33:32  . . . . Segger_read_debug_port_register:	JLink INFO	T15CF2DC0 000:160.784   
2020-Apr-07 09:33:32  . . . . Segger_read_debug_port_register:	JLink INFO	- 2.267ms returns -1  
2020-Apr-07 09:33:32  . . . . Segger_read_debug_port_register:	JLinkARM.dll CORESIGHT_ReadAPDPReg returned error -1.

2020-Apr-07 09:33:32  . . . . . Segger_abort_debug_action
2020-Apr-07 09:33:32  . . . . . Segger_abort_debug_action:	Attempting to clear any configuration errors in debug port before closing connection. 

2020-Apr-07 09:33:32  . . . . . Segger_abort_debug_action:	JLink INFO	T15CF2DC0 000:161.720   
2020-Apr-07 09:33:32  . . . . . Segger_abort_debug_action:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
2020-Apr-07 09:33:32  . . . . . Segger_abort_debug_action:	JLink INFO	T15CF2DC0 000:163.122   
2020-Apr-07 09:33:32  . . . . . Segger_abort_debug_action:	JLink INFO	- 1.746ms returns -1  
2020-Apr-07 09:33:32  . . . . . Segger_abort_debug_action:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.

2020-Apr-07 09:33:32  . . . . Segger_read_debug_port_register:	JLink INFO	T15CF2DC0 000:163.823 
2020-Apr-07 09:33:32  . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_Unlock()  
2020-Apr-07 09:33:32  nRF_close_dll
2020-Apr-07 09:33:32  . nRF52_close_dll
2020-Apr-07 09:33:32  . . Segger_close
2020-Apr-07 09:33:32  . . . Segger_disconnect_from_emu
2020-Apr-07 09:33:32  . . . . Segger_is_connected_to_emu
2020-Apr-07 09:33:32  . . . . Segger_is_connected_to_emu:	JLink INFO	T15CF2DC0 000:164.953 
2020-Apr-07 09:33:32  . . . . Segger_is_connected_to_emu:	JLink INFO	JLINK_IsOpen()  
2020-Apr-07 09:33:32  . . . . Segger_is_connected_to_emu:	JLink INFO	T15CF2DC0 000:165.323 
2020-Apr-07 09:33:32  . . . . Segger_is_connected_to_emu:	JLink INFO	- 0.486ms returns 0x01  
2020-Apr-07 09:33:32  . . . . Segger_disconnect_from_emu
2020-Apr-07 09:33:32  . . . . . Segger_is_connected_to_device
2020-Apr-07 09:33:32  . . . . . Segger_is_connected_to_device:	JLink INFO	T15CF2DC0 000:166.043 
2020-Apr-07 09:33:32  . . . . . Segger_is_connected_to_device:	JLink INFO	JLINK_IsConnected()  
2020-Apr-07 09:33:32  . . . . . Segger_is_connected_to_device:	JLink INFO	T15CF2DC0 000:166.402 
2020-Apr-07 09:33:32  . . . . . Segger_is_connected_to_device:	JLink INFO	- 0.472ms returns FALSE  
2020-Apr-07 09:33:32  . . . . . Segger_is_debug_region_powered
2020-Apr-07 09:33:32  . . . . . . Segger_read_debug_port_register
2020-Apr-07 09:33:32  . . . . . . Segger_read_debug_port_register:	JLink INFO	T15CF2DC0 000:167.072 
2020-Apr-07 09:33:32  . . . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_Lock()  
2020-Apr-07 09:33:32  . . . . . . . Segger_write_debug_port_register
2020-Apr-07 09:33:32  . . . . . . . Segger_write_debug_port_register:	JLink INFO	T15CF2DC0 000:167.569   
2020-Apr-07 09:33:32  . . . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
2020-Apr-07 09:33:32  . . . . . . . Segger_write_debug_port_register:	JLink INFO	T15CF2DC0 000:168.845   
2020-Apr-07 09:33:32  . . . . . . . Segger_write_debug_port_register:	JLink INFO	- 1.411ms returns -1  
2020-Apr-07 09:33:32  . . . . . . . Segger_write_debug_port_register:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.

2020-Apr-07 09:33:32  . . . . . . . . Segger_abort_debug_action
2020-Apr-07 09:33:32  . . . . . . . . Segger_abort_debug_action:	Attempting to clear any configuration errors in debug port before closing connection. 

2020-Apr-07 09:33:32  . . . . . . . . Segger_abort_debug_action:	JLink INFO	T15CF2DC0 000:169.445   
2020-Apr-07 09:33:32  . . . . . . . . Segger_abort_debug_action:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
2020-Apr-07 09:33:32  . . . . . . . . Segger_abort_debug_action:	JLink INFO	T15CF2DC0 000:170.478   
2020-Apr-07 09:33:32  . . . . . . . . Segger_abort_debug_action:	JLink INFO	- 1.127ms returns -1  
2020-Apr-07 09:33:32  . . . . . . . . Segger_abort_debug_action:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.

2020-Apr-07 09:33:32  . . . . . . Segger_read_debug_port_register:	JLink INFO	T15CF2DC0 000:170.867 
2020-Apr-07 09:33:32  . . . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_Unlock()  
2020-Apr-07 09:33:32  . . . . Segger_disconnect_from_emu:	JLink INFO	T15CF2DC0 000:179.144 
2020-Apr-07 09:33:32  . . . . Segger_disconnect_from_emu:	JLink INFO	JLINK_Close()  
2020-Apr-07 09:33:32  . . Segger_close:	Freeing Library.

2020-Apr-07 09:33:32  nRF_close_dll:	Freeing Library.

Parents
  • Hi,

    The log indicates that the problem is with the communication between the Jlink and the nRF52840. Probably not very helpful, but at least it tells us that the PC to debugger connection is likely ok, so not caused by a bad USB cable or hub.

    I'm afraid I don't have a lot of ideas of what you can try as it is sounding like a HW issue, but one thing I would suggest is to try running the Jlink commander application (executable named JLinkExe on MacOS) and check what the reported "Vtref"  value is (ie target voltage). It should be around 3V.

     

    Best regards,

    Vidar

Reply
  • Hi,

    The log indicates that the problem is with the communication between the Jlink and the nRF52840. Probably not very helpful, but at least it tells us that the PC to debugger connection is likely ok, so not caused by a bad USB cable or hub.

    I'm afraid I don't have a lot of ideas of what you can try as it is sounding like a HW issue, but one thing I would suggest is to try running the Jlink commander application (executable named JLinkExe on MacOS) and check what the reported "Vtref"  value is (ie target voltage). It should be around 3V.

     

    Best regards,

    Vidar

Children
No Data
Related