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

nrfjprog hangs in multiply parallel environment

I use nrfjprog in a CI system (on Windows 10) which has multiple NRF52 boards attached to it.  The boards are all run in parallel with the -s parameter to nrfjprog and the -USB parameter to jlink (which is used to obtain RTT logging from the boards) indicating which board is being addressed by each command-line operation.  I also apply mutex locks so that nrfjprog is never called at the same time to program two different boards.

About 1 in 10 times my call to nrfjprog just hangs, does nothing.  When I terminate it the return value is 15, "The arguments passed do not perform a valid operation", but the parameters are always the same:

nrfjprog -f nrf52 --program nrf52840_xxaa.hex --chiperase --verify -r -s <serialnumber>

Retrying the command doesn't help, nrfjprog just continues to hang.  I believe that on the occasions this occurs jlink has just completed a logging session and the board is being programmed for the next thing.  Like I say, it doesn't happen all the time, roughly 1 in 10 times, which is enough to cause frequent CI failures.

Any suggestions as to what I might do to work around this?

Version numbers are:

nrfjprog version: 10.6.0
JLinkARM.dll version: 6.80a

Parents
  • Hi Rob, 

    Could you try the latest version of nRF-Command-Line-Tools v10.10? Please let me know it can help or not. Thanks. 

    -Amanda H.

  • Thanks: after updating to v10.10 I've not yet seen a recurrence of the problem (20 runs so far).  I will continue pounding it, but initial results are good.

  • Is it possible to add --log as the following command to get the log from a stopping build?

    nrfjprog -f nrf52 --program nrf52840_xxaa.hex --chiperase --verify -r -s <serialnumber> --log

    -Amanda H.

  • OK, I will do that.  Where would the log file end up?

  • Oh, never mind, just caught a log.log file from a fail case, which is attached. nrfjrog.exe was started with the following command-line (same as it always is).  The first part of the log shows a success case, the second part shows the hang.  Looks like it just stops.

    nrfjprog -f nrf52 --program z:\port\platform\nordic\nrf52\sdk\gcc\runner\build_13_0\nrf52840_xxaa.hex --chiperase --verify --log -r -s 68325385

    [2020-Nov-04 14:22:53] [ info] --------------------------------------------------------------------------------
    [2020-Nov-04 14:22:53] [ info] nrfjprog -f nrf52 --program z:\port\platform\nordic\nrf52\sdk\gcc\runner\build_13_0\nrf52840_xxaa.hex --chiperase --verify --log -r -s 683253856 
    [2020-Nov-04 14:22:53] [ info] nrfjprog version 10.10.0 
    [2020-Nov-04 14:22:53] [ info] --------------------------------------------------------------------------------
    [2020-Nov-04 14:22:53] [debug] [ nRF0x0] - open_dll
    [2020-Nov-04 14:22:53] [debug] [ nRF0x0] - Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\JLINKARM_NRF52_NRFJPROG.dll.
    [2020-Nov-04 14:22:53] [debug] [ nRF0x0] - Library loaded, loading member functions.
    [2020-Nov-04 14:22:53] [debug] [ nRF0x0] - Member functions succesfully loaded.
    [2020-Nov-04 14:22:53] [debug] [Backend] - Logger callback at 0x7ff6e3bc60d0 registered in Segger backend logger.
    [2020-Nov-04 14:22:53] [debug] [  JLink] - [Debug   ] [JLink     ] Logger callback at 0x7ff6e3bc60d0 registered in JLink logger.
    [2020-Nov-04 14:22:53] [debug] [nRF520x0] - open
    [2020-Nov-04 14:22:53] [debug] [Backend] - open_dll
    [2020-Nov-04 14:22:53] [debug] [Backend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2020-Nov-04 14:22:53] [debug] [Backend] - Load library at C:\Program Files (x86)\SEGGER\JLink\JLink_x64.dll.
    [2020-Nov-04 14:22:53] [debug] [Backend] - Library loaded, loading member functions.
    [2020-Nov-04 14:22:53] [debug] [Backend] - Member functions succesfully loaded.
    [2020-Nov-04 14:22:53] [debug] [Backend] - dll_version
    [2020-Nov-04 14:22:53] [debug] [Backend] - Segger dll version 6.84.a loaded.
    [2020-Nov-04 14:22:53] [debug] [ nRF0x0] - enum_emu_snr
    [2020-Nov-04 14:22:53] [debug] [nRF520x0] - enum_emu_snr
    [2020-Nov-04 14:22:53] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:22:53] [debug] [Backend] - enum_emu_snr
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_enum_emu_snr
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_get_num_emus
    [2020-Nov-04 14:22:53] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:22:53] [debug] [ nRF0x0] - connect_to_emu_with_snr
    [2020-Nov-04 14:22:53] [debug] [nRF520x0] - connect_to_emu_with_snr
    [2020-Nov-04 14:22:53] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:22:53] [debug] [Backend] - connect_to_emu_with_snr
    [2020-Nov-04 14:22:53] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_enum_emu_snr
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_get_num_emus
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_connect_to_emu_with_snr
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_connect_to_emu_without_snr
    [2020-Nov-04 14:22:53] [debug] [Backend] - Segger logging enabled.
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_load_core_data
    [2020-Nov-04 14:22:53] [debug] [Backend] - read_debug_port_idr
    [2020-Nov-04 14:22:53] [debug] [Backend] - read_debug_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - coresight_configure
    [2020-Nov-04 14:22:53] [debug] [ nRF0x0] - read_device_version
    [2020-Nov-04 14:22:53] [debug] [nRF520x0] - read_device_info
    [2020-Nov-04 14:22:53] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:22:53] [debug] [nRF520x0] - Just_read_device_version
    [2020-Nov-04 14:22:53] [debug] [nRF520x0] - Just_readback_status
    [2020-Nov-04 14:22:53] [debug] [nRF520x0] - Just_is_ctrl_ap_available
    [2020-Nov-04 14:22:53] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:53] [debug] [nRF520x0] - Protection status read as NONE
    [2020-Nov-04 14:22:53] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:53] [debug] [Backend] - is_connected_to_device
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_load_core_data
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:53] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:53] [debug] [nRF520x0] - Just_decode_device_version
    [2020-Nov-04 14:22:53] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:53] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [ nRF0x0] - is_bprot_enabled
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - is_bprot_enabled
    [2020-Nov-04 14:22:54] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_is_bprot_enabled
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_read_device_version
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_readback_status
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_is_ctrl_ap_available
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Protection status read as NONE
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - is_connected_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_decode_device_version
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [ nRF0x0] - readback_status
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - readback_status
    [2020-Nov-04 14:22:54] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:22:54] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_readback_status
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_is_ctrl_ap_available
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Protection status read as NONE
    [2020-Nov-04 14:22:54] [debug] [ nRF0x0] - erase_all
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - erase_all
    [2020-Nov-04 14:22:54] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_erase_all
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_readback_status
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_is_ctrl_ap_available
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Protection status read as NONE
    [2020-Nov-04 14:22:54] [debug] [Backend] - halt
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - is_connected_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_halt
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_nvmc_config_control
    [2020-Nov-04 14:22:54] [debug] [Backend] - write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_u32
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_nvmc_wait_for_ready
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [Backend] - write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_u32
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_nvmc_wait_for_ready
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_nvmc_config_control
    [2020-Nov-04 14:22:54] [debug] [Backend] - write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_u32
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_nvmc_wait_for_ready
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:22:54] [debug] [ nRF0x0] - sys_reset
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - sys_reset
    [2020-Nov-04 14:22:54] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_sys_reset
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_readback_status
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_is_ctrl_ap_available
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Protection status read as NONE
    [2020-Nov-04 14:22:54] [debug] [Backend] - sys_reset
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - is_connected_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_halt
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_sys_reset
    [2020-Nov-04 14:22:54] [debug] [ nRF0x0] - power_ram_all
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - power_ram_all
    [2020-Nov-04 14:22:54] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_power_ram_all
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_readback_status
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_is_ctrl_ap_available
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Protection status read as NONE
    [2020-Nov-04 14:22:54] [debug] [Backend] - write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - is_connected_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_u32
    [2020-Nov-04 14:22:54] [debug] [ nRF0x0] - is_qspi_init
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - is_qspi_init
    [2020-Nov-04 14:22:54] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_is_qspi_init
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - is_qspi_init
    [2020-Nov-04 14:22:54] [debug] [Backend] - is_dll_opened
    [2020-Nov-04 14:22:54] [debug] [ nRF0x0] - read_region_0_size_and_source
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - read_region_0_size_and_source.
    [2020-Nov-04 14:22:54] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_read_region_0_size_and_source
    [2020-Nov-04 14:22:54] [debug] [ nRF0x0] - write
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - write
    [2020-Nov-04 14:22:54] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_write
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_readback_status
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_is_ctrl_ap_available
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Protection status read as NONE
    [2020-Nov-04 14:22:54] [debug] [Backend] - write
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - is_connected_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_halt
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_nvmc_config_control
    [2020-Nov-04 14:22:54] [debug] [Backend] - write_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_write_u32
    [2020-Nov-04 14:22:54] [debug] [nRF520x0] - Just_nvmc_wait_for_ready
    [2020-Nov-04 14:22:54] [debug] [Backend] - read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:22:54] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:23:03] [debug] [nRF520x0] - Just_nvmc_wait_for_ready
    [2020-Nov-04 14:23:03] [debug] [Backend] - read_u32
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:23:03] [debug] [nRF520x0] - Just_nvmc_config_control
    [2020-Nov-04 14:23:03] [debug] [Backend] - write_u32
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_write_u32
    [2020-Nov-04 14:23:03] [debug] [nRF520x0] - Just_nvmc_wait_for_ready
    [2020-Nov-04 14:23:03] [debug] [Backend] - read_u32
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_read_u32
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:23:03] [debug] [ nRF0x0] - is_qspi_init
    [2020-Nov-04 14:23:03] [debug] [nRF520x0] - is_qspi_init
    [2020-Nov-04 14:23:03] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:23:03] [debug] [nRF520x0] - Just_is_qspi_init
    [2020-Nov-04 14:23:03] [debug] [nRF520x0] - is_qspi_init
    [2020-Nov-04 14:23:03] [debug] [Backend] - is_dll_opened
    [2020-Nov-04 14:23:03] [debug] [ nRF0x0] - read
    [2020-Nov-04 14:23:03] [debug] [nRF520x0] - read
    [2020-Nov-04 14:23:03] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:23:03] [debug] [nRF520x0] - Just_read
    [2020-Nov-04 14:23:03] [debug] [nRF520x0] - Just_readback_status
    [2020-Nov-04 14:23:03] [debug] [nRF520x0] - Just_is_ctrl_ap_available
    [2020-Nov-04 14:23:03] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:03] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:03] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:03] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:03] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:03] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:04] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:04] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:04] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:04] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:04] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:04] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:04] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:04] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:04] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:04] [debug] [nRF520x0] - Protection status read as NONE
    [2020-Nov-04 14:23:04] [debug] [Backend] - read
    [2020-Nov-04 14:23:04] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:23:04] [debug] [Backend] - is_connected_to_device
    [2020-Nov-04 14:23:04] [debug] [Backend] - ---just_halt
    [2020-Nov-04 14:23:04] [debug] [Backend] - ---just_read
    [2020-Nov-04 14:23:04] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-04 14:23:13] [debug] [ nRF0x0] - is_qspi_init
    [2020-Nov-04 14:23:13] [debug] [nRF520x0] - is_qspi_init
    [2020-Nov-04 14:23:13] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:23:13] [debug] [nRF520x0] - Just_is_qspi_init
    [2020-Nov-04 14:23:13] [debug] [nRF520x0] - is_qspi_init
    [2020-Nov-04 14:23:13] [debug] [Backend] - is_dll_opened
    [2020-Nov-04 14:23:13] [debug] [ nRF0x0] - sys_reset
    [2020-Nov-04 14:23:13] [debug] [nRF520x0] - sys_reset
    [2020-Nov-04 14:23:13] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:23:13] [debug] [nRF520x0] - Just_sys_reset
    [2020-Nov-04 14:23:13] [debug] [nRF520x0] - Just_readback_status
    [2020-Nov-04 14:23:13] [debug] [nRF520x0] - Just_is_ctrl_ap_available
    [2020-Nov-04 14:23:13] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:13] [debug] [nRF520x0] - Protection status read as NONE
    [2020-Nov-04 14:23:13] [debug] [Backend] - sys_reset
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:23:13] [debug] [Backend] - is_connected_to_device
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_halt
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_sys_reset
    [2020-Nov-04 14:23:13] [debug] [ nRF0x0] - go
    [2020-Nov-04 14:23:13] [debug] [nRF520x0] - go
    [2020-Nov-04 14:23:13] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:23:13] [debug] [nRF520x0] - Just_go
    [2020-Nov-04 14:23:13] [debug] [nRF520x0] - Just_readback_status
    [2020-Nov-04 14:23:13] [debug] [nRF520x0] - Just_is_ctrl_ap_available
    [2020-Nov-04 14:23:13] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:14] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:14] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:14] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:14] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:14] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:14] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:14] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:23:14] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:23:14] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:14] [debug] [nRF520x0] - Protection status read as NONE
    [2020-Nov-04 14:23:14] [debug] [Backend] - go
    [2020-Nov-04 14:23:14] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-04 14:23:14] [debug] [Backend] - is_connected_to_device
    [2020-Nov-04 14:23:14] [debug] [Backend] - ---just_is_halted
    [2020-Nov-04 14:23:14] [debug] [Backend] - ---just_go
    [2020-Nov-04 14:23:14] [debug] [ nRF0x0] - close_dll
    [2020-Nov-04 14:23:14] [debug] [nRF520x0] - close
    [2020-Nov-04 14:23:14] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:23:14] [debug] [Backend] - close
    [2020-Nov-04 14:23:14] [debug] [Backend] - disconnect_from_emu
    [2020-Nov-04 14:23:14] [debug] [Backend] - ---just_disconnect_from_emu
    [2020-Nov-04 14:23:14] [debug] [Backend] - is_connected_to_device
    [2020-Nov-04 14:23:14] [debug] [Backend] - Disable trace before closing connection.
    [2020-Nov-04 14:23:14] [debug] [Backend] - ---just_write_u32
    [2020-Nov-04 14:23:14] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-04 14:23:14] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-04 14:23:14] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:14] [debug] [Backend] - unpower_debug_and_system_regions
    [2020-Nov-04 14:23:14] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:14] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:14] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-04 14:23:14] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-04 14:23:14] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:23:14] [debug] [Backend] - Segger Backend closed.
    [2020-Nov-04 14:23:14] [debug] [nRF520x0] - nRF family DLL closed
    [2020-Nov-04 14:51:56] [ info] --------------------------------------------------------------------------------
    [2020-Nov-04 14:51:56] [ info] nrfjprog -f nrf52 --program z:\port\platform\nordic\nrf52\sdk\gcc\runner\build_13_0\nrf52840_xxaa.hex --chiperase --verify --log -r -s 683253856 
    [2020-Nov-04 14:51:56] [ info] nrfjprog version 10.10.0 
    [2020-Nov-04 14:51:56] [ info] --------------------------------------------------------------------------------
    [2020-Nov-04 14:51:56] [debug] [ nRF0x0] - open_dll
    [2020-Nov-04 14:51:56] [debug] [ nRF0x0] - Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\JLINKARM_NRF52_NRFJPROG.dll.
    [2020-Nov-04 14:51:56] [debug] [ nRF0x0] - Library loaded, loading member functions.
    [2020-Nov-04 14:51:56] [debug] [ nRF0x0] - Member functions succesfully loaded.
    [2020-Nov-04 14:51:56] [debug] [Backend] - Logger callback at 0x7ff6e3bc60d0 registered in Segger backend logger.
    [2020-Nov-04 14:51:56] [debug] [  JLink] - [Debug   ] [JLink     ] Logger callback at 0x7ff6e3bc60d0 registered in JLink logger.
    [2020-Nov-04 14:51:56] [debug] [nRF520x0] - open
    [2020-Nov-04 14:51:56] [debug] [Backend] - open_dll
    [2020-Nov-04 14:51:56] [debug] [Backend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2020-Nov-04 14:51:56] [debug] [Backend] - Load library at C:\Program Files (x86)\SEGGER\JLink\JLink_x64.dll.
    [2020-Nov-04 14:51:56] [debug] [Backend] - Library loaded, loading member functions.
    [2020-Nov-04 14:51:56] [debug] [Backend] - Member functions succesfully loaded.
    [2020-Nov-04 14:51:56] [debug] [Backend] - dll_version
    [2020-Nov-04 14:51:56] [debug] [Backend] - Segger dll version 6.84.a loaded.
    [2020-Nov-04 14:51:56] [debug] [ nRF0x0] - enum_emu_snr
    [2020-Nov-04 14:51:56] [debug] [nRF520x0] - enum_emu_snr
    [2020-Nov-04 14:51:56] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:51:56] [debug] [Backend] - enum_emu_snr
    [2020-Nov-04 14:51:56] [debug] [Backend] - ---just_enum_emu_snr
    [2020-Nov-04 14:51:56] [debug] [Backend] - ---just_get_num_emus
    [2020-Nov-04 14:51:56] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:51:56] [debug] [ nRF0x0] - connect_to_emu_with_snr
    [2020-Nov-04 14:51:56] [debug] [nRF520x0] - connect_to_emu_with_snr
    [2020-Nov-04 14:51:56] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:51:56] [debug] [Backend] - connect_to_emu_with_snr
    [2020-Nov-04 14:51:56] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:51:56] [debug] [Backend] - ---just_enum_emu_snr
    [2020-Nov-04 14:51:56] [debug] [Backend] - ---just_get_num_emus
    [2020-Nov-04 14:51:56] [debug] [Backend] - ---just_connect_to_emu_with_snr
    [2020-Nov-04 14:51:56] [debug] [Backend] - ---just_connect_to_emu_without_snr
    [2020-Nov-04 14:51:56] [debug] [Backend] - Segger logging enabled.
    [2020-Nov-04 14:51:56] [debug] [Backend] - ---just_load_core_data
    [2020-Nov-04 14:51:57] [debug] [Backend] - read_debug_port_idr
    [2020-Nov-04 14:51:57] [debug] [Backend] - read_debug_port_register
    [2020-Nov-04 14:51:57] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-04 14:51:57] [debug] [Backend] - coresight_configure
    [2020-Nov-04 14:51:57] [debug] [ nRF0x0] - read_device_version
    [2020-Nov-04 14:51:57] [debug] [nRF520x0] - read_device_info
    [2020-Nov-04 14:51:57] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-04 14:51:57] [debug] [nRF520x0] - Just_read_device_version
    [2020-Nov-04 14:51:57] [debug] [nRF520x0] - Just_readback_status
    [2020-Nov-04 14:51:57] [debug] [nRF520x0] - Just_is_ctrl_ap_available
    [2020-Nov-04 14:51:57] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14:51:57] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-04 14:51:57] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-04 14:51:57] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-04 14:51:57] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:51:57] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-04 14:51:57] [debug] [Backend] - read_access_port_register
    [2020-Nov-04 14

  • And here's the same log file again, after a few more runs, with another fail case tacked on the end of it:

    8272.log.log

  • Hi Rob, 

    Thanks for the logs. 

    Looks like it stops at the same point both places (in read_device_version, at the first read_access_port_register)

    Not sure why it's halting while printing out the date and need more time to investigate the issue. Sorry for the inconvenience. 

    -Amanda H.

Reply Children
  • FYI, it may not be your problem: we've tried various things including bypassing nrfjprog entirely and calling J-Link directly to do the download: the same things happens, J-Link just freezes some of the time.  Hence I've raised this query with Segger:

    forum.segger.com/.../

  • Thanks for sharing. Please also kindly keep updating the status. We want to know if anything we can help.

    -Amanda H.

  • Unfortunately Segger say they are unable to help and recommend I spend EURO800 on another of their tools instead on the off-chance that might work, which I'm afraid I'm not very motivated to do.

    "It seems like one of the processes is not terminating correctly.  This might leave the probe and the software in an undefined state.  It is user responsibility that a running session is closed properly. Such undefined states are not supported by us."

    forum.segger.com/.../7610-J-Link-freeze-in-multiply-parallel-environment

  • Update: I think one of the Segger engineers got a bit annoyed at me for not wanting to buy their SDK but he did then give me the information I was after. In case anyone else has this problem:

    If you are using J-Link for RTT logging (reading from its RTT-socket), driven from an [e.g. Python] script, there is only ONE way to reliably shut J-Link down again and that is to keep a stdin pipe open to it and send it the string "exit\n" before terminating it. This is the official advice from SEGGER (see the thread linked above for his full answer) and experiment shows it to be true.

    If you send J-Link SIGTERM/CTRL-C/CTRL-BREAK signals, or if you just terminate it, some percentage of the time (with us it was anything from 10% to 40% of the time) J-Link will hang the next time you try to start it on that board and only power-cycling the board will fix the problem; we tried everything, including programmatically resetting the PC's USB port, and nothing helped; the Segger engineer thought that the J-Link DLL had probably sent a partial command to the debug chip and the debug chip was stuck waiting for more. When this happens, if you take a J-Link log (command-line parameter -Log <Path>) the log will end with "Out of sync, resynchronizing..." and then nothing more.

    Curiously this seems to particularly affect the debug chip on NRF52840-DK boards: we also use a Segger Base debug box in the same test system and, although that also gets out of sync, rather than halting J-Link it prints an error message, exits and a retry (without power-cycling the debugger or the board) worked, which never ever happened when using J-Link with the debug chip on the NRF52840-DK board. It was just dead.

    Anyway, having implemented this send-exit-over-stdin-and-then-terminate scheme we can now use J-Link for RTT logging and then for something else afterwards reliably.

Related