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

No Cortex-M SW Device Found after program softdevice

Hello, the chip I use is nrf52810 QCAA, when I use j-flash lite to earse the whole chip, it success, then I program the flash_s112_nrf52_7.2.0_softdevice into the chip by keil5, it also success, but when I program my code into chip, it failed and shows No Cortex-M SW Device Found. After that, I can't earse the whole chip by j-flash lite which shows "could not connect  to target" and I even can't program the flash_s112_nrf52_7.2.0_softdevice which shows No Cortex-M SW Device Found. what should I do, the example I use is nRF5_SDK_17.0.2_d674dde\examples\ble_peripheral\ble_app_hids_keyboard. Thank you!

Parents Reply Children
  • thanks for your answer, I use nrfjprog --recover command in the nRF Command line tools, it shows like this. What should I do to recover the my custom board, thank you!

  • and I really don't remove DEVELOP_IN_NRF52832 and NRFX_COREDEP_DELAY_US_LOOP_CYCLES defines from the compile flags in my project, however this code can be program normally into the nRF52810 QFXX but not nRF52810 QCXX, does that mean only nRF52810 QCXX chip need remove these defines?

  • what's more, this is my custom board schematic, is there anything wrong? Thank you!

  • and I just add 3.3V from jlink to the chip without voltage regulor. I measured that VDD of the chip is 3.29V and both DEC1 and DEC 2 are 3.29V.

  • [2021-Apr-13 21:02:25] [ info] --------------------------------------------------------------------------------
    [2021-Apr-13 21:02:25] [ info] nrfjprog --recover --log
    [2021-Apr-13 21:02:25] [ info] nrfjprog version 10.12.1
    [2021-Apr-13 21:02:25] [ info] --------------------------------------------------------------------------------
    [2021-Apr-13 21:02:25] [debug] [ nRF0x0] - open_dll
    [2021-Apr-13 21:02:25] [ info] [ nRF0x0] - Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\JLINKARM_UNKNOWN_NRFJPROG.dll.
    [2021-Apr-13 21:02:25] [ info] [ nRF0x0] - Library loaded, loading member functions.
    [2021-Apr-13 21:02:25] [ info] [ nRF0x0] - Member functions succesfully loaded.
    [2021-Apr-13 21:02:25] [ info] [Backend] - Logger callback at 0x7ff6e17956f0 registered in Segger backend logger.
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] Logger callback at 0x7ff6e17956f0 registered in JLink logger.
    [2021-Apr-13 21:02:25] [debug] [nRFUnknown] - Just_open_dll_tagged_callback
    [2021-Apr-13 21:02:25] [debug] [Backend] - open_dll
    [2021-Apr-13 21:02:25] [ info] [Backend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2021-Apr-13 21:02:25] [ info] [Backend] - Load library at C:\Program Files (x86)\SEGGER\JLink\JLink_x64.dll.
    [2021-Apr-13 21:02:25] [ info] [Backend] - Library loaded, loading member functions.
    [2021-Apr-13 21:02:25] [ info] [Backend] - Member functions succesfully loaded.
    [2021-Apr-13 21:02:25] [debug] [Backend] - dll_version
    [2021-Apr-13 21:02:25] [ info] [Backend] - Segger dll version 6.88.a loaded.
    [2021-Apr-13 21:02:25] [debug] [Backend] - set_core_data
    [2021-Apr-13 21:02:25] [debug] [ nRF0x0] - enum_emu_snr
    [2021-Apr-13 21:02:25] [debug] [nRFUnknown] - Just_enum_emu_snr
    [2021-Apr-13 21:02:25] [debug] [Backend] - enum_emu_snr
    [2021-Apr-13 21:02:25] [debug] [Backend] - ---just_enum_emu_snr
    [2021-Apr-13 21:02:25] [debug] [Backend] - ---just_get_num_emus
    [2021-Apr-13 21:02:25] [debug] [ nRF0x0] - connect_to_emu_with_snr
    [2021-Apr-13 21:02:25] [debug] [nRFUnknown] - Just_connect_to_emu_with_snr
    [2021-Apr-13 21:02:25] [debug] [Backend] - connect_to_emu_with_snr
    [2021-Apr-13 21:02:25] [debug] [Backend] - is_connected_to_emu
    [2021-Apr-13 21:02:25] [debug] [Backend] - ---just_enum_emu_snr
    [2021-Apr-13 21:02:25] [debug] [Backend] - ---just_get_num_emus
    [2021-Apr-13 21:02:25] [debug] [Backend] - ---just_connect_to_emu_with_snr
    [2021-Apr-13 21:02:25] [debug] [Backend] - ---just_connect_to_emu_without_snr
    [2021-Apr-13 21:02:25] [ info] [Backend] - Segger logging enabled.
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] Firmware: J-Link ARM-OB STM32 compiled Aug 22 2012 19:52:04
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] Hardware: V7.00
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] S/N: 20090930
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] OEM: SEGGER
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] Feature(s): RDI,FlashDL,FlashBP,JFlash,GDBFull
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] TELNET listener socket opened on port 19021
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] WEBSRV Starting webserver
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] WEBSRV Webserver running on local port 19080
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 6.558ms returns "O.K."
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_GetHWStatus(...)
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.222ms returns 0
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand("SetRestartOnClose = 0", ...).
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.003ms returns 0x01
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand("DisableFlashDL", ...).
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.004ms returns 0x00
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.003ms returns 0x00
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_SetHookUnsecureDialog
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_SetHookUnsecureDialog(...)
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.013ms returns 0
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_TIF_Select(JLINKARM_TIF_SWD)
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.672ms returns 0x00
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_SetSpeed(2000)
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.122ms
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_GetSN()
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.005ms returns 20090930
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [debug] [Backend] - ---just_load_core_data
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand("CORESIGHT_SetIndexAHBAPToUse = 0", ...).
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.004ms returns 0x00
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand("device = Cortex-M4", ...).
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] XML file found at: C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml evaluated successfully.
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] Device "CORTEX-M4" selected.
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] Device "CORTEX-M4" selected.
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 33.389ms returns 0x00
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [debug] [ nRF0x0] - read_connected_emu_snr
    [2021-Apr-13 21:02:25] [debug] [nRFUnknown] - Just_read_connected_emu_snr
    [2021-Apr-13 21:02:25] [debug] [Backend] - read_connected_emu_snr
    [2021-Apr-13 21:02:25] [debug] [Backend] - is_connected_to_emu
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsOpen()
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.007ms returns 0x01
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [debug] [ nRF0x0] - read_device_family
    [2021-Apr-13 21:02:25] [debug] [nRFUnknown] - Just_read_device_family
    [2021-Apr-13 21:02:25] [debug] [Backend] - is_connected_to_emu
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsOpen()
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.006ms returns 0x01
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_Lock()
    [2021-Apr-13 21:02:25] [debug] [Backend] - read_debug_port_idr
    [2021-Apr-13 21:02:25] [debug] [Backend] - read_debug_port_register
    [2021-Apr-13 21:02:25] [debug] [Backend] - ---just_read_debug_port_register
    [2021-Apr-13 21:02:25] [debug] [Backend] - coresight_configure
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_Configure()
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 1.693ms returns 0
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [debug] [Backend] - ---just_select_debug_port_register
    [2021-Apr-13 21:02:25] [debug] [Backend] - Select AP 255, DP Bank 0, AP Bank 255
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.224ms returns -1
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [ info] [Backend] - JLinkARM.dll reported "-1", an unknown error.
    [2021-Apr-13 21:02:25] [debug] [Backend] - ---just_abort_debug_action
    [2021-Apr-13 21:02:25] [ info] [Backend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.240ms returns -1
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [ info] [Backend] - JLinkARM.dll reported "-1", an unknown error.
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.012ms
    [2021-Apr-13 21:02:25] [debug] [ nRF0x0] - close_dll
    [2021-Apr-13 21:02:25] [debug] [nRFUnknown] - Just_close_dll
    [2021-Apr-13 21:02:25] [debug] [Backend] - close
    [2021-Apr-13 21:02:25] [debug] [Backend] - disconnect_from_emu
    [2021-Apr-13 21:02:25] [debug] [Backend] - is_connected_to_emu
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsOpen()
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.005ms returns 0x01
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [debug] [Backend] - ---just_disconnect_from_emu
    [2021-Apr-13 21:02:25] [debug] [Backend] - is_connected_to_device
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsConnected()
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.005ms returns FALSE
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [debug] [Backend] - ---just_is_debug_region_powered
    [2021-Apr-13 21:02:25] [debug] [Backend] - ---just_read_debug_port_register
    [2021-Apr-13 21:02:25] [debug] [Backend] - is_connected_to_emu
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsOpen()
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.005ms returns 0x01
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_Lock()
    [2021-Apr-13 21:02:25] [debug] [Backend] - ---just_select_debug_port_register
    [2021-Apr-13 21:02:25] [debug] [Backend] - Select AP 255, DP Bank 0, AP Bank 255
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.226ms returns -1
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [ info] [Backend] - JLinkARM.dll reported "-1", an unknown error.
    [2021-Apr-13 21:02:25] [debug] [Backend] - ---just_abort_debug_action
    [2021-Apr-13 21:02:25] [ info] [Backend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.254ms returns -1
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:02:25] [ info] [Backend] - JLinkARM.dll reported "-1", an unknown error.
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] - 0.012ms
    [2021-Apr-13 21:02:25] [ info] [ JLink] - [Info ] [JLink ] JLINK_Close()
    [2021-Apr-13 21:02:25] [debug] [Backend] - Segger Backend closed.
    [2021-Apr-13 21:03:43] [ info] --------------------------------------------------------------------------------
    [2021-Apr-13 21:03:43] [ info] nrfjprog --recover --log
    [2021-Apr-13 21:03:43] [ info] nrfjprog version 10.12.1
    [2021-Apr-13 21:03:43] [ info] --------------------------------------------------------------------------------
    [2021-Apr-13 21:03:43] [debug] [ nRF0x0] - open_dll
    [2021-Apr-13 21:03:43] [ info] [ nRF0x0] - Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\JLINKARM_UNKNOWN_NRFJPROG.dll.
    [2021-Apr-13 21:03:43] [ info] [ nRF0x0] - Library loaded, loading member functions.
    [2021-Apr-13 21:03:43] [ info] [ nRF0x0] - Member functions succesfully loaded.
    [2021-Apr-13 21:03:43] [ info] [Backend] - Logger callback at 0x7ff6e17956f0 registered in Segger backend logger.
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] Logger callback at 0x7ff6e17956f0 registered in JLink logger.
    [2021-Apr-13 21:03:43] [debug] [nRFUnknown] - Just_open_dll_tagged_callback
    [2021-Apr-13 21:03:43] [debug] [Backend] - open_dll
    [2021-Apr-13 21:03:43] [ info] [Backend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2021-Apr-13 21:03:43] [ info] [Backend] - Load library at C:\Program Files (x86)\SEGGER\JLink\JLink_x64.dll.
    [2021-Apr-13 21:03:43] [ info] [Backend] - Library loaded, loading member functions.
    [2021-Apr-13 21:03:43] [ info] [Backend] - Member functions succesfully loaded.
    [2021-Apr-13 21:03:43] [debug] [Backend] - dll_version
    [2021-Apr-13 21:03:43] [ info] [Backend] - Segger dll version 6.88.a loaded.
    [2021-Apr-13 21:03:43] [debug] [Backend] - set_core_data
    [2021-Apr-13 21:03:43] [debug] [ nRF0x0] - enum_emu_snr
    [2021-Apr-13 21:03:43] [debug] [nRFUnknown] - Just_enum_emu_snr
    [2021-Apr-13 21:03:43] [debug] [Backend] - enum_emu_snr
    [2021-Apr-13 21:03:43] [debug] [Backend] - ---just_enum_emu_snr
    [2021-Apr-13 21:03:43] [debug] [Backend] - ---just_get_num_emus
    [2021-Apr-13 21:03:43] [debug] [ nRF0x0] - connect_to_emu_with_snr
    [2021-Apr-13 21:03:43] [debug] [nRFUnknown] - Just_connect_to_emu_with_snr
    [2021-Apr-13 21:03:43] [debug] [Backend] - connect_to_emu_with_snr
    [2021-Apr-13 21:03:43] [debug] [Backend] - is_connected_to_emu
    [2021-Apr-13 21:03:43] [debug] [Backend] - ---just_enum_emu_snr
    [2021-Apr-13 21:03:43] [debug] [Backend] - ---just_get_num_emus
    [2021-Apr-13 21:03:43] [debug] [Backend] - ---just_connect_to_emu_with_snr
    [2021-Apr-13 21:03:43] [debug] [Backend] - ---just_connect_to_emu_without_snr
    [2021-Apr-13 21:03:43] [ info] [Backend] - Segger logging enabled.
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] Firmware: J-Link ARM-OB STM32 compiled Aug 22 2012 19:52:04
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] Hardware: V7.00
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] S/N: 20090930
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] OEM: SEGGER
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] Feature(s): RDI,FlashDL,FlashBP,JFlash,GDBFull
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] TELNET listener socket opened on port 19021
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] WEBSRV Starting webserver
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] WEBSRV Webserver running on local port 19080
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 12.178ms returns "O.K."
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_GetHWStatus(...)
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.354ms returns 0
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand("SetRestartOnClose = 0", ...).
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.008ms returns 0x01
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand("DisableFlashDL", ...).
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.003ms returns 0x00
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.003ms returns 0x00
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_SetHookUnsecureDialog
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_SetHookUnsecureDialog(...)
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.038ms returns 0
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_TIF_Select(JLINKARM_TIF_SWD)
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.602ms returns 0x00
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_SetSpeed(2000)
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.121ms
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_GetSN()
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.017ms returns 20090930
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [debug] [Backend] - ---just_load_core_data
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand("CORESIGHT_SetIndexAHBAPToUse = 0", ...).
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.005ms returns 0x00
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand("device = Cortex-M4", ...).
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] XML file found at: C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml evaluated successfully.
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] Device "CORTEX-M4" selected.
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] Device "CORTEX-M4" selected.
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 30.676ms returns 0x00
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [debug] [ nRF0x0] - read_connected_emu_snr
    [2021-Apr-13 21:03:43] [debug] [nRFUnknown] - Just_read_connected_emu_snr
    [2021-Apr-13 21:03:43] [debug] [Backend] - read_connected_emu_snr
    [2021-Apr-13 21:03:43] [debug] [Backend] - is_connected_to_emu
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsOpen()
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.006ms returns 0x01
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [debug] [ nRF0x0] - read_device_family
    [2021-Apr-13 21:03:43] [debug] [nRFUnknown] - Just_read_device_family
    [2021-Apr-13 21:03:43] [debug] [Backend] - is_connected_to_emu
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsOpen()
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.005ms returns 0x01
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_Lock()
    [2021-Apr-13 21:03:43] [debug] [Backend] - read_debug_port_idr
    [2021-Apr-13 21:03:43] [debug] [Backend] - read_debug_port_register
    [2021-Apr-13 21:03:43] [debug] [Backend] - ---just_read_debug_port_register
    [2021-Apr-13 21:03:43] [debug] [Backend] - coresight_configure
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_Configure()
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 1.758ms returns 0
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [debug] [Backend] - ---just_select_debug_port_register
    [2021-Apr-13 21:03:43] [debug] [Backend] - Select AP 255, DP Bank 0, AP Bank 255
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.249ms returns -1
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [ info] [Backend] - JLinkARM.dll reported "-1", an unknown error.
    [2021-Apr-13 21:03:43] [debug] [Backend] - ---just_abort_debug_action
    [2021-Apr-13 21:03:43] [ info] [Backend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.218ms returns -1
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [ info] [Backend] - JLinkARM.dll reported "-1", an unknown error.
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.014ms
    [2021-Apr-13 21:03:43] [debug] [ nRF0x0] - close_dll
    [2021-Apr-13 21:03:43] [debug] [nRFUnknown] - Just_close_dll
    [2021-Apr-13 21:03:43] [debug] [Backend] - close
    [2021-Apr-13 21:03:43] [debug] [Backend] - disconnect_from_emu
    [2021-Apr-13 21:03:43] [debug] [Backend] - is_connected_to_emu
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsOpen()
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.005ms returns 0x01
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [debug] [Backend] - ---just_disconnect_from_emu
    [2021-Apr-13 21:03:43] [debug] [Backend] - is_connected_to_device
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsConnected()
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.005ms returns FALSE
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [debug] [Backend] - ---just_is_debug_region_powered
    [2021-Apr-13 21:03:43] [debug] [Backend] - ---just_read_debug_port_register
    [2021-Apr-13 21:03:43] [debug] [Backend] - is_connected_to_emu
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsOpen()
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.005ms returns 0x01
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_Lock()
    [2021-Apr-13 21:03:43] [debug] [Backend] - ---just_select_debug_port_register
    [2021-Apr-13 21:03:43] [debug] [Backend] - Select AP 255, DP Bank 0, AP Bank 255
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.269ms returns -1
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [ info] [Backend] - JLinkARM.dll reported "-1", an unknown error.
    [2021-Apr-13 21:03:43] [debug] [Backend] - ---just_abort_debug_action
    [2021-Apr-13 21:03:43] [ info] [Backend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.312ms returns -1
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:03:43] [ info] [Backend] - JLinkARM.dll reported "-1", an unknown error.
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] - 0.013ms
    [2021-Apr-13 21:03:43] [ info] [ JLink] - [Info ] [JLink ] JLINK_Close()
    [2021-Apr-13 21:03:44] [debug] [Backend] - Segger Backend closed.
    [2021-Apr-13 21:09:31] [ info] --------------------------------------------------------------------------------
    [2021-Apr-13 21:09:31] [ info] nrfjprog --recover --log
    [2021-Apr-13 21:09:31] [ info] nrfjprog version 10.12.1
    [2021-Apr-13 21:09:31] [ info] --------------------------------------------------------------------------------
    [2021-Apr-13 21:09:31] [debug] [ nRF0x0] - open_dll
    [2021-Apr-13 21:09:31] [ info] [ nRF0x0] - Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\JLINKARM_UNKNOWN_NRFJPROG.dll.
    [2021-Apr-13 21:09:31] [ info] [ nRF0x0] - Library loaded, loading member functions.
    [2021-Apr-13 21:09:31] [ info] [ nRF0x0] - Member functions succesfully loaded.
    [2021-Apr-13 21:09:31] [ info] [Backend] - Logger callback at 0x7ff6e17956f0 registered in Segger backend logger.
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] Logger callback at 0x7ff6e17956f0 registered in JLink logger.
    [2021-Apr-13 21:09:31] [debug] [nRFUnknown] - Just_open_dll_tagged_callback
    [2021-Apr-13 21:09:31] [debug] [Backend] - open_dll
    [2021-Apr-13 21:09:31] [ info] [Backend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2021-Apr-13 21:09:31] [ info] [Backend] - Load library at C:\Program Files (x86)\SEGGER\JLink\JLink_x64.dll.
    [2021-Apr-13 21:09:31] [ info] [Backend] - Library loaded, loading member functions.
    [2021-Apr-13 21:09:31] [ info] [Backend] - Member functions succesfully loaded.
    [2021-Apr-13 21:09:31] [debug] [Backend] - dll_version
    [2021-Apr-13 21:09:31] [ info] [Backend] - Segger dll version 6.88.a loaded.
    [2021-Apr-13 21:09:31] [debug] [Backend] - set_core_data
    [2021-Apr-13 21:09:31] [debug] [ nRF0x0] - enum_emu_snr
    [2021-Apr-13 21:09:31] [debug] [nRFUnknown] - Just_enum_emu_snr
    [2021-Apr-13 21:09:31] [debug] [Backend] - enum_emu_snr
    [2021-Apr-13 21:09:31] [debug] [Backend] - ---just_enum_emu_snr
    [2021-Apr-13 21:09:31] [debug] [Backend] - ---just_get_num_emus
    [2021-Apr-13 21:09:31] [debug] [ nRF0x0] - connect_to_emu_with_snr
    [2021-Apr-13 21:09:31] [debug] [nRFUnknown] - Just_connect_to_emu_with_snr
    [2021-Apr-13 21:09:31] [debug] [Backend] - connect_to_emu_with_snr
    [2021-Apr-13 21:09:31] [debug] [Backend] - is_connected_to_emu
    [2021-Apr-13 21:09:31] [debug] [Backend] - ---just_enum_emu_snr
    [2021-Apr-13 21:09:31] [debug] [Backend] - ---just_get_num_emus
    [2021-Apr-13 21:09:31] [debug] [Backend] - ---just_connect_to_emu_with_snr
    [2021-Apr-13 21:09:31] [debug] [Backend] - ---just_connect_to_emu_without_snr
    [2021-Apr-13 21:09:31] [ info] [Backend] - Segger logging enabled.
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] Firmware: J-Link ARM-OB STM32 compiled Aug 22 2012 19:52:04
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] Hardware: V7.00
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] S/N: 20090930
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] OEM: SEGGER
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] Feature(s): RDI,FlashDL,FlashBP,JFlash,GDBFull
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] TELNET listener socket opened on port 19021
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] WEBSRV Starting webserver
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] WEBSRV Webserver running on local port 19080
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 6.698ms returns "O.K."
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_GetHWStatus(...)
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.221ms returns 0
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand("SetRestartOnClose = 0", ...).
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.003ms returns 0x01
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand("DisableFlashDL", ...).
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.003ms returns 0x00
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.003ms returns 0x00
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_SetHookUnsecureDialog
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_SetHookUnsecureDialog(...)
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.013ms returns 0
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_TIF_Select(JLINKARM_TIF_SWD)
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.635ms returns 0x00
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_SetSpeed(2000)
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.108ms
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_GetSN()
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.005ms returns 20090930
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [debug] [Backend] - ---just_load_core_data
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand("CORESIGHT_SetIndexAHBAPToUse = 0", ...).
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.004ms returns 0x00
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand("device = Cortex-M4", ...).
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] XML file found at: C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml evaluated successfully.
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] Device "CORTEX-M4" selected.
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] Device "CORTEX-M4" selected.
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 40.386ms returns 0x00
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [debug] [ nRF0x0] - read_connected_emu_snr
    [2021-Apr-13 21:09:31] [debug] [nRFUnknown] - Just_read_connected_emu_snr
    [2021-Apr-13 21:09:31] [debug] [Backend] - read_connected_emu_snr
    [2021-Apr-13 21:09:31] [debug] [Backend] - is_connected_to_emu
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsOpen()
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.009ms returns 0x01
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [debug] [ nRF0x0] - read_device_family
    [2021-Apr-13 21:09:31] [debug] [nRFUnknown] - Just_read_device_family
    [2021-Apr-13 21:09:31] [debug] [Backend] - is_connected_to_emu
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsOpen()
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.005ms returns 0x01
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_Lock()
    [2021-Apr-13 21:09:31] [debug] [Backend] - read_debug_port_idr
    [2021-Apr-13 21:09:31] [debug] [Backend] - read_debug_port_register
    [2021-Apr-13 21:09:31] [debug] [Backend] - ---just_read_debug_port_register
    [2021-Apr-13 21:09:31] [debug] [Backend] - coresight_configure
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_Configure()
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 2.411ms returns 0
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [debug] [Backend] - ---just_select_debug_port_register
    [2021-Apr-13 21:09:31] [debug] [Backend] - Select AP 255, DP Bank 0, AP Bank 255
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.263ms returns -1
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [ info] [Backend] - JLinkARM.dll reported "-1", an unknown error.
    [2021-Apr-13 21:09:31] [debug] [Backend] - ---just_abort_debug_action
    [2021-Apr-13 21:09:31] [ info] [Backend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.283ms returns -1
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [ info] [Backend] - JLinkARM.dll reported "-1", an unknown error.
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.016ms
    [2021-Apr-13 21:09:31] [debug] [ nRF0x0] - close_dll
    [2021-Apr-13 21:09:31] [debug] [nRFUnknown] - Just_close_dll
    [2021-Apr-13 21:09:31] [debug] [Backend] - close
    [2021-Apr-13 21:09:31] [debug] [Backend] - disconnect_from_emu
    [2021-Apr-13 21:09:31] [debug] [Backend] - is_connected_to_emu
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsOpen()
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.005ms returns 0x01
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [debug] [Backend] - ---just_disconnect_from_emu
    [2021-Apr-13 21:09:31] [debug] [Backend] - is_connected_to_device
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsConnected()
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.006ms returns FALSE
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [debug] [Backend] - ---just_is_debug_region_powered
    [2021-Apr-13 21:09:31] [debug] [Backend] - ---just_read_debug_port_register
    [2021-Apr-13 21:09:31] [debug] [Backend] - is_connected_to_emu
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsOpen()
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.005ms returns 0x01
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_Lock()
    [2021-Apr-13 21:09:31] [debug] [Backend] - ---just_select_debug_port_register
    [2021-Apr-13 21:09:31] [debug] [Backend] - Select AP 255, DP Bank 0, AP Bank 255
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.259ms returns -1
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [ info] [Backend] - JLinkARM.dll reported "-1", an unknown error.
    [2021-Apr-13 21:09:31] [debug] [Backend] - ---just_abort_debug_action
    [2021-Apr-13 21:09:31] [ info] [Backend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.264ms returns -1
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError()
    [2021-Apr-13 21:09:31] [ info] [Backend] - JLinkARM.dll reported "-1", an unknown error.
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] - 0.013ms
    [2021-Apr-13 21:09:31] [ info] [ JLink] - [Info ] [JLink ] JLINK_Close()
    [2021-Apr-13 21:09:31] [debug] [Backend] - Segger Backend closed.

Related