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

PCA10090 programming customer board via debug out

Hi,

One of our modules using PCA10090 0.8.2 programming and production nRF9160/nRF52840  modules.

Our customer reported that they can't use PCA10090 0.9.0 re-programming these modules.

Does there is any difference between 0.8.2 and 0.9.0?

They have 20 modules 2 PCA10090 and has the same problem.

They already checked the cable and connection.

 nrfjprog --version

--->nrfjprog version: 10.9.0
--->JLinkARM.dll version: 6.80d

nrfjprog --recover
 --->ERROR: JLinkARM DLL reported an error. Try again. If error condition
--->ERROR: persists, run the same command again with argument --log,contact Nordic

--->ERROR: Semiconductor and provide the generated log.log file to
 them.

Do you know what might caused this problem.

Would you please help.

Thanks you.

Leo Chen

2020-Jul-14 10:26:36  --------------------------------------------------------------------------------
2020-Jul-14 10:26:36  nrfjprog --recover --log 
2020-Jul-14 10:26:36  nrfjprog version 10.9.0 
2020-Jul-14 10:26:36  --------------------------------------------------------------------------------
2020-Jul-14 10:26:36  nRF_logger_open
2020-Jul-14 10:26:36  nRF_logger_open:	nRFJProg logger opened to callback at address 0X7FF79D9133C0
2020-Jul-14 10:26:36  nRF_open_dll
2020-Jul-14 10:26:36  nRF_open_dll:	Load library at "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\JLINKARM_UNKNOWN_NRFJPROG.dll".

2020-Jul-14 10:26:36  . nRFXX_logger_open
2020-Jul-14 10:26:36  . nRFXX_logger_open:	nRFJProg logger opened to callback at address 0X7FFDABDBE520
2020-Jul-14 10:26:36  . . Segger_logger_open
2020-Jul-14 10:26:36  . . Segger_logger_open:	nRFJProg logger opened to callback at address 0X7FFDABD6F490
2020-Jul-14 10:26:36  . . Segger_open_dll
2020-Jul-14 10:26:36  . . Segger_open_dll:	No J-Link DLL path was provided. Attempting to auto detect.

2020-Jul-14 10:26:36  . . Segger_open_dll:	Load library at "C:\\Program Files (x86)\\SEGGER\\JLink\\JLink_x64.dll".

2020-Jul-14 10:26:36  . . . Segger_dll_version
2020-Jul-14 10:26:36  . . Segger_set_core_data
2020-Jul-14 10:26:36  nRF_enum_emu_snr
2020-Jul-14 10:26:36  . nRFXX_enum_emu_snr
2020-Jul-14 10:26:36  . . Segger_enum_emu_snr
2020-Jul-14 10:26:36  . . . Segger_enum_emu_snr
2020-Jul-14 10:26:36  . . . . Segger_get_num_emus
2020-Jul-14 10:26:36  nRF_connect_to_emu_with_snr
2020-Jul-14 10:26:36  . nRFXX_connect_to_emu_with_snr
2020-Jul-14 10:26:36  . . Segger_connect_to_emu_with_snr
2020-Jul-14 10:26:36  . . . Segger_is_connected_to_emu
2020-Jul-14 10:26:36  . . . Segger_enum_emu_snr
2020-Jul-14 10:26:36  . . . . Segger_get_num_emus
2020-Jul-14 10:26:36  . . . Segger_connect_to_emu_with_snr
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	Segger logging enabled with callback at 0x140727486445616.

