Hello, I'm working on a custom board, and I use JLink OB as programmer. Whenever I try to connect to nRF52811 on the board, this happens:
I check the connections, everything looks fine, Could It be because of the firmware of my Jlink OB?
Hello, I'm working on a custom board, and I use JLink OB as programmer. Whenever I try to connect to nRF52811 on the board, this happens:
I check the connections, everything looks fine, Could It be because of the firmware of my Jlink OB?
Hi,
Whenever I try to connect to nRF52811 on the board
Looking at the screenshot attached, you seem to be using a project that is configured to be used for the nRF52840.
Please try the pca10056e project instead. For the ble_app_blinky project, see the project in the folder SDK_folder\examples\ble_peripheral\ble_app_blinky\pca10056e\s112\ses
You might find the Developing for nRF52811 user guide useful. See this link: infocenter.nordicsemi.com/.../nrf52811_user_guide.html
Unfortunately it is the same as before.
bardia3000 said:Unfortunately it is the same as before.
Are you able to recover the device using nrfjprog ?
nrfjprog --recover
What voltage are you powering the nRF52811 with?
No I can't recover the device.
nRF52811 is powering with 1v8, by the way I checked the programmer, It can program a nrf52832 (powered with 1v8) on another board correctly!
I also tried Segger J-Flash (and I change the programmer device): Here is the result of Log:
Connecting ...
- Connecting via USB to probe/ programmer device 0
- Probe/ Programmer firmware: J-Link V9 compiled Jun 2 2222 22:22:22
- Device "NRF52811_XXAA" selected.
- Target interface speed: 4000 kHz (Fixed)
- VTarget = 1.790V
- InitTarget() start
- InitTarget() end
- InitTarget() start
- InitTarget() end
- ERROR: Failed to connect.
Could not establish a connection to target.
and after I changed the speed to auto mode:
Connecting ...
- Connecting via USB to probe/ programmer device 0
- Probe/ Programmer firmware: J-Link V9 compiled Jun 2 2222 22:22:22
- Device "NRF52811_XXAA" selected.
- InitTarget() start
- InitTarget() end
- InitTarget() start
- InitTarget() end
- Target interface speed: 200 kHz (Auto)
- VTarget = 1.815V
- InitTarget() start
- InitTarget() end
- InitTarget() start
- InitTarget() end
- ERROR: Failed to connect.
Could not establish a connection to target.
I also run "it as administrator" with J-link OB:
and this is the log file:
2020-Jul-14 09:42:48 -------------------------------------------------------------------------------- 2020-Jul-14 09:42:48 nrfjprog -f nrf52 --recover --log 2020-Jul-14 09:42:48 nrfjprog version 10.9.0 2020-Jul-14 09:42:48 -------------------------------------------------------------------------------- 2020-Jul-14 09:42:48 nRF_logger_open 2020-Jul-14 09:42:48 nRF_logger_open: nRFJProg logger opened to callback at address 0X7FF68AC733C0 2020-Jul-14 09:42:48 nRF_open_dll 2020-Jul-14 09:42:48 nRF_open_dll: Load library at "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\JLINKARM_NRF52_NRFJPROG.dll". 2020-Jul-14 09:42:48 . nRF52_logger_open 2020-Jul-14 09:42:48 . nRF52_logger_open: nRFJProg logger opened to callback at address 0X7FFEE7F2E520 2020-Jul-14 09:42:48 . nRF52_open 2020-Jul-14 09:42:48 . . Segger_logger_open 2020-Jul-14 09:42:48 . . Segger_logger_open: nRFJProg logger opened to callback at address 0X7FFEA5628F00 2020-Jul-14 09:42:48 . . Segger_open_dll 2020-Jul-14 09:42:48 . . Segger_open_dll: No J-Link DLL path was provided. Attempting to auto detect. 2020-Jul-14 09:42:48 . . Segger_open_dll: Load library at "C:\\Program Files (x86)\\SEGGER\\JLink\\JLink_x64.dll". 2020-Jul-14 09:42:48 . . . Segger_dll_version 2020-Jul-14 09:42:48 nRF_enum_emu_snr 2020-Jul-14 09:42:48 . nRF52_enum_emu_snr 2020-Jul-14 09:42:48 . . Segger_is_connected_to_emu 2020-Jul-14 09:42:48 . . Segger_enum_emu_snr 2020-Jul-14 09:42:48 . . . Segger_enum_emu_snr 2020-Jul-14 09:42:48 . . . . Segger_get_num_emus 2020-Jul-14 09:42:48 . . Segger_is_connected_to_emu 2020-Jul-14 09:42:48 nRF_connect_to_emu_with_snr 2020-Jul-14 09:42:48 . nRF52_connect_to_emu_with_snr 2020-Jul-14 09:42:48 . . Segger_is_connected_to_emu 2020-Jul-14 09:42:48 . . Segger_connect_to_emu_with_snr 2020-Jul-14 09:42:48 . . . Segger_is_connected_to_emu 2020-Jul-14 09:42:48 . . . Segger_enum_emu_snr 2020-Jul-14 09:42:48 . . . . Segger_get_num_emus 2020-Jul-14 09:42:48 . . . Segger_connect_to_emu_with_snr 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: Segger logging enabled with callback at 0x140731673258320. 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:034.836 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO Firmware: J-Link ARM-OB STM32 compiled Aug 22 2012 19:52:04 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:040.581 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO Hardware: V7.00 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:044.140 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO S/N: 20090928 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:047.711 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO OEM: SEGGER 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:051.886 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO Feature(s): RDI,FlashDL,FlashBP,JFlash,GDB 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:056.481 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO TELNET listener socket opened on port 19021 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:059.831 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO WEBSRV Starting webserver 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:062.929 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO WEBSRV Webserver running on local port 19080 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:065.916 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 35.798ms returns O.K. 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:069.130 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_Lock() 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:072.217 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_GetHWStatus(...) 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:075.463 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 4.781ms returns 0x00 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:078.537 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("SetRestartOnClose = 0", ...). 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:081.667 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 1.360ms returns 0x01 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:084.439 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("DisableFlashDL", ...). 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:087.531 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 1.389ms returns 0x00 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:090.283 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...). 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:093.068 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 1.370ms returns 0x00 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:095.802 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_SetHookUnsecureDialog(...) 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:098.577 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 4.167ms returns 0 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:101.416 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_TIF_Select(JLINKARM_TIF_SWD) 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:104.830 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 4.925ms returns 0x00 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:107.878 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_SetSpeed(2000) 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO T0960 000:117.521 2020-Jul-14 09:42:48 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 11.138ms 2020-Jul-14 09:42:48 . . . . . Segger_load_core_data 2020-Jul-14 09:42:48 . . . . . Segger_load_core_data: JLink INFO T0960 000:122.384 2020-Jul-14 09:42:48 . . . . . Segger_load_core_data: JLink INFO JLINK_ExecCommand("CORESIGHT_SetIndexAHBAPToUse = 0", ...). 2020-Jul-14 09:42:48 . . . . . Segger_load_core_data: JLink INFO T0960 000:125.299 2020-Jul-14 09:42:48 . . . . . Segger_load_core_data: JLink INFO - 1.408ms returns 0x00 2020-Jul-14 09:42:48 . . . . . Segger_load_core_data: JLink INFO T0960 000:128.120 2020-Jul-14 09:42:48 . . . . . Segger_load_core_data: JLink INFO JLINK_ExecCommand("device = nRF52", ...). 2020-Jul-14 09:42:48 . . . . . Segger_load_core_data: JLink INFO T0960 000:138.382 2020-Jul-14 09:42:48 . . . . . Segger_load_core_data: JLink INFO XML file found at: C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml 2020-Jul-14 09:42:48 . . . . . Segger_load_core_data: JLink INFO T0960 000:142.073 2020-Jul-14 09:42:48 . . . . . Segger_load_core_data: JLink INFO C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml evaluated successfully. 2020-Jul-14 09:42:48 . . . . . Segger_load_core_data: JLink INFO T0960 000:190.854 2020-Jul-14 09:42:48 . . . . . Segger_load_core_data: JLink INFO Device "NRF52" selected. 2020-Jul-14 09:42:48 . . . . . Segger_load_core_data: JLink INFO T0960 000:196.819 2020-Jul-14 09:42:48 . . . . . Segger_load_core_data: JLink INFO - 67.355ms returns 0x00 2020-Jul-14 09:42:48 . . Segger_read_debug_port_idr 2020-Jul-14 09:42:48 . . . Segger_read_debug_port_register 2020-Jul-14 09:42:48 . . . . Segger_read_debug_port_register 2020-Jul-14 09:42:48 . . . . . Segger_coresight_configure 2020-Jul-14 09:42:48 . . . . . Segger_coresight_configure: JLink INFO T0960 000:205.716 2020-Jul-14 09:42:48 . . . . . Segger_coresight_configure: JLink INFO JLINK_CORESIGHT_Configure() 2020-Jul-14 09:42:48 . . . . . Segger_coresight_configure: JLink INFO T0960 000:210.634 2020-Jul-14 09:42:48 . . . . . Segger_coresight_configure: JLink INFO - 6.649ms returns 0 2020-Jul-14 09:42:48 . . . . Segger_read_debug_port_register: JLink INFO T0960 000:213.808 2020-Jul-14 09:42:48 . . . . Segger_read_debug_port_register: JLink INFO JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00) 2020-Jul-14 09:42:48 . . . . Segger_read_debug_port_register: JLink INFO T0960 000:217.104 2020-Jul-14 09:42:48 . . . . Segger_read_debug_port_register: JLink INFO failed 2020-Jul-14 09:42:48 . . . . Segger_read_debug_port_register: JLink INFO T0960 000:220.181 2020-Jul-14 09:42:48 . . . . Segger_read_debug_port_register: JLink INFO - 7.832ms returns -1 2020-Jul-14 09:42:48 . . . . Segger_read_debug_port_register: JLinkARM.dll reported "-1", an unknown error. 2020-Jul-14 09:42:48 . . . . . Segger_abort_debug_action 2020-Jul-14 09:42:48 . . . . . Segger_abort_debug_action: Attempting to clear any configuration errors in debug port before closing connection. 2020-Jul-14 09:42:48 . . . . . Segger_abort_debug_action: JLink INFO T0960 000:228.545 2020-Jul-14 09:42:48 . . . . . Segger_abort_debug_action: JLink INFO JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) 2020-Jul-14 09:42:48 . . . . . Segger_abort_debug_action: JLink INFO T0960 000:231.819 2020-Jul-14 09:42:48 . . . . . Segger_abort_debug_action: JLink INFO - 4.831ms returns -1 2020-Jul-14 09:42:48 . . . . . Segger_abort_debug_action: JLinkARM.dll reported "-1", an unknown error. 2020-Jul-14 09:42:48 . . : JLink INFO T0960 000:236.521 2020-Jul-14 09:42:48 . . : JLink INFO JLINK_Unlock() 2020-Jul-14 09:42:48 nRF_close_dll 2020-Jul-14 09:42:48 . nRF52_close 2020-Jul-14 09:42:48 . . Segger_is_connected_to_emu 2020-Jul-14 09:42:48 . . Segger_is_connected_to_emu: JLink INFO T0960 000:245.394 2020-Jul-14 09:42:48 . . Segger_is_connected_to_emu: JLink INFO JLINK_IsOpen() 2020-Jul-14 09:42:48 . . Segger_is_connected_to_emu: JLink INFO T0960 000:248.423 2020-Jul-14 09:42:48 . . Segger_is_connected_to_emu: JLink INFO - 4.517ms returns 0x01 2020-Jul-14 09:42:48 . . : JLink INFO T0960 000:251.925 2020-Jul-14 09:42:48 . . : JLink INFO JLINK_Lock() 2020-Jul-14 09:42:48 . . Segger_close 2020-Jul-14 09:42:48 . . . Segger_disconnect_from_emu 2020-Jul-14 09:42:48 . . . . Segger_disconnect_from_emu 2020-Jul-14 09:42:48 . . . . . Segger_is_connected_to_device 2020-Jul-14 09:42:48 . . . . . Segger_is_connected_to_device: JLink INFO T0960 000:261.046 2020-Jul-14 09:42:48 . . . . . Segger_is_connected_to_device: JLink INFO JLINK_IsConnected() 2020-Jul-14 09:42:48 . . . . . Segger_is_connected_to_device: JLink INFO T0960 000:264.001 2020-Jul-14 09:42:48 . . . . . Segger_is_connected_to_device: JLink INFO - 4.433ms returns FALSE 2020-Jul-14 09:42:48 . . . . . Segger_is_debug_region_powered 2020-Jul-14 09:42:48 . . . . . . Segger_read_debug_port_register 2020-Jul-14 09:42:48 . . . . . . . Segger_write_debug_port_register 2020-Jul-14 09:42:48 . . . . . . . Segger_write_debug_port_register: JLink INFO T0960 000:271.479 2020-Jul-14 09:42:48 . . . . . . . Segger_write_debug_port_register: JLink INFO JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) 2020-Jul-14 09:42:48 . . . . . . . Segger_write_debug_port_register: JLink INFO T0960 000:274.797 2020-Jul-14 09:42:48 . . . . . . . Segger_write_debug_port_register: JLink INFO - 4.912ms returns -1 2020-Jul-14 09:42:48 . . . . . . . Segger_write_debug_port_register: JLinkARM.dll reported "-1", an unknown error. 2020-Jul-14 09:42:48 . . . . . . . . Segger_abort_debug_action 2020-Jul-14 09:42:48 . . . . . . . . Segger_abort_debug_action: Attempting to clear any configuration errors in debug port before closing connection. 2020-Jul-14 09:42:48 . . . . . . . . Segger_abort_debug_action: JLink INFO T0960 000:282.579 2020-Jul-14 09:42:48 . . . . . . . . Segger_abort_debug_action: JLink INFO JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) 2020-Jul-14 09:42:48 . . . . . . . . Segger_abort_debug_action: JLink INFO T0960 000:285.920 2020-Jul-14 09:42:48 . . . . . . . . Segger_abort_debug_action: JLink INFO - 4.866ms returns -1 2020-Jul-14 09:42:48 . . . . . . . . Segger_abort_debug_action: JLinkARM.dll reported "-1", an unknown error. 2020-Jul-14 09:42:48 . . . . Segger_disconnect_from_emu: JLink INFO T0960 000:290.535 2020-Jul-14 09:42:48 . . . . Segger_disconnect_from_emu: JLink INFO JLINK_Unlock() 2020-Jul-14 09:42:48 . . . . Segger_disconnect_from_emu: JLink INFO T0960 000:300.588 2020-Jul-14 09:42:48 . . . . Segger_disconnect_from_emu: JLink INFO JLINK_Close() 2020-Jul-14 09:42:48 . . Segger_close: Freeing Library. 2020-Jul-14 09:42:48 nRF_close_dll: Freeing Library. 2020-Jul-14 09:47:44 -------------------------------------------------------------------------------- 2020-Jul-14 09:47:44 nrfjprog -f nrf52 --recover --log 2020-Jul-14 09:47:44 nrfjprog version 10.9.0 2020-Jul-14 09:47:44 -------------------------------------------------------------------------------- 2020-Jul-14 09:47:44 nRF_logger_open 2020-Jul-14 09:47:44 nRF_logger_open: nRFJProg logger opened to callback at address 0X7FF68AC733C0 2020-Jul-14 09:47:44 nRF_open_dll 2020-Jul-14 09:47:44 nRF_open_dll: Load library at "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\JLINKARM_NRF52_NRFJPROG.dll". 2020-Jul-14 09:47:44 . nRF52_logger_open 2020-Jul-14 09:47:44 . nRF52_logger_open: nRFJProg logger opened to callback at address 0X7FFF1059E520 2020-Jul-14 09:47:44 . nRF52_open 2020-Jul-14 09:47:44 . . Segger_logger_open 2020-Jul-14 09:47:44 . . Segger_logger_open: nRFJProg logger opened to callback at address 0X7FFEF22D8F00 2020-Jul-14 09:47:44 . . Segger_open_dll 2020-Jul-14 09:47:44 . . Segger_open_dll: No J-Link DLL path was provided. Attempting to auto detect. 2020-Jul-14 09:47:44 . . Segger_open_dll: Load library at "C:\\Program Files (x86)\\SEGGER\\JLink\\JLink_x64.dll". 2020-Jul-14 09:47:44 . . . Segger_dll_version 2020-Jul-14 09:47:44 nRF_enum_emu_snr 2020-Jul-14 09:47:44 . nRF52_enum_emu_snr 2020-Jul-14 09:47:44 . . Segger_is_connected_to_emu 2020-Jul-14 09:47:44 . . Segger_enum_emu_snr 2020-Jul-14 09:47:44 . . . Segger_enum_emu_snr 2020-Jul-14 09:47:44 . . . . Segger_get_num_emus 2020-Jul-14 09:47:44 . . Segger_is_connected_to_emu 2020-Jul-14 09:47:44 nRF_connect_to_emu_with_snr 2020-Jul-14 09:47:44 . nRF52_connect_to_emu_with_snr 2020-Jul-14 09:47:44 . . Segger_is_connected_to_emu 2020-Jul-14 09:47:44 . . Segger_connect_to_emu_with_snr 2020-Jul-14 09:47:44 . . . Segger_is_connected_to_emu 2020-Jul-14 09:47:44 . . . Segger_enum_emu_snr 2020-Jul-14 09:47:44 . . . . Segger_get_num_emus 2020-Jul-14 09:47:44 . . . Segger_connect_to_emu_with_snr 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: Segger logging enabled with callback at 0x140732961630544. 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:042.625 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO Firmware: J-Link ARM-OB STM32 compiled Aug 22 2012 19:52:04 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:048.581 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO Hardware: V7.00 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:053.116 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO S/N: 20090928 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:057.437 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO OEM: SEGGER 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:061.155 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO Feature(s): RDI,FlashDL,FlashBP,JFlash,GDB 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:066.684 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO TELNET listener socket opened on port 19021 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:071.803 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO WEBSRV Starting webserver 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:075.535 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO WEBSRV Webserver running on local port 19080 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:078.887 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 40.881ms returns O.K. 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:082.282 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_Lock() 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:085.846 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_GetHWStatus(...) 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:089.967 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 5.848ms returns 0x00 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:093.463 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("SetRestartOnClose = 0", ...). 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:096.938 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 1.693ms returns 0x01 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:101.062 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("DisableFlashDL", ...). 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:104.849 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 1.763ms returns 0x00 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:108.410 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...). 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:111.817 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 1.763ms returns 0x00 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:115.428 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_SetHookUnsecureDialog(...) 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:118.996 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 5.276ms returns 0 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:122.447 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_TIF_Select(JLINKARM_TIF_SWD) 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:126.429 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 5.748ms returns 0x00 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:130.071 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_SetSpeed(2000) 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO T35A4 000:133.892 2020-Jul-14 09:47:44 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 5.586ms 2020-Jul-14 09:47:44 . . . . . Segger_load_core_data 2020-Jul-14 09:47:44 . . . . . Segger_load_core_data: JLink INFO T35A4 000:139.242 2020-Jul-14 09:47:44 . . . . . Segger_load_core_data: JLink INFO JLINK_ExecCommand("CORESIGHT_SetIndexAHBAPToUse = 0", ...). 2020-Jul-14 09:47:44 . . . . . Segger_load_core_data: JLink INFO T35A4 000:142.643 2020-Jul-14 09:47:44 . . . . . Segger_load_core_data: JLink INFO - 1.679ms returns 0x00 2020-Jul-14 09:47:44 . . . . . Segger_load_core_data: JLink INFO T35A4 000:146.014 2020-Jul-14 09:47:44 . . . . . Segger_load_core_data: JLink INFO JLINK_ExecCommand("device = nRF52", ...). 2020-Jul-14 09:47:44 . . . . . Segger_load_core_data: JLink INFO T35A4 000:158.853 2020-Jul-14 09:47:44 . . . . . Segger_load_core_data: JLink INFO XML file found at: C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml 2020-Jul-14 09:47:44 . . . . . Segger_load_core_data: JLink INFO T35A4 000:164.160 2020-Jul-14 09:47:44 . . . . . Segger_load_core_data: JLink INFO C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml evaluated successfully. 2020-Jul-14 09:47:45 . . . . . Segger_load_core_data: JLink INFO T35A4 000:230.682 2020-Jul-14 09:47:45 . . . . . Segger_load_core_data: JLink INFO Device "NRF52" selected. 2020-Jul-14 09:47:45 . . . . . Segger_load_core_data: JLink INFO T35A4 000:238.740 2020-Jul-14 09:47:45 . . . . . Segger_load_core_data: JLink INFO - 90.955ms returns 0x00 2020-Jul-14 09:47:45 . . Segger_read_debug_port_idr 2020-Jul-14 09:47:45 . . . Segger_read_debug_port_register 2020-Jul-14 09:47:45 . . . . Segger_read_debug_port_register 2020-Jul-14 09:47:45 . . . . . Segger_coresight_configure 2020-Jul-14 09:47:45 . . . . . Segger_coresight_configure: JLink INFO T35A4 000:250.902 2020-Jul-14 09:47:45 . . . . . Segger_coresight_configure: JLink INFO JLINK_CORESIGHT_Configure() 2020-Jul-14 09:47:45 . . . . . Segger_coresight_configure: JLink INFO T35A4 000:256.411 2020-Jul-14 09:47:45 . . . . . Segger_coresight_configure: JLink INFO - 7.199ms returns 0 2020-Jul-14 09:47:45 . . . . Segger_read_debug_port_register: JLink INFO T35A4 000:259.864 2020-Jul-14 09:47:45 . . . . Segger_read_debug_port_register: JLink INFO JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00) 2020-Jul-14 09:47:45 . . . . Segger_read_debug_port_register: JLink INFO T35A4 000:263.509 2020-Jul-14 09:47:45 . . . . Segger_read_debug_port_register: JLink INFO failed 2020-Jul-14 09:47:45 . . . . Segger_read_debug_port_register: JLink INFO T35A4 000:266.811 2020-Jul-14 09:47:45 . . . . Segger_read_debug_port_register: JLink INFO - 8.645ms returns -1 2020-Jul-14 09:47:45 . . . . Segger_read_debug_port_register: JLinkARM.dll reported "-1", an unknown error. 2020-Jul-14 09:47:45 . . . . . Segger_abort_debug_action 2020-Jul-14 09:47:45 . . . . . Segger_abort_debug_action: Attempting to clear any configuration errors in debug port before closing connection. 2020-Jul-14 09:47:45 . . . . . Segger_abort_debug_action: JLink INFO T35A4 000:275.181 2020-Jul-14 09:47:45 . . . . . Segger_abort_debug_action: JLink INFO JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) 2020-Jul-14 09:47:45 . . . . . Segger_abort_debug_action: JLink INFO T35A4 000:278.732 2020-Jul-14 09:47:45 . . . . . Segger_abort_debug_action: JLink INFO - 5.224ms returns -1 2020-Jul-14 09:47:45 . . . . . Segger_abort_debug_action: JLinkARM.dll reported "-1", an unknown error. 2020-Jul-14 09:47:45 . . : JLink INFO T35A4 000:283.692 2020-Jul-14 09:47:45 . . : JLink INFO JLINK_Unlock() 2020-Jul-14 09:47:45 nRF_close_dll 2020-Jul-14 09:47:45 . nRF52_close 2020-Jul-14 09:47:45 . . Segger_is_connected_to_emu 2020-Jul-14 09:47:45 . . Segger_is_connected_to_emu: JLink INFO T35A4 000:292.276 2020-Jul-14 09:47:45 . . Segger_is_connected_to_emu: JLink INFO JLINK_IsOpen() 2020-Jul-14 09:47:45 . . Segger_is_connected_to_emu: JLink INFO T35A4 000:295.494 2020-Jul-14 09:47:45 . . Segger_is_connected_to_emu: JLink INFO - 4.833ms returns 0x01 2020-Jul-14 09:47:45 . . : JLink INFO T35A4 000:298.732 2020-Jul-14 09:47:45 . . : JLink INFO JLINK_Lock() 2020-Jul-14 09:47:45 . . Segger_close 2020-Jul-14 09:47:45 . . . Segger_disconnect_from_emu 2020-Jul-14 09:47:45 . . . . Segger_disconnect_from_emu 2020-Jul-14 09:47:45 . . . . . Segger_is_connected_to_device 2020-Jul-14 09:47:45 . . . . . Segger_is_connected_to_device: JLink INFO T35A4 000:308.559 2020-Jul-14 09:47:45 . . . . . Segger_is_connected_to_device: JLink INFO JLINK_IsConnected() 2020-Jul-14 09:47:45 . . . . . Segger_is_connected_to_device: JLink INFO T35A4 000:311.768 2020-Jul-14 09:47:45 . . . . . Segger_is_connected_to_device: JLink INFO - 5.051ms returns FALSE 2020-Jul-14 09:47:45 . . . . . Segger_is_debug_region_powered 2020-Jul-14 09:47:45 . . . . . . Segger_read_debug_port_register 2020-Jul-14 09:47:45 . . . . . . . Segger_write_debug_port_register 2020-Jul-14 09:47:45 . . . . . . . Segger_write_debug_port_register: JLink INFO T35A4 000:320.238 2020-Jul-14 09:47:45 . . . . . . . Segger_write_debug_port_register: JLink INFO JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) 2020-Jul-14 09:47:45 . . . . . . . Segger_write_debug_port_register: JLink INFO T35A4 000:323.663 2020-Jul-14 09:47:45 . . . . . . . Segger_write_debug_port_register: JLink INFO - 5.074ms returns -1 2020-Jul-14 09:47:45 . . . . . . . Segger_write_debug_port_register: JLinkARM.dll reported "-1", an unknown error. 2020-Jul-14 09:47:45 . . . . . . . . Segger_abort_debug_action 2020-Jul-14 09:47:45 . . . . . . . . Segger_abort_debug_action: Attempting to clear any configuration errors in debug port before closing connection. 2020-Jul-14 09:47:45 . . . . . . . . Segger_abort_debug_action: JLink INFO T35A4 000:331.713 2020-Jul-14 09:47:45 . . . . . . . . Segger_abort_debug_action: JLink INFO JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) 2020-Jul-14 09:47:45 . . . . . . . . Segger_abort_debug_action: JLink INFO T35A4 000:335.835 2020-Jul-14 09:47:45 . . . . . . . . Segger_abort_debug_action: JLink INFO - 5.836ms returns -1 2020-Jul-14 09:47:45 . . . . . . . . Segger_abort_debug_action: JLinkARM.dll reported "-1", an unknown error. 2020-Jul-14 09:47:45 . . . . Segger_disconnect_from_emu: JLink INFO T35A4 000:340.840 2020-Jul-14 09:47:45 . . . . Segger_disconnect_from_emu: JLink INFO JLINK_Unlock() 2020-Jul-14 09:47:45 . . . . Segger_disconnect_from_emu: JLink INFO T35A4 000:365.969 2020-Jul-14 09:47:45 . . . . Segger_disconnect_from_emu: JLink INFO JLINK_Close() 2020-Jul-14 09:47:45 . . Segger_close: Freeing Library. 2020-Jul-14 09:47:45 nRF_close_dll: Freeing Library. 2020-Jul-14 16:48:05 -------------------------------------------------------------------------------- 2020-Jul-14 16:48:05 nrfjprog -f nrf52 --recover --log 2020-Jul-14 16:48:05 nrfjprog version 10.9.0 2020-Jul-14 16:48:05 -------------------------------------------------------------------------------- 2020-Jul-14 16:48:05 nRF_logger_open 2020-Jul-14 16:48:05 nRF_logger_open: nRFJProg logger opened to callback at address 0X7FF68AC733C0 2020-Jul-14 16:48:05 nRF_open_dll 2020-Jul-14 16:48:05 nRF_open_dll: Load library at "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\JLINKARM_NRF52_NRFJPROG.dll". 2020-Jul-14 16:48:05 . nRF52_logger_open 2020-Jul-14 16:48:05 . nRF52_logger_open: nRFJProg logger opened to callback at address 0X7FFF0FA0E520 2020-Jul-14 16:48:05 . nRF52_open 2020-Jul-14 16:48:05 . . Segger_logger_open 2020-Jul-14 16:48:05 . . Segger_logger_open: nRFJProg logger opened to callback at address 0X7FFE984F8F00 2020-Jul-14 16:48:05 . . Segger_open_dll 2020-Jul-14 16:48:05 . . Segger_open_dll: No J-Link DLL path was provided. Attempting to auto detect. 2020-Jul-14 16:48:05 . . Segger_open_dll: Load library at "C:\\Program Files (x86)\\SEGGER\\JLink\\JLink_x64.dll". 2020-Jul-14 16:48:05 . . . Segger_dll_version 2020-Jul-14 16:48:05 nRF_enum_emu_snr 2020-Jul-14 16:48:05 . nRF52_enum_emu_snr 2020-Jul-14 16:48:05 . . Segger_is_connected_to_emu 2020-Jul-14 16:48:05 . . Segger_enum_emu_snr 2020-Jul-14 16:48:05 . . . Segger_enum_emu_snr 2020-Jul-14 16:48:05 . . . . Segger_get_num_emus 2020-Jul-14 16:48:05 . . Segger_is_connected_to_emu 2020-Jul-14 16:48:05 nRF_connect_to_emu_with_snr 2020-Jul-14 16:48:05 . nRF52_connect_to_emu_with_snr 2020-Jul-14 16:48:05 . . Segger_is_connected_to_emu 2020-Jul-14 16:48:05 . . Segger_connect_to_emu_with_snr 2020-Jul-14 16:48:05 . . . Segger_is_connected_to_emu 2020-Jul-14 16:48:05 . . . Segger_enum_emu_snr 2020-Jul-14 16:48:05 . . . . Segger_get_num_emus 2020-Jul-14 16:48:05 . . . Segger_connect_to_emu_with_snr 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: Segger logging enabled with callback at 0x140731453909328. 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:042.723 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO Firmware: J-Link ARM-OB STM32 compiled Aug 22 2012 19:52:04 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:048.744 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO Hardware: V7.00 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:053.952 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO S/N: 20090928 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:058.503 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO OEM: SEGGER 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:063.096 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO Feature(s): RDI,FlashDL,FlashBP,JFlash,GDB 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:068.314 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO TELNET listener socket opened on port 19021 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:072.369 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO WEBSRV Starting webserver 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:076.228 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO WEBSRV Webserver running on local port 19080 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:079.643 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 42.005ms returns O.K. 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:083.145 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_Lock() 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:086.540 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_GetHWStatus(...) 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:090.052 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 5.703ms returns 0x00 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:094.307 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("SetRestartOnClose = 0", ...). 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:097.877 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 2.042ms returns 0x01 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:101.839 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("DisableFlashDL", ...). 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:105.473 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 1.780ms returns 0x00 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:109.218 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...). 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:112.825 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 1.738ms returns 0x00 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:117.072 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_SetHookUnsecureDialog(...) 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:120.805 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 5.462ms returns 0 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:124.380 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_TIF_Select(JLINKARM_TIF_SWD) 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:128.679 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 6.114ms returns 0x00 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:132.295 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_SetSpeed(2000) 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO T47D8 000:136.010 2020-Jul-14 16:48:05 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 5.571ms 2020-Jul-14 16:48:05 . . . . . Segger_load_core_data 2020-Jul-14 16:48:05 . . . . . Segger_load_core_data: JLink INFO T47D8 000:141.530 2020-Jul-14 16:48:05 . . . . . Segger_load_core_data: JLink INFO JLINK_ExecCommand("CORESIGHT_SetIndexAHBAPToUse = 0", ...). 2020-Jul-14 16:48:05 . . . . . Segger_load_core_data: JLink INFO T47D8 000:145.141 2020-Jul-14 16:48:05 . . . . . Segger_load_core_data: JLink INFO - 1.854ms returns 0x00 2020-Jul-14 16:48:05 . . . . . Segger_load_core_data: JLink INFO T47D8 000:148.794 2020-Jul-14 16:48:05 . . . . . Segger_load_core_data: JLink INFO JLINK_ExecCommand("device = nRF52", ...). 2020-Jul-14 16:48:05 . . . . . Segger_load_core_data: JLink INFO T47D8 000:160.186 2020-Jul-14 16:48:05 . . . . . Segger_load_core_data: JLink INFO XML file found at: C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml 2020-Jul-14 16:48:05 . . . . . Segger_load_core_data: JLink INFO T47D8 000:165.233 2020-Jul-14 16:48:05 . . . . . Segger_load_core_data: JLink INFO C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml evaluated successfully. 2020-Jul-14 16:48:05 . . . . . Segger_load_core_data: JLink INFO T47D8 000:212.794 2020-Jul-14 16:48:05 . . . . . Segger_load_core_data: JLink INFO Device "NRF52" selected. 2020-Jul-14 16:48:05 . . . . . Segger_load_core_data: JLink INFO T47D8 000:219.545 2020-Jul-14 16:48:05 . . . . . Segger_load_core_data: JLink INFO - 68.684ms returns 0x00 2020-Jul-14 16:48:05 . . Segger_read_debug_port_idr 2020-Jul-14 16:48:05 . . . Segger_read_debug_port_register 2020-Jul-14 16:48:05 . . . . Segger_read_debug_port_register 2020-Jul-14 16:48:05 . . . . . Segger_coresight_configure 2020-Jul-14 16:48:05 . . . . . Segger_coresight_configure: JLink INFO T47D8 000:233.012 2020-Jul-14 16:48:05 . . . . . Segger_coresight_configure: JLink INFO JLINK_CORESIGHT_Configure() 2020-Jul-14 16:48:05 . . . . . Segger_coresight_configure: JLink INFO T47D8 000:238.669 2020-Jul-14 16:48:05 . . . . . Segger_coresight_configure: JLink INFO - 7.811ms returns 0 2020-Jul-14 16:48:05 . . . . Segger_read_debug_port_register: JLink INFO T47D8 000:243.178 2020-Jul-14 16:48:05 . . . . Segger_read_debug_port_register: JLink INFO JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00) 2020-Jul-14 16:48:05 . . . . Segger_read_debug_port_register: JLink INFO T47D8 000:247.001 2020-Jul-14 16:48:05 . . . . Segger_read_debug_port_register: JLink INFO failed 2020-Jul-14 16:48:05 . . . . Segger_read_debug_port_register: JLink INFO T47D8 000:250.882 2020-Jul-14 16:48:05 . . . . Segger_read_debug_port_register: JLink INFO - 9.432ms returns -1 2020-Jul-14 16:48:05 . . . . Segger_read_debug_port_register: JLinkARM.dll reported "-1", an unknown error. 2020-Jul-14 16:48:05 . . . . . Segger_abort_debug_action 2020-Jul-14 16:48:05 . . . . . Segger_abort_debug_action: Attempting to clear any configuration errors in debug port before closing connection. 2020-Jul-14 16:48:05 . . . . . Segger_abort_debug_action: JLink INFO T47D8 000:260.745 2020-Jul-14 16:48:05 . . . . . Segger_abort_debug_action: JLink INFO JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) 2020-Jul-14 16:48:05 . . . . . Segger_abort_debug_action: JLink INFO T47D8 000:264.970 2020-Jul-14 16:48:05 . . . . . Segger_abort_debug_action: JLink INFO - 6.227ms returns -1 2020-Jul-14 16:48:05 . . . . . Segger_abort_debug_action: JLinkARM.dll reported "-1", an unknown error. 2020-Jul-14 16:48:05 . . : JLink INFO T47D8 000:271.475 2020-Jul-14 16:48:05 . . : JLink INFO JLINK_Unlock() 2020-Jul-14 16:48:05 nRF_close_dll 2020-Jul-14 16:48:05 . nRF52_close 2020-Jul-14 16:48:06 . . Segger_is_connected_to_emu 2020-Jul-14 16:48:06 . . Segger_is_connected_to_emu: JLink INFO T47D8 000:281.021 2020-Jul-14 16:48:06 . . Segger_is_connected_to_emu: JLink INFO JLINK_IsOpen() 2020-Jul-14 16:48:06 . . Segger_is_connected_to_emu: JLink INFO T47D8 000:284.683 2020-Jul-14 16:48:06 . . Segger_is_connected_to_emu: JLink INFO - 5.790ms returns 0x01 2020-Jul-14 16:48:06 . . : JLink INFO T47D8 000:288.608 2020-Jul-14 16:48:06 . . : JLink INFO JLINK_Lock() 2020-Jul-14 16:48:06 . . Segger_close 2020-Jul-14 16:48:06 . . . Segger_disconnect_from_emu 2020-Jul-14 16:48:06 . . . . Segger_disconnect_from_emu 2020-Jul-14 16:48:06 . . . . . Segger_is_connected_to_device 2020-Jul-14 16:48:06 . . . . . Segger_is_connected_to_device: JLink INFO T47D8 000:300.686 2020-Jul-14 16:48:06 . . . . . Segger_is_connected_to_device: JLink INFO JLINK_IsConnected() 2020-Jul-14 16:48:06 . . . . . Segger_is_connected_to_device: JLink INFO T47D8 000:304.600 2020-Jul-14 16:48:06 . . . . . Segger_is_connected_to_device: JLink INFO - 5.694ms returns FALSE 2020-Jul-14 16:48:06 . . . . . Segger_is_debug_region_powered 2020-Jul-14 16:48:06 . . . . . . Segger_read_debug_port_register 2020-Jul-14 16:48:06 . . . . . . . Segger_write_debug_port_register 2020-Jul-14 16:48:06 . . . . . . . Segger_write_debug_port_register: JLink INFO T47D8 000:313.808 2020-Jul-14 16:48:06 . . . . . . . Segger_write_debug_port_register: JLink INFO JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) 2020-Jul-14 16:48:06 . . . . . . . Segger_write_debug_port_register: JLink INFO T47D8 000:317.345 2020-Jul-14 16:48:06 . . . . . . . Segger_write_debug_port_register: JLink INFO - 5.232ms returns -1 2020-Jul-14 16:48:06 . . . . . . . Segger_write_debug_port_register: JLinkARM.dll reported "-1", an unknown error. 2020-Jul-14 16:48:06 . . . . . . . . Segger_abort_debug_action 2020-Jul-14 16:48:06 . . . . . . . . Segger_abort_debug_action: Attempting to clear any configuration errors in debug port before closing connection. 2020-Jul-14 16:48:06 . . . . . . . . Segger_abort_debug_action: JLink INFO T47D8 000:325.812 2020-Jul-14 16:48:06 . . . . . . . . Segger_abort_debug_action: JLink INFO JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) 2020-Jul-14 16:48:06 . . . . . . . . Segger_abort_debug_action: JLink INFO T47D8 000:329.962 2020-Jul-14 16:48:06 . . . . . . . . Segger_abort_debug_action: JLink INFO - 5.829ms returns -1 2020-Jul-14 16:48:06 . . . . . . . . Segger_abort_debug_action: JLinkARM.dll reported "-1", an unknown error. 2020-Jul-14 16:48:06 . . . . Segger_disconnect_from_emu: JLink INFO T47D8 000:334.923 2020-Jul-14 16:48:06 . . . . Segger_disconnect_from_emu: JLink INFO JLINK_Unlock() 2020-Jul-14 16:48:06 . . . . Segger_disconnect_from_emu: JLink INFO T47D8 000:355.819 2020-Jul-14 16:48:06 . . . . Segger_disconnect_from_emu: JLink INFO JLINK_Close() 2020-Jul-14 16:48:06 . . Segger_close: Freeing Library. 2020-Jul-14 16:48:06 nRF_close_dll: Freeing Library.
By the way, I checked voltage on all pins, It is a bit strange that P0.21/nRST is Low( while I used pull up resistor on it) and also I've never program it, So this GPIO shouldn't be configured as an active-low Reset!
Is it normal for the P0.21/nRST to be Low in this situation?
Sorry Sigurd, Is it possible to answer me?
Sorry Sigurd, Is it possible to answer me?
Hi,
Is it normal for the P0.21/nRST to be Low in this situation?
No, in this situation the pin should not be low.
Do you see this issue on several custom boards, or is it only one board ?
There was a problem about this pin, I solved It, It was connected to another chip, but It can be unsoldered, now the NRST is high, but still the same problem happens, It cannot find the nrf52811.
bardia3000 said:but still the same problem happens, It cannot find the nrf52811.
1) Do you see this issue on several custom boards, or is it only one board ?
2) Could you try to power it at 3V, and see if you are able to program it then ?
3) Also make sure that you have not accidentally switched SWDCLK and SWDIO when connecting the debugger.
1) Yes all borads are the same.
2) No there are some other chips which must be powered with 1v8.
3) I double-checked it, It is okay
JLink OB as programmer.
What JLink OB is this ? Is it the one located on a nRF52-series DK ? If yes, what DK did you try ? nRF52832DK, nRF52840DK, etc ?
For e.g. nRF52840 DK we have this note about programming external boards:
Note: The voltage supported by external debugging/programming is VDD voltage. Normally, this is 3 V when running from USB, but if the onboard nRF52840 SoC is supplied from either USB or Li-Ion, the nRF power source switch (SW9) is in either Li-Po or USB position, and VDD can be set by the nRF52840 firmware. Make sure the voltage level of the external board matches the VDD of the nRF52840 DK.