Been working on an unsoldered, untinkered, and in all ways untainted nRF5340-PDK. No jumpers changes. No solderbridges cut. All working fine, but all of the sudden I cannot connect nrfjprog any longer.
It *might* be an effect of me running nrfjprog --eraseall, but I am not sure.
I have tried nrfjprog --eraseall and nrfjprog --recover without success.
nrfjprog --<anything> spits out this:
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.
2020-Aug-27 14:06:09 --------------------------------------------------------------------------------
2020-Aug-27 14:06:09 nrfjprog --readregs --log
2020-Aug-27 14:06:09 nrfjprog version 10.9.0
2020-Aug-27 14:06:09 --------------------------------------------------------------------------------
2020-Aug-27 14:06:09 nRF_logger_open
2020-Aug-27 14:06:09 nRF_logger_open: nRFJProg logger opened to callback at address 0X55C7C6480C60
2020-Aug-27 14:06:09 nRF_open_dll
2020-Aug-27 14:06:09 nRF_open_dll: Load library at "/opt/nrfjprog/libjlinkarm_unknown_nrfjprogdll.so".
2020-Aug-27 14:06:09 . nRFXX_logger_open
2020-Aug-27 14:06:09 . nRFXX_logger_open: nRFJProg logger opened to callback at address 0X7F3E1EC5F190
2020-Aug-27 14:06:09 . . Segger_logger_open
2020-Aug-27 14:06:09 . . Segger_logger_open: nRFJProg logger opened to callback at address 0X7F3E1E8DFE80
2020-Aug-27 14:06:09 . . Segger_open_dll
2020-Aug-27 14:06:09 . . Segger_open_dll: No J-Link DLL path was provided. Attempting to auto detect.
2020-Aug-27 14:06:09 . . Segger_open_dll: Load library at "/opt/SEGGER/JLink/libjlinkarm.so.6".
2020-Aug-27 14:06:09 . . . Segger_dll_version
2020-Aug-27 14:06:09 . . Segger_set_core_data
2020-Aug-27 14:06:09 nRF_enum_emu_snr
2020-Aug-27 14:06:09 . nRFXX_enum_emu_snr
2020-Aug-27 14:06:09 . . Segger_enum_emu_snr
2020-Aug-27 14:06:09 . . . Segger_enum_emu_snr
2020-Aug-27 14:06:09 . . . . Segger_get_num_emus
2020-Aug-27 14:06:09 nRF_connect_to_emu_with_snr
2020-Aug-27 14:06:09 . nRFXX_connect_to_emu_with_snr
2020-Aug-27 14:06:09 . . Segger_connect_to_emu_with_snr
2020-Aug-27 14:06:09 . . . Segger_is_connected_to_emu
2020-Aug-27 14:06:09 . . . Segger_enum_emu_snr
2020-Aug-27 14:06:09 . . . . Segger_get_num_emus
2020-Aug-27 14:06:09 . . . Segger_connect_to_emu_with_snr
2020-Aug-27 14:06:09 . . . . Segger_connect_to_emu_without_snr
2020-Aug-27 14:06:09 . . . . Segger_connect_to_emu_without_snr: Segger logging enabled with callback at 0x139904777321408.
2020-Aug-27 14:06:09 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:404.716
2020-Aug-27 14:06:09 . . . . Segger_connect_to_emu_without_snr: JLink INFO Firmware: J-Link OB-K22-NordicSemi compiled Jan 21 2020 17:33:01
2020-Aug-27 14:06:09 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:404.958
2020-Aug-27 14:06:09 . . . . Segger_connect_to_emu_without_snr: JLink INFO Decompressing FW timestamp took 135 us
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:583.887
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO Hardware: V1.00
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:584.145
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO S/N: 960112025
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:584.364
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO OEM: SEGGER
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:584.473
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:608.322
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO TELNET listener socket opened on port 19021
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:608.885
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO WEBSRV Starting webserver
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:609.193
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO WEBSRV Webserver running on local port 19080
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:609.338
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 248.282ms returns O.K.
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:609.516
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_GetHWStatus(...)
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:615.121
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 5.791ms returns 0x00
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:615.454
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("SetRestartOnClose = 0", ...).
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:615.781
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 0.071ms returns 0x01
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:615.941
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("DisableFlashDL", ...).
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:616.161
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 0.070ms returns 0x00
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:616.284
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:616.401
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 0.059ms returns 0x00
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:616.586
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_SetHookUnsecureDialog(...)
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:616.697
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 0.162ms returns 0
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:616.805
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_TIF_Select(JLINKARM_TIF_SWD)
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:636.525
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 19.902ms returns 0x00
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:636.788
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO JLINK_SetSpeed(2000)
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO T1F74F740 000:642.515
2020-Aug-27 14:06:10 . . . . Segger_connect_to_emu_without_snr: JLink INFO - 5.904ms
2020-Aug-27 14:06:10 . . . . . Segger_load_core_data
2020-Aug-27 14:06:10 . . . . . Segger_load_core_data: JLink INFO T1F74F740 000:643.053
2020-Aug-27 14:06:10 . . . . . Segger_load_core_data: JLink INFO JLINK_ExecCommand("CORESIGHT_SetIndexAHBAPToUse = 0", ...).
2020-Aug-27 14:06:10 . . . . . Segger_load_core_data: JLink INFO T1F74F740 000:643.190
2020-Aug-27 14:06:10 . . . . . Segger_load_core_data: JLink INFO - 0.057ms returns 0x00
2020-Aug-27 14:06:10 . . . . . Segger_load_core_data: JLink INFO T1F74F740 000:643.398
2020-Aug-27 14:06:10 . . . . . Segger_load_core_data: JLink INFO JLINK_ExecCommand("device = Cortex-M4", ...).
2020-Aug-27 14:06:10 . . . . . Segger_load_core_data: JLink INFO T1F74F740 000:662.777
2020-Aug-27 14:06:10 . . . . . Segger_load_core_data: JLink INFO XML file found at: /opt/SEGGER/JLink/JLinkDevices.xml
2020-Aug-27 14:06:10 . . . . . Segger_load_core_data: JLink INFO T1F74F740 000:665.821
2020-Aug-27 14:06:10 . . . . . Segger_load_core_data: JLink INFO /opt/SEGGER/JLink/JLinkDevices.xml evaluated successfully.
2020-Aug-27 14:06:10 . . . . . Segger_load_core_data: JLink INFO T1F74F740 000:676.911
2020-Aug-27 14:06:10 . . . . . Segger_load_core_data: JLink INFO Device "CORTEX-M4" selected.
2020-Aug-27 14:06:10 . . . . . Segger_load_core_data: JLink INFO T1F74F740 000:677.141
2020-Aug-27 14:06:10 . . . . . Segger_load_core_data: JLink INFO - 33.613ms returns 0x00
2020-Aug-27 14:06:10 nRF_read_connected_emu_snr
2020-Aug-27 14:06:10 . nRFXX_read_connected_emu_snr
2020-Aug-27 14:06:10 . . Segger_read_connected_emu_snr
2020-Aug-27 14:06:10 . . . Segger_is_connected_to_emu
2020-Aug-27 14:06:10 . . . Segger_is_connected_to_emu: JLink INFO T1F74F740 000:677.260
2020-Aug-27 14:06:10 . . . Segger_is_connected_to_emu: JLink INFO JLINK_IsOpen()
2020-Aug-27 14:06:10 . . . Segger_is_connected_to_emu: JLink INFO T1F74F740 000:677.329
2020-Aug-27 14:06:10 . . . Segger_is_connected_to_emu: JLink INFO - 0.089ms returns 0x01
2020-Aug-27 14:06:10 nRF_read_device_family
2020-Aug-27 14:06:10 . nRFXX_read_device_family
2020-Aug-27 14:06:10 . . Segger_is_connected_to_emu
2020-Aug-27 14:06:10 . . Segger_is_connected_to_emu: JLink INFO T1F74F740 000:677.418
2020-Aug-27 14:06:10 . . Segger_is_connected_to_emu: JLink INFO JLINK_IsOpen()
2020-Aug-27 14:06:10 . . Segger_is_connected_to_emu: JLink INFO T1F74F740 000:677.449
2020-Aug-27 14:06:10 . . Segger_is_connected_to_emu: JLink INFO - 0.047ms returns 0x01
2020-Aug-27 14:06:10 . . : JLink INFO T1F74F740 000:677.488
2020-Aug-27 14:06:10 . . : JLink INFO JLINK_Lock()
2020-Aug-27 14:06:10 . . Segger_read_debug_port_idr
2020-Aug-27 14:06:10 . . . Segger_read_debug_port_register
2020-Aug-27 14:06:10 . . . . Segger_read_debug_port_register
2020-Aug-27 14:06:10 . . . . . Segger_coresight_configure
2020-Aug-27 14:06:10 . . . . . Segger_coresight_configure: JLink INFO T1F74F740 000:677.580
2020-Aug-27 14:06:10 . . . . . Segger_coresight_configure: JLink INFO JLINK_CORESIGHT_Configure()
2020-Aug-27 14:06:10 . . . . . Segger_coresight_configure: JLink INFO T1F74F740 000:780.753
2020-Aug-27 14:06:10 . . . . . Segger_coresight_configure: JLink INFO - 103.270ms returns 0
2020-Aug-27 14:06:10 . . . . Segger_read_debug_port_register: JLink INFO T1F74F740 000:780.890
2020-Aug-27 14:06:10 . . . . Segger_read_debug_port_register: JLink INFO JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)
2020-Aug-27 14:06:10 . . . . Segger_read_debug_port_register: JLink INFO T1F74F740 000:809.044
2020-Aug-27 14:06:10 . . . . Segger_read_debug_port_register: JLink INFO failed
2020-Aug-27 14:06:10 . . . . Segger_read_debug_port_register: JLink INFO T1F74F740 000:809.285
2020-Aug-27 14:06:10 . . . . Segger_read_debug_port_register: JLink INFO - 28.452ms returns -1
2020-Aug-27 14:06:10 . . . . Segger_read_debug_port_register: JLinkARM.dll reported "-1", an unknown error.
2020-Aug-27 14:06:10 . . . . . Segger_abort_debug_action
2020-Aug-27 14:06:10 . . . . . Segger_abort_debug_action: Attempting to clear any configuration errors in debug port before closing connection.
2020-Aug-27 14:06:10 . . . . . Segger_abort_debug_action: JLink INFO T1F74F740 000:809.602
2020-Aug-27 14:06:10 . . . . . Segger_abort_debug_action: JLink INFO JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
2020-Aug-27 14:06:10 . . . . . Segger_abort_debug_action: JLink INFO T1F74F740 000:812.528
2020-Aug-27 14:06:10 . . . . . Segger_abort_debug_action: JLink INFO - 3.124ms returns -1
2020-Aug-27 14:06:10 . . . . . Segger_abort_debug_action: JLinkARM.dll reported "-1", an unknown error.
2020-Aug-27 14:06:10 . . : JLink INFO T1F74F740 000:813.001
2020-Aug-27 14:06:10 . . : JLink INFO JLINK_Unlock()
2020-Aug-27 14:06:10 nRF_close_dll
2020-Aug-27 14:06:10 . nRFXX_close_dll
2020-Aug-27 14:06:10 . . Segger_close
2020-Aug-27 14:06:10 . . . Segger_disconnect_from_emu
2020-Aug-27 14:06:10 . . . . Segger_is_connected_to_emu
2020-Aug-27 14:06:10 . . . . Segger_is_connected_to_emu: JLink INFO T1F74F740 000:813.404
2020-Aug-27 14:06:10 . . . . Segger_is_connected_to_emu: JLink INFO JLINK_IsOpen()
2020-Aug-27 14:06:10 . . . . Segger_is_connected_to_emu: JLink INFO T1F74F740 000:813.510
2020-Aug-27 14:06:10 . . . . Segger_is_connected_to_emu: JLink INFO - 0.191ms returns 0x01
2020-Aug-27 14:06:10 . . . . Segger_disconnect_from_emu
2020-Aug-27 14:06:10 . . . . . Segger_is_connected_to_device
2020-Aug-27 14:06:10 . . . . . Segger_is_connected_to_device: JLink INFO T1F74F740 000:813.847
2020-Aug-27 14:06:10 . . . . . Segger_is_connected_to_device: JLink INFO JLINK_IsConnected()
2020-Aug-27 14:06:10 . . . . . Segger_is_connected_to_device: JLink INFO T1F74F740 000:813.981
2020-Aug-27 14:06:10 . . . . . Segger_is_connected_to_device: JLink INFO - 0.187ms returns FALSE
2020-Aug-27 14:06:10 . . . . . Segger_is_debug_region_powered
2020-Aug-27 14:06:10 . . . . . . Segger_read_debug_port_register
2020-Aug-27 14:06:10 . . . . . . . Segger_is_connected_to_emu
2020-Aug-27 14:06:10 . . . . . . . Segger_is_connected_to_emu: JLink INFO T1F74F740 000:814.273
2020-Aug-27 14:06:10 . . . . . . . Segger_is_connected_to_emu: JLink INFO JLINK_IsOpen()
2020-Aug-27 14:06:10 . . . . . . . Segger_is_connected_to_emu: JLink INFO T1F74F740 000:814.426
2020-Aug-27 14:06:10 . . . . . . . Segger_is_connected_to_emu: JLink INFO - 0.207ms returns 0x01
2020-Aug-27 14:06:10 . . . . . . Segger_read_debug_port_register: JLink INFO T1F74F740 000:814.540
2020-Aug-27 14:06:10 . . . . . . Segger_read_debug_port_register: JLink INFO JLINK_Lock()
2020-Aug-27 14:06:10 . . . . . . . Segger_write_debug_port_register
2020-Aug-27 14:06:10 . . . . . . . Segger_write_debug_port_register: JLink INFO T1F74F740 000:814.713
2020-Aug-27 14:06:10 . . . . . . . Segger_write_debug_port_register: JLink INFO JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
2020-Aug-27 14:06:10 . . . . . . . Segger_write_debug_port_register: JLink INFO T1F74F740 000:817.048
2020-Aug-27 14:06:10 . . . . . . . Segger_write_debug_port_register: JLink INFO - 2.408ms returns -1
2020-Aug-27 14:06:10 . . . . . . . Segger_write_debug_port_register: JLinkARM.dll reported "-1", an unknown error.
2020-Aug-27 14:06:10 . . . . . . . . Segger_abort_debug_action
2020-Aug-27 14:06:10 . . . . . . . . Segger_abort_debug_action: Attempting to clear any configuration errors in debug port before closing connection.
2020-Aug-27 14:06:10 . . . . . . . . Segger_abort_debug_action: JLink INFO T1F74F740 000:817.184
2020-Aug-27 14:06:10 . . . . . . . . Segger_abort_debug_action: JLink INFO JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
2020-Aug-27 14:06:10 . . . . . . . . Segger_abort_debug_action: JLink INFO T1F74F740 000:820.017
2020-Aug-27 14:06:10 . . . . . . . . Segger_abort_debug_action: JLink INFO - 2.901ms returns -1
2020-Aug-27 14:06:10 . . . . . . . . Segger_abort_debug_action: JLinkARM.dll reported "-1", an unknown error.
2020-Aug-27 14:06:10 . . . . . . Segger_read_debug_port_register: JLink INFO T1F74F740 000:820.131
2020-Aug-27 14:06:10 . . . . . . Segger_read_debug_port_register: JLink INFO JLINK_Unlock()
2020-Aug-27 14:06:10 . . . . Segger_disconnect_from_emu: JLink INFO T1F74F740 000:831.349
2020-Aug-27 14:06:10 . . . . Segger_disconnect_from_emu: JLink INFO JLINK_Close()
2020-Aug-27 14:06:10 . . Segger_close: Freeing Library.
2020-Aug-27 14:06:10 nRF_close_dll: Freeing Library.
log.log attached.
nrfjprog --version returns
nrfjprog version: 10.9.0
JLinkARM.dll version: 6.80a
The sticker on the atmel says
PCA10095
0.8.0
2019.45
960112025
Tried in both windows and linux, with SES and on command line.