2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:045.404   
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Firmware: J-Link OB-K22-NordicSemi compiled Jan 21 2020 17:33:01
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:048.267   
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Decompressing FW timestamp took 171 us
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:168.363   
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Hardware: V1.00
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:170.871   
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	S/N: 960093176
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:172.937   
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	OEM: SEGGER
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:174.530   
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:194.750   
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	TELNET listener socket opened on port 19021
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:197.320   
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	WEBSRV Starting webserver
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:199.016   
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	WEBSRV Webserver running on local port 19080
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:200.596 
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 169.723ms returns O.K.  
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:201.893 
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_GetHWStatus(...)  
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:205.447 
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 4.516ms returns 0x00  
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:207.054 
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:208.387 
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.633ms returns 0x01  
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:209.637 
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("DisableFlashDL", ...).   
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:210.900 
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.619ms returns 0x00  
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:212.110 
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:213.452 
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.565ms returns 0x00  
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:214.635   
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_SetHookUnsecureDialog(...)
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:215.757 
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 1.696ms returns 0  
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:216.886 
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_TIF_Select(JLINKARM_TIF_SWD)  
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:228.513 
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 12.551ms returns 0x00  
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:230.108 
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_SetSpeed(2000)  
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T2874 000:232.890 
2020-Jul-14 10:26:36  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 3.444ms  
2020-Jul-14 10:26:36  . . . . . Segger_load_core_data
2020-Jul-14 10:26:36  . . . . . Segger_load_core_data:	JLink INFO	T2874 000:234.726 
2020-Jul-14 10:26:36  . . . . . Segger_load_core_data:	JLink INFO	JLINK_ExecCommand("CORESIGHT_SetIndexAHBAPToUse = 0", ...).   
2020-Jul-14 10:26:36  . . . . . Segger_load_core_data:	JLink INFO	T2874 000:235.814 
2020-Jul-14 10:26:36  . . . . . Segger_load_core_data:	JLink INFO	- 0.529ms returns 0x00  
2020-Jul-14 10:26:36  . . . . . Segger_load_core_data:	JLink INFO	T2874 000:236.857 
2020-Jul-14 10:26:36  . . . . . Segger_load_core_data:	JLink INFO	JLINK_ExecCommand("device = Cortex-M4", ...).   
2020-Jul-14 10:26:36  . . . . . Segger_load_core_data:	JLink INFO	T2874 000:246.049   
2020-Jul-14 10:26:36  . . . . . Segger_load_core_data:	JLink INFO	XML file found at: C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml 
2020-Jul-14 10:26:36  . . . . . Segger_load_core_data:	JLink INFO	T2874 000:247.799   
2020-Jul-14 10:26:36  . . . . . Segger_load_core_data:	JLink INFO	C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml evaluated successfully. 
2020-Jul-14 10:26:36  . . . . . Segger_load_core_data:	JLink INFO	T2874 000:277.243   
2020-Jul-14 10:26:36  . . . . . Segger_load_core_data:	JLink INFO	Device "CORTEX-M4" selected.
2020-Jul-14 10:26:36  . . . . . Segger_load_core_data:	JLink INFO	T2874 000:280.511 
2020-Jul-14 10:26:36  . . . . . Segger_load_core_data:	JLink INFO	- 43.074ms returns 0x00  
2020-Jul-14 10:26:36  nRF_read_connected_emu_snr
2020-Jul-14 10:26:36  . nRFXX_read_connected_emu_snr
2020-Jul-14 10:26:36  . . Segger_read_connected_emu_snr
2020-Jul-14 10:26:36  . . . Segger_is_connected_to_emu
2020-Jul-14 10:26:36  . . . Segger_is_connected_to_emu:	JLink INFO	T2874 000:283.259 
2020-Jul-14 10:26:36  . . . Segger_is_connected_to_emu:	JLink INFO	JLINK_IsOpen()  
2020-Jul-14 10:26:36  . . . Segger_is_connected_to_emu:	JLink INFO	T2874 000:284.199 
2020-Jul-14 10:26:36  . . . Segger_is_connected_to_emu:	JLink INFO	- 1.481ms returns 0x01  
2020-Jul-14 10:26:36  nRF_read_device_family
2020-Jul-14 10:26:36  . nRFXX_read_device_family
2020-Jul-14 10:26:36  . . Segger_is_connected_to_emu
2020-Jul-14 10:26:36  . . Segger_is_connected_to_emu:	JLink INFO	T2874 000:286.592 
2020-Jul-14 10:26:36  . . Segger_is_connected_to_emu:	JLink INFO	JLINK_IsOpen()  
2020-Jul-14 10:26:36  . . Segger_is_connected_to_emu:	JLink INFO	T2874 000:287.627 
2020-Jul-14 10:26:36  . . Segger_is_connected_to_emu:	JLink INFO	- 1.706ms returns 0x01  
2020-Jul-14 10:26:36  . . :	JLink INFO	T2874 000:289.032 
2020-Jul-14 10:26:36  . . :	JLink INFO	JLINK_Lock()  
2020-Jul-14 10:26:36  . . Segger_read_debug_port_idr
2020-Jul-14 10:26:36  . . . Segger_read_debug_port_register
2020-Jul-14 10:26:36  . . . . Segger_read_debug_port_register
2020-Jul-14 10:26:36  . . . . . Segger_coresight_configure
2020-Jul-14 10:26:36  . . . . . Segger_coresight_configure:	JLink INFO	T2874 000:292.868   
2020-Jul-14 10:26:36  . . . . . Segger_coresight_configure:	JLink INFO	JLINK_CORESIGHT_Configure()  
2020-Jul-14 10:26:36  . . . . . Segger_coresight_configure:	JLink INFO	T2874 000:397.747   
2020-Jul-14 10:26:36  . . . . . Segger_coresight_configure:	JLink INFO	- 106.258ms returns 0  
2020-Jul-14 10:26:36  . . . . Segger_read_debug_port_register:	JLink INFO	T2874 000:400.189   
2020-Jul-14 10:26:36  . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)  
2020-Jul-14 10:26:36  . . . . Segger_read_debug_port_register:	JLink INFO	T2874 000:405.635     
2020-Jul-14 10:26:36  . . . . Segger_read_debug_port_register:	JLink INFO	failed
2020-Jul-14 10:26:36  . . . . Segger_read_debug_port_register:	JLink INFO	T2874 000:407.952   
2020-Jul-14 10:26:36  . . . . Segger_read_debug_port_register:	JLink INFO	- 8.554ms returns -1  
2020-Jul-14 10:26:36  . . . . Segger_read_debug_port_register:	JLinkARM.dll reported "-1", an unknown error.

