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

Programming issue in BMD300

First time I programmed the BMD 300 IC ,it got programmed and worked good.After some days later I tried program the board, But the previous code was present in the mcu, i was not able to flash the new program in it.neither i can be able to erase the old one.ours is custom board,we are using j-link for programming and debugging.any one knows please reply

Parents
  • not sure of how that app works, have you tried asking that in the ublox forum? 

  • 2020-Mar-19 18:45:09  --------------------------------------------------------------------------------
    2020-Mar-19 18:45:09  nrfjprog -f NRF52 --recover --log 
    2020-Mar-19 18:45:09  nrfjprog version 10.6.0 
    2020-Mar-19 18:45:09  --------------------------------------------------------------------------------
    2020-Mar-19 18:45:09  nRF_logger_open
    2020-Mar-19 18:45:09  nRF_logger_open:	nRFJProg logger opened to callback at address 0XEB0610
    2020-Mar-19 18:45:09  nRF_open_dll
    2020-Mar-19 18:45:09  nRF_open_dll:	Load library at "C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\JLINKARM_NRF52_NRFJPROG.dll".
    
    2020-Mar-19 18:45:09  . nRF52_logger_open
    2020-Mar-19 18:45:09  . nRF52_logger_open:	nRFJProg logger opened to callback at address 0X79AFB6D0
    2020-Mar-19 18:45:09  . nRF52_open_dll
    2020-Mar-19 18:45:09  . . Segger_logger_open
    2020-Mar-19 18:45:09  . . Segger_logger_open:	nRFJProg logger opened to callback at address 0X79BC0300
    2020-Mar-19 18:45:09  . . Segger_open_dll
    2020-Mar-19 18:45:09  . . Segger_open_dll:	Load library at "C:\\Program Files (x86)\\SEGGER\\JLink\\JLinkARM.dll".
    
    2020-Mar-19 18:45:09  . . . Segger_dll_version
    2020-Mar-19 18:45:09  . . Segger_set_core_data
    2020-Mar-19 18:45:09  nRF_enum_emu_snr
    2020-Mar-19 18:45:09  . nRF52_enum_emu_snr
    2020-Mar-19 18:45:09  . . Segger_enum_emu_snr
    2020-Mar-19 18:45:09  . . . Segger_enum_emu_snr
    2020-Mar-19 18:45:09  . . . . Segger_get_num_emus
    2020-Mar-19 18:45:09  nRF_connect_to_emu_with_snr
    2020-Mar-19 18:45:09  . nRF52_connect_to_emu_with_snr
    2020-Mar-19 18:45:09  . . Segger_connect_to_emu_with_snr
    2020-Mar-19 18:45:09  . . . Segger_is_connected_to_emu
    2020-Mar-19 18:45:09  . . . Segger_enum_emu_snr
    2020-Mar-19 18:45:09  . . . . Segger_get_num_emus
    2020-Mar-19 18:45:09  . . . Segger_connect_to_emu_with_snr
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	Segger logging enabled with callback at 0x2042365584.
    
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:050.326   
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:057.921   
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Hardware: V8.00
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:060.754   
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	S/N: 17935099
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:063.428   
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	OEM: SEGGER
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:066.200   
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Feature(s): RDI,FlashDL,FlashBP,JFlash
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:071.664   
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	TELNET listener socket opened on port 19021
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:074.922   
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	WEBSRV Starting webserver
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:077.703   
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	WEBSRV Failed to put socket into listener state (port 19080)
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:080.620   
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	WEBSRV Webserver running on local port 19081
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:083.195 
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 46.811ms returns O.K.  
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:085.887 
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_GetHWStatus(...)  
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:088.941 
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 4.352ms returns 0x00  
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:091.594 
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:094.155 
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 1.361ms returns 0x01  
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:096.773 
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("DisableFlashDL", ...).   
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:099.357 
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 1.352ms returns 0x00  
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:101.933 
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:104.363 
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 1.216ms returns 0x00  
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:106.763   
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_SetHookUnsecureDialog(...)
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:109.155 
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 3.560ms returns 0  
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:111.520 
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:116.262 
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 5.955ms returns 0x00  
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:118.715 
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_SetSpeed(2000)  
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T527C 000:121.482 
    2020-Mar-19 18:45:09  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 3.925ms  
    2020-Mar-19 18:45:09  . . . . . Segger_load_core_data
    2020-Mar-19 18:45:09  . . . . . Segger_load_core_data:	JLink INFO	T527C 000:124.952 
    2020-Mar-19 18:45:09  . . . . . Segger_load_core_data:	JLink INFO	JLINK_ExecCommand("CORESIGHT_SetIndexAHBAPToUse = 0", ...).   
    2020-Mar-19 18:45:09  . . . . . Segger_load_core_data:	JLink INFO	T527C 000:127.149 
    2020-Mar-19 18:45:09  . . . . . Segger_load_core_data:	JLink INFO	- 1.162ms returns 0x00  
    2020-Mar-19 18:45:09  . . . . . Segger_load_core_data:	JLink INFO	T527C 000:129.418 
    2020-Mar-19 18:45:09  . . . . . Segger_load_core_data:	JLink INFO	JLINK_ExecCommand("device = nRF52832_xxAA", ...).   
    2020-Mar-19 18:45:09  . . . . . Segger_load_core_data:	JLink INFO	T527C 000:132.430   
    2020-Mar-19 18:45:09  . . . . . Segger_load_core_data:	JLink INFO	XML file found at: C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml 
    2020-Mar-19 18:45:09  . . . . . Segger_load_core_data:	JLink INFO	T527C 000:136.402   
    2020-Mar-19 18:45:09  . . . . . Segger_load_core_data:	JLink INFO	C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml evaluated successfully. 
    2020-Mar-19 18:45:09  . . . . . Segger_load_core_data:	JLink INFO	T527C 000:238.779   
    2020-Mar-19 18:45:09  . . . . . Segger_load_core_data:	JLink INFO	Device "NRF52832_XXAA" selected.
    2020-Mar-19 18:45:09  . . . . . Segger_load_core_data:	JLink INFO	T527C 000:251.358 
    2020-Mar-19 18:45:09  . . . . . Segger_load_core_data:	JLink INFO	- 121.026ms returns 0x00  
    2020-Mar-19 18:45:09  nRF_recover
    2020-Mar-19 18:45:09  . nRF52_recover
    2020-Mar-19 18:45:09  . . nRF52_is_ctrl_ap_available
    2020-Mar-19 18:45:09  . . . Segger_read_access_port_register
    2020-Mar-19 18:45:09  . . . . Segger_is_connected_to_emu
    2020-Mar-19 18:45:09  . . . . Segger_is_connected_to_emu:	JLink INFO	T527C 000:261.531 
    2020-Mar-19 18:45:09  . . . . Segger_is_connected_to_emu:	JLink INFO	JLINK_IsOpen()  
    2020-Mar-19 18:45:09  . . . . Segger_is_connected_to_emu:	JLink INFO	T527C 000:263.539 
    2020-Mar-19 18:45:09  . . . . Segger_is_connected_to_emu:	JLink INFO	- 3.018ms returns 0x01  
    2020-Mar-19 18:45:09  . . . . Segger_read_access_port_register
    2020-Mar-19 18:45:09  . . . . Segger_read_access_port_register:	JLink INFO	T527C 000:266.536 
    2020-Mar-19 18:45:09  . . . . Segger_read_access_port_register:	JLink INFO	JLINK_Lock()  
    2020-Mar-19 18:45:09  . . . . . Segger_coresight_configure
    2020-Mar-19 18:45:09  . . . . . Segger_coresight_configure:	JLink INFO	T527C 000:269.571   
    2020-Mar-19 18:45:09  . . . . . Segger_coresight_configure:	JLink INFO	JLINK_CORESIGHT_Configure()  
    2020-Mar-19 18:45:09  . . . . . Segger_coresight_configure:	JLink INFO	T527C 000:274.564   
    2020-Mar-19 18:45:09  . . . . . Segger_coresight_configure:	JLink INFO	- 6.413ms returns 0  
    2020-Mar-19 18:45:09  . . . . . Segger_is_debug_region_powered
    2020-Mar-19 18:45:09  . . . . . . Segger_read_debug_port_register
    2020-Mar-19 18:45:09  . . . . . . . Segger_write_debug_port_register
    2020-Mar-19 18:45:09  . . . . . . . Segger_write_debug_port_register:	JLink INFO	T527C 000:280.105   
    2020-Mar-19 18:45:09  . . . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    2020-Mar-19 18:45:09  . . . . . . . Segger_write_debug_port_register:	JLink INFO	T527C 000:282.771   
    2020-Mar-19 18:45:09  . . . . . . . Segger_write_debug_port_register:	JLink INFO	- 3.731ms returns -1  
    2020-Mar-19 18:45:09  . . . . . . . Segger_write_debug_port_register:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
    
    2020-Mar-19 18:45:09  . . . . . . . . Segger_abort_debug_action
    2020-Mar-19 18:45:09  . . . . . . . . Segger_abort_debug_action:	Attempting to clear any configuration errors in debug port before closing connection. 
    
    2020-Mar-19 18:45:09  . . . . . . . . Segger_abort_debug_action:	JLink INFO	T527C 000:287.976   
    2020-Mar-19 18:45:09  . . . . . . . . Segger_abort_debug_action:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    2020-Mar-19 18:45:09  . . . . . . . . Segger_abort_debug_action:	JLink INFO	T527C 000:290.612   
    2020-Mar-19 18:45:09  . . . . . . . . Segger_abort_debug_action:	JLink INFO	- 3.661ms returns -1  
    2020-Mar-19 18:45:09  . . . . . . . . Segger_abort_debug_action:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
    
    2020-Mar-19 18:45:09  . . . . Segger_read_access_port_register:	JLink INFO	T527C 000:293.736 
    2020-Mar-19 18:45:09  . . . . Segger_read_access_port_register:	JLink INFO	JLINK_Unlock()  
    2020-Mar-19 18:45:09  nRF_close_dll
    2020-Mar-19 18:45:09  . nRF52_close_dll
    2020-Mar-19 18:45:09  . . Segger_close
    2020-Mar-19 18:45:09  . . . Segger_disconnect_from_emu
    2020-Mar-19 18:45:09  . . . . Segger_is_connected_to_emu
    2020-Mar-19 18:45:09  . . . . Segger_is_connected_to_emu:	JLink INFO	T527C 000:300.954 
    2020-Mar-19 18:45:09  . . . . Segger_is_connected_to_emu:	JLink INFO	JLINK_IsOpen()  
    2020-Mar-19 18:45:09  . . . . Segger_is_connected_to_emu:	JLink INFO	T527C 000:302.931 
    2020-Mar-19 18:45:09  . . . . Segger_is_connected_to_emu:	JLink INFO	- 2.978ms returns 0x01  
    2020-Mar-19 18:45:09  . . . . Segger_disconnect_from_emu
    2020-Mar-19 18:45:09  . . . . . Segger_is_connected_to_device
    2020-Mar-19 18:45:09  . . . . . Segger_is_connected_to_device:	JLink INFO	T527C 000:306.926 
    2020-Mar-19 18:45:09  . . . . . Segger_is_connected_to_device:	JLink INFO	JLINK_IsConnected()  
    2020-Mar-19 18:45:09  . . . . . Segger_is_connected_to_device:	JLink INFO	T527C 000:308.959 
    2020-Mar-19 18:45:09  . . . . . Segger_is_connected_to_device:	JLink INFO	- 3.076ms returns FALSE  
    2020-Mar-19 18:45:09  . . . . . Segger_is_debug_region_powered
    2020-Mar-19 18:45:09  . . . . . . Segger_read_debug_port_register
    2020-Mar-19 18:45:09  . . . . . . Segger_read_debug_port_register:	JLink INFO	T527C 000:313.090 
    2020-Mar-19 18:45:09  . . . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_Lock()  
    2020-Mar-19 18:45:09  . . . . . . . Segger_write_debug_port_register
    2020-Mar-19 18:45:09  . . . . . . . Segger_write_debug_port_register:	JLink INFO	T527C 000:316.129   
    2020-Mar-19 18:45:09  . . . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    2020-Mar-19 18:45:09  . . . . . . . Segger_write_debug_port_register:	JLink INFO	T527C 000:318.796   
    2020-Mar-19 18:45:09  . . . . . . . Segger_write_debug_port_register:	JLink INFO	- 3.747ms returns -1  
    2020-Mar-19 18:45:09  . . . . . . . Segger_write_debug_port_register:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
    
    2020-Mar-19 18:45:09  . . . . . . . . Segger_abort_debug_action
    2020-Mar-19 18:45:09  . . . . . . . . Segger_abort_debug_action:	Attempting to clear any configuration errors in debug port before closing connection. 
    
    2020-Mar-19 18:45:09  . . . . . . . . Segger_abort_debug_action:	JLink INFO	T527C 000:323.893   
    2020-Mar-19 18:45:09  . . . . . . . . Segger_abort_debug_action:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    2020-Mar-19 18:45:09  . . . . . . . . Segger_abort_debug_action:	JLink INFO	T527C 000:326.430   
    2020-Mar-19 18:45:09  . . . . . . . . Segger_abort_debug_action:	JLink INFO	- 3.620ms returns -1  
    2020-Mar-19 18:45:09  . . . . . . . . Segger_abort_debug_action:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
    
    2020-Mar-19 18:45:09  . . . . . . Segger_read_debug_port_register:	JLink INFO	T527C 000:329.592 
    2020-Mar-19 18:45:09  . . . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_Unlock()  
    2020-Mar-19 18:45:09  . . . . Segger_disconnect_from_emu:	JLink INFO	T527C 000:340.351 
    2020-Mar-19 18:45:09  . . . . Segger_disconnect_from_emu:	JLink INFO	JLINK_Close()  
    2020-Mar-19 18:45:09  . . Segger_close:	Freeing Library.
    
    2020-Mar-19 18:45:09  nRF_close_dll:	Freeing Library.
    
    2020-Mar-19 18:45:24  --------------------------------------------------------------------------------
    2020-Mar-19 18:45:24  nrfjprog -f NRF52 --log --recover 
    2020-Mar-19 18:45:24  nrfjprog version 10.6.0 
    2020-Mar-19 18:45:24  --------------------------------------------------------------------------------
    2020-Mar-19 18:45:24  nRF_logger_open
    2020-Mar-19 18:45:24  nRF_logger_open:	nRFJProg logger opened to callback at address 0XEB0610
    2020-Mar-19 18:45:24  nRF_open_dll
    2020-Mar-19 18:45:24  nRF_open_dll:	Load library at "C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\JLINKARM_NRF52_NRFJPROG.dll".
    
    2020-Mar-19 18:45:24  . nRF52_logger_open
    2020-Mar-19 18:45:24  . nRF52_logger_open:	nRFJProg logger opened to callback at address 0X79AFB6D0
    2020-Mar-19 18:45:24  . nRF52_open_dll
    2020-Mar-19 18:45:24  . . Segger_logger_open
    2020-Mar-19 18:45:24  . . Segger_logger_open:	nRFJProg logger opened to callback at address 0X79BC0300
    2020-Mar-19 18:45:24  . . Segger_open_dll
    2020-Mar-19 18:45:24  . . Segger_open_dll:	Load library at "C:\\Program Files (x86)\\SEGGER\\JLink\\JLinkARM.dll".
    
    2020-Mar-19 18:45:24  . . . Segger_dll_version
    2020-Mar-19 18:45:24  . . Segger_set_core_data
    2020-Mar-19 18:45:24  nRF_enum_emu_snr
    2020-Mar-19 18:45:24  . nRF52_enum_emu_snr
    2020-Mar-19 18:45:24  . . Segger_enum_emu_snr
    2020-Mar-19 18:45:24  . . . Segger_enum_emu_snr
    2020-Mar-19 18:45:24  . . . . Segger_get_num_emus
    2020-Mar-19 18:45:24  nRF_connect_to_emu_with_snr
    2020-Mar-19 18:45:24  . nRF52_connect_to_emu_with_snr
    2020-Mar-19 18:45:24  . . Segger_connect_to_emu_with_snr
    2020-Mar-19 18:45:24  . . . Segger_is_connected_to_emu
    2020-Mar-19 18:45:24  . . . Segger_enum_emu_snr
    2020-Mar-19 18:45:24  . . . . Segger_get_num_emus
    2020-Mar-19 18:45:24  . . . Segger_connect_to_emu_with_snr
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	Segger logging enabled with callback at 0x2042365584.
    
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:051.731   
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:060.212   
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Hardware: V8.00
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:063.590   
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	S/N: 17935099
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:066.774   
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	OEM: SEGGER
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:069.773   
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Feature(s): RDI,FlashDL,FlashBP,JFlash
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:075.581   
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	TELNET listener socket opened on port 19021
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:079.334   
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	WEBSRV Starting webserver
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:082.566   
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	WEBSRV Failed to put socket into listener state (port 19080)
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:085.757   
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	WEBSRV Webserver running on local port 19081
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:088.586 
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 51.422ms returns O.K.  
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:091.509 
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_GetHWStatus(...)  
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:094.777 
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 4.643ms returns 0x00  
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:097.628 
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:100.479 
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 1.420ms returns 0x01  
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:103.133 
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("DisableFlashDL", ...).   
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:105.761 
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 1.293ms returns 0x00  
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:108.322 
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:110.888 
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 1.337ms returns 0x00  
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:113.501   
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_SetHookUnsecureDialog(...)
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:115.929 
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 3.586ms returns 0  
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:118.304 
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:122.784 
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 5.697ms returns 0x00  
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:125.234 
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_SetSpeed(2000)  
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T36BC 000:128.023 
    2020-Mar-19 18:45:24  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 3.990ms  
    2020-Mar-19 18:45:24  . . . . . Segger_load_core_data
    2020-Mar-19 18:45:24  . . . . . Segger_load_core_data:	JLink INFO	T36BC 000:131.663 
    2020-Mar-19 18:45:24  . . . . . Segger_load_core_data:	JLink INFO	JLINK_ExecCommand("CORESIGHT_SetIndexAHBAPToUse = 0", ...).   
    2020-Mar-19 18:45:24  . . . . . Segger_load_core_data:	JLink INFO	T36BC 000:134.072 
    2020-Mar-19 18:45:24  . . . . . Segger_load_core_data:	JLink INFO	- 1.138ms returns 0x00  
    2020-Mar-19 18:45:24  . . . . . Segger_load_core_data:	JLink INFO	T36BC 000:136.389 
    2020-Mar-19 18:45:24  . . . . . Segger_load_core_data:	JLink INFO	JLINK_ExecCommand("device = nRF52832_xxAA", ...).   
    2020-Mar-19 18:45:24  . . . . . Segger_load_core_data:	JLink INFO	T36BC 000:139.510   
    2020-Mar-19 18:45:24  . . . . . Segger_load_core_data:	JLink INFO	XML file found at: C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml 
    2020-Mar-19 18:45:24  . . . . . Segger_load_core_data:	JLink INFO	T36BC 000:143.692   
    2020-Mar-19 18:45:24  . . . . . Segger_load_core_data:	JLink INFO	C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml evaluated successfully. 
    2020-Mar-19 18:45:24  . . . . . Segger_load_core_data:	JLink INFO	T36BC 000:248.778   
    2020-Mar-19 18:45:24  . . . . . Segger_load_core_data:	JLink INFO	Device "NRF52832_XXAA" selected.
    2020-Mar-19 18:45:24  . . . . . Segger_load_core_data:	JLink INFO	T36BC 000:259.793 
    2020-Mar-19 18:45:24  . . . . . Segger_load_core_data:	JLink INFO	- 122.205ms returns 0x00  
    2020-Mar-19 18:45:25  nRF_recover
    2020-Mar-19 18:45:25  . nRF52_recover
    2020-Mar-19 18:45:25  . . nRF52_is_ctrl_ap_available
    2020-Mar-19 18:45:25  . . . Segger_read_access_port_register
    2020-Mar-19 18:45:25  . . . . Segger_is_connected_to_emu
    2020-Mar-19 18:45:25  . . . . Segger_is_connected_to_emu:	JLink INFO	T36BC 000:267.525 
    2020-Mar-19 18:45:25  . . . . Segger_is_connected_to_emu:	JLink INFO	JLINK_IsOpen()  
    2020-Mar-19 18:45:25  . . . . Segger_is_connected_to_emu:	JLink INFO	T36BC 000:269.564 
    2020-Mar-19 18:45:25  . . . . Segger_is_connected_to_emu:	JLink INFO	- 3.054ms returns 0x01  
    2020-Mar-19 18:45:25  . . . . Segger_read_access_port_register
    2020-Mar-19 18:45:25  . . . . Segger_read_access_port_register:	JLink INFO	T36BC 000:272.647 
    2020-Mar-19 18:45:25  . . . . Segger_read_access_port_register:	JLink INFO	JLINK_Lock()  
    2020-Mar-19 18:45:25  . . . . . Segger_coresight_configure
    2020-Mar-19 18:45:25  . . . . . Segger_coresight_configure:	JLink INFO	T36BC 000:275.675   
    2020-Mar-19 18:45:25  . . . . . Segger_coresight_configure:	JLink INFO	JLINK_CORESIGHT_Configure()  
    2020-Mar-19 18:45:25  . . . . . Segger_coresight_configure:	JLink INFO	T36BC 000:280.542   
    2020-Mar-19 18:45:25  . . . . . Segger_coresight_configure:	JLink INFO	- 6.278ms returns 0  
    2020-Mar-19 18:45:25  . . . . . Segger_is_debug_region_powered
    2020-Mar-19 18:45:25  . . . . . . Segger_read_debug_port_register
    2020-Mar-19 18:45:25  . . . . . . . Segger_write_debug_port_register
    2020-Mar-19 18:45:25  . . . . . . . Segger_write_debug_port_register:	JLink INFO	T36BC 000:286.648   
    2020-Mar-19 18:45:25  . . . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    2020-Mar-19 18:45:25  . . . . . . . Segger_write_debug_port_register:	JLink INFO	T36BC 000:289.272   
    2020-Mar-19 18:45:25  . . . . . . . Segger_write_debug_port_register:	JLink INFO	- 3.661ms returns -1  
    2020-Mar-19 18:45:25  . . . . . . . Segger_write_debug_port_register:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
    
    2020-Mar-19 18:45:25  . . . . . . . . Segger_abort_debug_action
    2020-Mar-19 18:45:25  . . . . . . . . Segger_abort_debug_action:	Attempting to clear any configuration errors in debug port before closing connection. 
    
    2020-Mar-19 18:45:25  . . . . . . . . Segger_abort_debug_action:	JLink INFO	T36BC 000:294.338   
    2020-Mar-19 18:45:25  . . . . . . . . Segger_abort_debug_action:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    2020-Mar-19 18:45:25  . . . . . . . . Segger_abort_debug_action:	JLink INFO	T36BC 000:296.850   
    2020-Mar-19 18:45:25  . . . . . . . . Segger_abort_debug_action:	JLink INFO	- 3.554ms returns -1  
    2020-Mar-19 18:45:25  . . . . . . . . Segger_abort_debug_action:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
    
    2020-Mar-19 18:45:25  . . . . Segger_read_access_port_register:	JLink INFO	T36BC 000:299.983 
    2020-Mar-19 18:45:25  . . . . Segger_read_access_port_register:	JLink INFO	JLINK_Unlock()  
    2020-Mar-19 18:45:25  nRF_close_dll
    2020-Mar-19 18:45:25  . nRF52_close_dll
    2020-Mar-19 18:45:25  . . Segger_close
    2020-Mar-19 18:45:25  . . . Segger_disconnect_from_emu
    2020-Mar-19 18:45:25  . . . . Segger_is_connected_to_emu
    2020-Mar-19 18:45:25  . . . . Segger_is_connected_to_emu:	JLink INFO	T36BC 000:307.296 
    2020-Mar-19 18:45:25  . . . . Segger_is_connected_to_emu:	JLink INFO	JLINK_IsOpen()  
    2020-Mar-19 18:45:25  . . . . Segger_is_connected_to_emu:	JLink INFO	T36BC 000:309.314 
    2020-Mar-19 18:45:25  . . . . Segger_is_connected_to_emu:	JLink INFO	- 3.088ms returns 0x01  
    2020-Mar-19 18:45:25  . . . . Segger_disconnect_from_emu
    2020-Mar-19 18:45:25  . . . . . Segger_is_connected_to_device
    2020-Mar-19 18:45:25  . . . . . Segger_is_connected_to_device:	JLink INFO	T36BC 000:313.391 
    2020-Mar-19 18:45:25  . . . . . Segger_is_connected_to_device:	JLink INFO	JLINK_IsConnected()  
    2020-Mar-19 18:45:25  . . . . . Segger_is_connected_to_device:	JLink INFO	T36BC 000:315.332 
    2020-Mar-19 18:45:25  . . . . . Segger_is_connected_to_device:	JLink INFO	- 2.979ms returns FALSE  
    2020-Mar-19 18:45:25  . . . . . Segger_is_debug_region_powered
    2020-Mar-19 18:45:25  . . . . . . Segger_read_debug_port_register
    2020-Mar-19 18:45:25  . . . . . . Segger_read_debug_port_register:	JLink INFO	T36BC 000:319.361 
    2020-Mar-19 18:45:25  . . . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_Lock()  
    2020-Mar-19 18:45:25  . . . . . . . Segger_write_debug_port_register
    2020-Mar-19 18:45:25  . . . . . . . Segger_write_debug_port_register:	JLink INFO	T36BC 000:322.357   
    2020-Mar-19 18:45:25  . . . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    2020-Mar-19 18:45:25  . . . . . . . Segger_write_debug_port_register:	JLink INFO	T36BC 000:324.824   
    2020-Mar-19 18:45:25  . . . . . . . Segger_write_debug_port_register:	JLink INFO	- 3.508ms returns -1  
    2020-Mar-19 18:45:25  . . . . . . . Segger_write_debug_port_register:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
    
    2020-Mar-19 18:45:25  . . . . . . . . Segger_abort_debug_action
    2020-Mar-19 18:45:25  . . . . . . . . Segger_abort_debug_action:	Attempting to clear any configuration errors in debug port before closing connection. 
    
    2020-Mar-19 18:45:25  . . . . . . . . Segger_abort_debug_action:	JLink INFO	T36BC 000:329.864   
    2020-Mar-19 18:45:25  . . . . . . . . Segger_abort_debug_action:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    2020-Mar-19 18:45:25  . . . . . . . . Segger_abort_debug_action:	JLink INFO	T36BC 000:332.395   
    2020-Mar-19 18:45:25  . . . . . . . . Segger_abort_debug_action:	JLink INFO	- 3.573ms returns -1  
    2020-Mar-19 18:45:25  . . . . . . . . Segger_abort_debug_action:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
    
    2020-Mar-19 18:45:25  . . . . . . Segger_read_debug_port_register:	JLink INFO	T36BC 000:335.470 
    2020-Mar-19 18:45:25  . . . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_Unlock()  
    2020-Mar-19 18:45:25  . . . . Segger_disconnect_from_emu:	JLink INFO	T36BC 000:347.391 
    2020-Mar-19 18:45:25  . . . . Segger_disconnect_from_emu:	JLink INFO	JLINK_Close()  
    2020-Mar-19 18:45:25  . . Segger_close:	Freeing Library.
    
    2020-Mar-19 18:45:25  nRF_close_dll:	Freeing Library.
    
    

    our log file

  • looking at the log file, it does not seem that nrfjprog is able to write anything to the chip.

    does the following command work?

    > nrfjprog -i

Reply Children
No Data
Related