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

Trouble programming nrf5340dk

I am following the guide on this page: https://github.com/project-chip/connectedhomeip/tree/master/examples/lock-app/nrfconnect

I can build the firmware, but having trouble to program the nRF5340DK. 

west flash --recover

ERROR: The --family option given with the command (or the default from nrfjprog.ini) does not match the device connected.

FATAL ERROR: command exited with status 18: nrfjprog --recover -f NRF53 --coprocessor CP_NETWORK --snr 960138681

nrfjprog version: 10.13.0 

JLinkARM.dll version: 7.50a

- OS: macOS (11.5) darwin x64

- Versions
- kernel: 20.6.0
- git: 2.30.1
- node: 12.13.0
- python: 2.7.16
- python3: 3.8.2

- Connected devices:
- /dev/tty.usbmodem0009601386815: 000960138681 PCA10095

Parents
  • "nrfjprog -I" doesn't return anything.

    LED5 blinks irregularly: it's much dimmer than before. Sometimes it doesn't blink up at all after plugged in. Pressing button4 doesn't have any effect.

    This is the log from yesterday, when I was at least able to connect to the target:

    [2021-Jul-22 11:11:43] [ info] --------------------------------------------------------------------------------
    [2021-Jul-22 11:11:43] [ info] nrfjprog --eraseall --log
    [2021-Jul-22 11:11:43] [ info] nrfjprog version 10.13.0
    [2021-Jul-22 11:11:43] [ info] --------------------------------------------------------------------------------
    [2021-Jul-22 11:11:43] [ info] Load library at /Applications/Nordic Semiconductor/nrfjprog/libnrfjprogdll.dylib.
    [2021-Jul-22 11:11:43] [ info] Library loaded, loading member functions.
    [2021-Jul-22 11:11:43] [ info] Member functions succesfully loaded.
    [2021-Jul-22 11:11:43] [debug] [ Client] - open
    [2021-Jul-22 11:11:43] [debug] [ Client] - start
    [2021-Jul-22 11:11:43] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence f069af7b-b58e-4866-999f-d8b62d23f174.
    [2021-Jul-22 11:11:43] [trace] [ Client] - Command open executed for 8 milliseconds with result 0
    [2021-Jul-22 11:11:43] [debug] [ Client] - enum_emu_snr
    [2021-Jul-22 11:11:43] [trace] [ Client] - Command enum_emu_snr executed for 1 milliseconds with result 0
    [2021-Jul-22 11:11:43] [debug] [ Client] - connect_to_emu_with_snr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2021-Jul-22 11:11:43] [debug] [  JLink] - Logger sink registered in JLink logger
    [2021-Jul-22 11:11:43] [debug] [  nRFXX] - open
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - open_dll
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2021-Jul-22 11:11:43] [ info] [SeggerBackend] - Load library at /Applications/SEGGER/JLink/libjlinkarm.7.50.1.dylib.
    [2021-Jul-22 11:11:43] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2021-Jul-22 11:11:43] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - dll_version
    [2021-Jul-22 11:11:43] [ info] [SeggerBackend] - Segger dll version 7.50.a loaded.
    [2021-Jul-22 11:11:43] [trace] [ Worker] - Command open executed for 4 milliseconds with result 0
    [2021-Jul-22 11:11:43] [debug] [  nRFXX] - enum_emu_snr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - is_connected_to_emu
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - enum_emu_snr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_get_num_emus
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - is_connected_to_emu
    [2021-Jul-22 11:11:43] [trace] [ Worker] - Command enum_emu_snr executed for 1 milliseconds with result 0
    [2021-Jul-22 11:11:43] [debug] [  nRFXX] - connect_to_emu_with_snr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - is_connected_to_emu
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - is_connected_to_emu
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_get_num_emus
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - Segger logging enabled.
    [2021-Jul-22 11:11:43] [trace] [  JLink] - Firmware: J-Link OB-K22-NordicSemi compiled Jul  2 2021 10:44:28
    [2021-Jul-22 11:11:43] [trace] [  JLink] - Firmware: J-Link OB-K22-NordicSemi compiled Jul  2 2021 10:44:28
    [2021-Jul-22 11:11:43] [trace] [  JLink] - Hardware: V1.00
    [2021-Jul-22 11:11:43] [trace] [  JLink] - S/N: 960138681
    [2021-Jul-22 11:11:43] [trace] [  JLink] - OEM: SEGGER
    [2021-Jul-22 11:11:43] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    [2021-Jul-22 11:11:43] [trace] [  JLink] - TELNET listener socket opened on port 19021
    [2021-Jul-22 11:11:43] [trace] [  JLink] - WEBSRV Starting webserver
    [2021-Jul-22 11:11:43] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 22.990ms returns "O.K."
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_Lock()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_GetHWStatus(...)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.238ms returns 0
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.005ms returns 0x01
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.004ms returns 0x00
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.004ms returns 0x00
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_SetHookUnsecureDialog
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.010ms returns 0
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.628ms returns 0x00
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_SetSpeed(2000)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.092ms
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_GetSN()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.003ms returns 960138681
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - read_debug_port_idr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - read_debug_port_register
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - coresight_configure
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_CORESIGHT_Configure()
    [2021-Jul-22 11:11:43] [trace] [ Client] - Command connect_to_emu_with_snr executed for 150 milliseconds with result 0
    [2021-Jul-22 11:11:43] [debug] [ Client] - read_device_family
    [2021-Jul-22 11:11:43] [trace] [ Client] - Command read_device_family executed for 1 milliseconds with result -6
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 100.705ms returns 0
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.353ms returns 0
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - Value=0x00000000
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.331ms returns 0
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.017ms
    [2021-Jul-22 11:11:43] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 150 milliseconds with result 0
    [2021-Jul-22 11:11:43] [debug] [  nRFXX] - read_device_family
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - is_connected_to_emu
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_IsOpen()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.005ms returns 0x01
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_Lock()
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - read_debug_port_idr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - read_debug_port_register
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.303ms returns 0
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - Value=0x00000000
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.310ms returns 0
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [error] [  nRFXX] - Device does not have an ARM debug port.
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.004ms
    [2021-Jul-22 11:11:43] [trace] [ Worker] - Command read_device_family executed for 1 milliseconds with result -6
    [2021-Jul-22 11:11:43] [debug] [  nRFXX] - close
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - is_connected_to_emu
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_IsOpen()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.032ms returns 0x01
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_Lock()
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - close
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - disconnect_from_emu
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - is_connected_to_device
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_IsConnected()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.003ms returns FALSE
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.416ms returns 0
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x01)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - Value=0x00000000
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.331ms returns 0
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.004ms
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_Close()
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - Segger Backend closed.
    [2021-Jul-22 11:11:43] [debug] [  nRFXX] - nRF family DLL closed
    [2021-Jul-22 11:11:43] [trace] [ Client] - Command close executed for 36 milliseconds with result 0
    [2021-Jul-22 11:11:43] [debug] [ Client] - terminate
    [2021-Jul-22 11:11:43] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2021-Jul-22 11:11:43] [trace] [ Worker] - Command close executed for 36 milliseconds with result 0
    [2021-Jul-22 11:11:43] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2021-Jul-22 11:11:43] [trace] [ Worker] - Executed 6 commands for 192 milliseconds
    [2021-Jul-22 11:11:43] [debug] [ Client] - Worker process exited with code: 0
    [2021-Jul-22 11:11:43] [debug] [ Client] - Child process terminated with result 0
    [2021-Jul-22 11:11:43] [debug] [ Client] - Worker process exited with code: 0
    [2021-Jul-22 11:11:43] [trace] [ Client] - Executed 6 commands for 196 milliseconds
    [2021-Jul-22 11:11:43] [debug] [ Client] - terminate
    