2020-Jul-14 10:26:36  . . . . . Segger_abort_debug_action
2020-Jul-14 10:26:36  . . . . . Segger_abort_debug_action:	Attempting to clear any configuration errors in debug port before closing connection. 

2020-Jul-14 10:26:36  . . . . . Segger_abort_debug_action:	JLink INFO	T2874 000:411.743   
2020-Jul-14 10:26:36  . . . . . Segger_abort_debug_action:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
2020-Jul-14 10:26:36  . . . . . Segger_abort_debug_action:	JLink INFO	T2874 000:416.602   
2020-Jul-14 10:26:36  . . . . . Segger_abort_debug_action:	JLink INFO	- 6.125ms returns -1  
2020-Jul-14 10:26:36  . . . . . Segger_abort_debug_action:	JLinkARM.dll reported "-1", an unknown error.

2020-Jul-14 10:26:36  . . :	JLink INFO	T2874 000:419.559 
2020-Jul-14 10:26:36  . . :	JLink INFO	JLINK_Unlock()  
2020-Jul-14 10:26:36  nRF_close_dll
2020-Jul-14 10:26:36  . nRFXX_close_dll
2020-Jul-14 10:26:36  . . Segger_close
2020-Jul-14 10:26:36  . . . Segger_disconnect_from_emu
2020-Jul-14 10:26:36  . . . . Segger_is_connected_to_emu
2020-Jul-14 10:26:36  . . . . Segger_is_connected_to_emu:	JLink INFO	T2874 000:425.947 
2020-Jul-14 10:26:36  . . . . Segger_is_connected_to_emu:	JLink INFO	JLINK_IsOpen()  
2020-Jul-14 10:26:36  . . . . Segger_is_connected_to_emu:	JLink INFO	T2874 000:427.392 
2020-Jul-14 10:26:36  . . . . Segger_is_connected_to_emu:	JLink INFO	- 2.161ms returns 0x01  
2020-Jul-14 10:26:36  . . . . Segger_disconnect_from_emu
2020-Jul-14 10:26:36  . . . . . Segger_is_connected_to_device
2020-Jul-14 10:26:36  . . . . . Segger_is_connected_to_device:	JLink INFO	T2874 000:430.159 
2020-Jul-14 10:26:36  . . . . . Segger_is_connected_to_device:	JLink INFO	JLINK_IsConnected()  
2020-Jul-14 10:26:36  . . . . . Segger_is_connected_to_device:	JLink INFO	T2874 000:431.529 
2020-Jul-14 10:26:36  . . . . . Segger_is_connected_to_device:	JLink INFO	- 2.021ms returns FALSE  
2020-Jul-14 10:26:36  . . . . . Segger_is_debug_region_powered
2020-Jul-14 10:26:36  . . . . . . Segger_read_debug_port_register
2020-Jul-14 10:26:36  . . . . . . . Segger_is_connected_to_emu
2020-Jul-14 10:26:36  . . . . . . . Segger_is_connected_to_emu:	JLink INFO	T2874 000:434.889 
2020-Jul-14 10:26:36  . . . . . . . Segger_is_connected_to_emu:	JLink INFO	JLINK_IsOpen()  
2020-Jul-14 10:26:36  . . . . . . . Segger_is_connected_to_emu:	JLink INFO	T2874 000:436.191 
2020-Jul-14 10:26:36  . . . . . . . Segger_is_connected_to_emu:	JLink INFO	- 1.957ms returns 0x01  
2020-Jul-14 10:26:36  . . . . . . Segger_read_debug_port_register:	JLink INFO	T2874 000:437.497 
2020-Jul-14 10:26:36  . . . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_Lock()  
2020-Jul-14 10:26:36  . . . . . . . Segger_write_debug_port_register
2020-Jul-14 10:26:36  . . . . . . . Segger_write_debug_port_register:	JLink INFO	T2874 000:439.451   
2020-Jul-14 10:26:36  . . . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
2020-Jul-14 10:26:36  . . . . . . . Segger_write_debug_port_register:	JLink INFO	T2874 000:443.972   
2020-Jul-14 10:26:36  . . . . . . . Segger_write_debug_port_register:	JLink INFO	- 5.498ms returns -1  
2020-Jul-14 10:26:36  . . . . . . . Segger_write_debug_port_register:	JLinkARM.dll reported "-1", an unknown error.

2020-Jul-14 10:26:36  . . . . . . . . Segger_abort_debug_action
2020-Jul-14 10:26:36  . . . . . . . . Segger_abort_debug_action:	Attempting to clear any configuration errors in debug port before closing connection. 

2020-Jul-14 10:26:36  . . . . . . . . Segger_abort_debug_action:	JLink INFO	T2874 000:447.465   
2020-Jul-14 10:26:36  . . . . . . . . Segger_abort_debug_action:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
2020-Jul-14 10:26:36  . . . . . . . . Segger_abort_debug_action:	JLink INFO	T2874 000:452.935   
2020-Jul-14 10:26:36  . . . . . . . . Segger_abort_debug_action:	JLink INFO	- 6.468ms returns -1  
2020-Jul-14 10:26:36  . . . . . . . . Segger_abort_debug_action:	JLinkARM.dll reported "-1", an unknown error.

2020-Jul-14 10:26:36  . . . . . . Segger_read_debug_port_register:	JLink INFO	T2874 000:455.333 
2020-Jul-14 10:26:36  . . . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_Unlock()  
2020-Jul-14 10:26:36  . . . . Segger_disconnect_from_emu:	JLink INFO	T2874 000:464.481 
2020-Jul-14 10:26:36  . . . . Segger_disconnect_from_emu:	JLink INFO	JLINK_Close()  
2020-Jul-14 10:26:36  . . Segger_close:	Freeing Library.

2020-Jul-14 10:26:36  nRF_close_dll:	Freeing Library.

Related