Reply
  • "nrfjprog -I" doesn't return anything.

    LED5 blinks irregularly: it's much dimmer than before. Sometimes it doesn't blink up at all after plugged in. Pressing button4 doesn't have any effect.

    This is the log from yesterday, when I was at least able to connect to the target:

    [2021-Jul-22 11:11:43] [ info] --------------------------------------------------------------------------------
    [2021-Jul-22 11:11:43] [ info] nrfjprog --eraseall --log
    [2021-Jul-22 11:11:43] [ info] nrfjprog version 10.13.0
    [2021-Jul-22 11:11:43] [ info] --------------------------------------------------------------------------------
    [2021-Jul-22 11:11:43] [ info] Load library at /Applications/Nordic Semiconductor/nrfjprog/libnrfjprogdll.dylib.
    [2021-Jul-22 11:11:43] [ info] Library loaded, loading member functions.
    [2021-Jul-22 11:11:43] [ info] Member functions succesfully loaded.
    [2021-Jul-22 11:11:43] [debug] [ Client] - open
    [2021-Jul-22 11:11:43] [debug] [ Client] - start
    [2021-Jul-22 11:11:43] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence f069af7b-b58e-4866-999f-d8b62d23f174.
    [2021-Jul-22 11:11:43] [trace] [ Client] - Command open executed for 8 milliseconds with result 0
    [2021-Jul-22 11:11:43] [debug] [ Client] - enum_emu_snr
    [2021-Jul-22 11:11:43] [trace] [ Client] - Command enum_emu_snr executed for 1 milliseconds with result 0
    [2021-Jul-22 11:11:43] [debug] [ Client] - connect_to_emu_with_snr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2021-Jul-22 11:11:43] [debug] [  JLink] - Logger sink registered in JLink logger
    [2021-Jul-22 11:11:43] [debug] [  nRFXX] - open
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - open_dll
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2021-Jul-22 11:11:43] [ info] [SeggerBackend] - Load library at /Applications/SEGGER/JLink/libjlinkarm.7.50.1.dylib.
    [2021-Jul-22 11:11:43] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2021-Jul-22 11:11:43] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - dll_version
    [2021-Jul-22 11:11:43] [ info] [SeggerBackend] - Segger dll version 7.50.a loaded.
    [2021-Jul-22 11:11:43] [trace] [ Worker] - Command open executed for 4 milliseconds with result 0
    [2021-Jul-22 11:11:43] [debug] [  nRFXX] - enum_emu_snr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - is_connected_to_emu
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - enum_emu_snr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_get_num_emus
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - is_connected_to_emu
    [2021-Jul-22 11:11:43] [trace] [ Worker] - Command enum_emu_snr executed for 1 milliseconds with result 0
    [2021-Jul-22 11:11:43] [debug] [  nRFXX] - connect_to_emu_with_snr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - is_connected_to_emu
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - is_connected_to_emu
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_get_num_emus
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - Segger logging enabled.
    [2021-Jul-22 11:11:43] [trace] [  JLink] - Firmware: J-Link OB-K22-NordicSemi compiled Jul  2 2021 10:44:28
    [2021-Jul-22 11:11:43] [trace] [  JLink] - Firmware: J-Link OB-K22-NordicSemi compiled Jul  2 2021 10:44:28
    [2021-Jul-22 11:11:43] [trace] [  JLink] - Hardware: V1.00
    [2021-Jul-22 11:11:43] [trace] [  JLink] - S/N: 960138681
    [2021-Jul-22 11:11:43] [trace] [  JLink] - OEM: SEGGER
    [2021-Jul-22 11:11:43] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    [2021-Jul-22 11:11:43] [trace] [  JLink] - TELNET listener socket opened on port 19021
    [2021-Jul-22 11:11:43] [trace] [  JLink] - WEBSRV Starting webserver
    [2021-Jul-22 11:11:43] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 22.990ms returns "O.K."
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_Lock()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_GetHWStatus(...)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.238ms returns 0
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.005ms returns 0x01
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.004ms returns 0x00
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.004ms returns 0x00
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_SetHookUnsecureDialog
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.010ms returns 0
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.628ms returns 0x00
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_SetSpeed(2000)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.092ms
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_GetSN()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.003ms returns 960138681
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - read_debug_port_idr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - read_debug_port_register
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - coresight_configure
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_CORESIGHT_Configure()
    [2021-Jul-22 11:11:43] [trace] [ Client] - Command connect_to_emu_with_snr executed for 150 milliseconds with result 0
    [2021-Jul-22 11:11:43] [debug] [ Client] - read_device_family
    [2021-Jul-22 11:11:43] [trace] [ Client] - Command read_device_family executed for 1 milliseconds with result -6
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 100.705ms returns 0
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.353ms returns 0
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - Value=0x00000000
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.331ms returns 0
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.017ms
    [2021-Jul-22 11:11:43] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 150 milliseconds with result 0
    [2021-Jul-22 11:11:43] [debug] [  nRFXX] - read_device_family
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - is_connected_to_emu
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_IsOpen()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.005ms returns 0x01
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_Lock()
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - read_debug_port_idr
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - read_debug_port_register
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.303ms returns 0
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - Value=0x00000000
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.310ms returns 0
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [error] [  nRFXX] - Device does not have an ARM debug port.
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.004ms
    [2021-Jul-22 11:11:43] [trace] [ Worker] - Command read_device_family executed for 1 milliseconds with result -6
    [2021-Jul-22 11:11:43] [debug] [  nRFXX] - close
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - is_connected_to_emu
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_IsOpen()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.032ms returns 0x01
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_Lock()
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - close
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - disconnect_from_emu
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - is_connected_to_device
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_IsConnected()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.003ms returns FALSE
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.416ms returns 0
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x01)
    [2021-Jul-22 11:11:43] [trace] [  JLink] - Value=0x00000000
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.331ms returns 0
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_HasError()
    [2021-Jul-22 11:11:43] [trace] [  JLink] - - 0.004ms
    [2021-Jul-22 11:11:43] [trace] [  JLink] - JLINK_Close()
    [2021-Jul-22 11:11:43] [debug] [SeggerBackend] - Segger Backend closed.
    [2021-Jul-22 11:11:43] [debug] [  nRFXX] - nRF family DLL closed
    [2021-Jul-22 11:11:43] [trace] [ Client] - Command close executed for 36 milliseconds with result 0
    [2021-Jul-22 11:11:43] [debug] [ Client] - terminate
    [2021-Jul-22 11:11:43] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2021-Jul-22 11:11:43] [trace] [ Worker] - Command close executed for 36 milliseconds with result 0
    [2021-Jul-22 11:11:43] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2021-Jul-22 11:11:43] [trace] [ Worker] - Executed 6 commands for 192 milliseconds
    [2021-Jul-22 11:11:43] [debug] [ Client] - Worker process exited with code: 0
    [2021-Jul-22 11:11:43] [debug] [ Client] - Child process terminated with result 0
    [2021-Jul-22 11:11:43] [debug] [ Client] - Worker process exited with code: 0
    [2021-Jul-22 11:11:43] [trace] [ Client] - Executed 6 commands for 196 milliseconds
    [2021-Jul-22 11:11:43] [debug] [ Client] - terminate
    

Children
No Data
Related