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

Disable readback protection on an nRF9160

Hi,

I have somehow activated readback protection on a custom nRF9160 device and I can't seem to recover it via the usual method with nrfjprog.

Running "nrfjprog --recover" gives:

nrfjprog --recover
ERROR: nrfjprog could not identify the target device. This may be due to an 
ERROR: invalid family argument, a problem with your device, or nrfjprog may
ERROR: not yet support your device.
ERROR: Please check the family argument passed, or upgrade nrfjprog to a more
ERROR: recent version.

Trying with -f NRF91 gives:

nrfjprog --recover -f NRF91
Recovering device. This operation might take 30s.
ERROR: Recover failed. Please make sure that the correct device family is given
ERROR: and try again.

Am I missing something here in order to get recovery to work?

JLinkExe
SEGGER J-Link Commander V6.86f (Compiled Oct 23 2020 17:50:24)
DLL version V6.86f, compiled Oct 23 2020 17:50:09

Connecting to J-Link via USB...O.K.
Firmware: J-Link OB-K22-NordicSemi compiled Jan 21 2020 17:33:01
Hardware version: V1.00
S/N: 960004275
License(s): RDI, FlashBP, FlashDL, JFlash, GDB
VTref=3.300V


Type "connect" to establish a target connection, '?' for help
J-Link>connect
Please specify device / core. <Default>: CORTEX-M4
Type '?' for selection dialog
Device>CORTEX-M33
Please specify target interface:
  J) JTAG (Default)
  S) SWD
  T) cJTAG
TIF>S
Specify target interface speed [kHz]. <Default>: 4000 kHz
Speed>9600
Device "CORTEX-M33" selected.


Connecting to target via SWD
Found SW-DP with ID 0x6BA02477
DPIDR: 0x6BA02477
Scanning AP map to find all available APs
AP[7]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x84770001)
AP[1]: AHB-AP (IDR: 0x24770011)
AP[2]: JTAG-AP (IDR: 0x12880000)
AP[3]: APB-AP (IDR: 0x54770002)
AP[4]: JTAG-AP (IDR: 0x12880000)
AP[5]: JTAG-AP (IDR: 0x12880000)
AP[6]: MEM-AP (IDR: 0x128800A1)
Iterating through AP map to find AHB-AP to use
AP[0]: Skipped. Could not read CPUID register
AP[1]: Skipped. Could not read CPUID register
AP[2]: Skipped. Not an AHB-AP
AP[3]: Skipped. Not an AHB-AP
AP[4]: Skipped. Not an AHB-AP
AP[5]: Skipped. Not an AHB-AP
AP[6]: Skipped. Not an AHB-AP
Found SW-DP with ID 0x6BA02477
DPIDR: 0x6BA02477
Scanning AP map to find all available APs
AP[7]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x84770001)
AP[1]: AHB-AP (IDR: 0x24770011)
AP[2]: JTAG-AP (IDR: 0x12880000)
AP[3]: APB-AP (IDR: 0x54770002)
AP[4]: JTAG-AP (IDR: 0x12880000)
AP[5]: JTAG-AP (IDR: 0x12880000)
AP[6]: MEM-AP (IDR: 0x128800A1)
Iterating through AP map to find AHB-AP to use
AP[0]: Skipped. Could not read CPUID register
AP[1]: Skipped. Could not read CPUID register
AP[2]: Skipped. Not an AHB-AP
AP[3]: Skipped. Not an AHB-AP
AP[4]: Skipped. Not an AHB-AP
AP[5]: Skipped. Not an AHB-AP
AP[6]: Skipped. Not an AHB-AP

****** Error: Could not find core in Coresight setup

Found SW-DP with ID 0x6BA02477
DPIDR: 0x6BA02477
Scanning AP map to find all available APs
AP[7]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x84770001)
AP[1]: AHB-AP (IDR: 0x24770011)
AP[2]: JTAG-AP (IDR: 0x12880000)
AP[3]: APB-AP (IDR: 0x54770002)
AP[4]: JTAG-AP (IDR: 0x12880000)
AP[5]: JTAG-AP (IDR: 0x12880000)
AP[6]: MEM-AP (IDR: 0x128800A1)
Iterating through AP map to find AHB-AP to use
AP[0]: Skipped. Could not read CPUID register
AP[1]: Skipped. Could not read CPUID register
AP[2]: Skipped. Not an AHB-AP
AP[3]: Skipped. Not an AHB-AP
AP[4]: Skipped. Not an AHB-AP
AP[5]: Skipped. Not an AHB-AP
AP[6]: Skipped. Not an AHB-AP
Found SW-DP with ID 0x6BA02477
DPIDR: 0x6BA02477
Scanning AP map to find all available APs
AP[7]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x84770001)
AP[1]: AHB-AP (IDR: 0x24770011)
AP[2]: JTAG-AP (IDR: 0x12880000)
AP[3]: APB-AP (IDR: 0x54770002)
AP[4]: JTAG-AP (IDR: 0x12880000)
AP[5]: JTAG-AP (IDR: 0x12880000)
AP[6]: MEM-AP (IDR: 0x128800A1)
Iterating through AP map to find AHB-AP to use
AP[0]: Skipped. Could not read CPUID register
AP[1]: Skipped. Could not read CPUID register
AP[2]: Skipped. Not an AHB-AP
AP[3]: Skipped. Not an AHB-AP
AP[4]: Skipped. Not an AHB-AP
AP[5]: Skipped. Not an AHB-AP
AP[6]: Skipped. Not an AHB-AP

****** Error: Could not find core in Coresight setup

Cannot connect to target.

nrfjprog -e -f NRF91
ERROR: The operation attempted is unavailable due to readback protection in
ERROR: your device. Please use --recover to unlock the device.

Parents
  • Hi Michael,

    Which version of nrfjprog do you have?
    open cmd --> 'nrfjprog -v'



    Please make sure you are running version 10.11.1

    Release notes in version 10.11.1

    Update bundled Segger installers and tar balls to v6.86f.
    
    Updated doc string for NRFJPROG_erase_all to make the note about NVM block 
    protection more clear.
    
    Add function NRFJPROG_is_eraseprotect_enabled(). In devices that does not 
    support erase protection (nrf51, nrf52), this function returns false.
    
    If erase protection is enabled, erase functions will now return 
    NOT_AVAILABLE_BECAUSE_PROTECTION if the target operation is not possible.
    
    NRFJPROG_recover() can now disable erase protection if no readback protection
    is enabled.
    
    Fixed issue where in nRF53 devices, NRFJPROG_readback_protect(SECURE) did not 
    enable secure ap protection.
    
    Fixed issue where in devices with trustzone, nrfjprog could select NVMC_NS for 
    erase operations, causing the erase operation to fail silently.
    
    Fixed issue there if SECURE readbackprotection was enabled, NRFJPROG_read(), 
    NRFJPROG_read_u32(), NRFJPROG_write(), and NRFJPROG_write_u32() would fail with 
    NOT_AVAILABLE_BECAUSE_PROTECTION even though the operation was possible.


    Best regards,
    Martin L.

  • Hi Martin,

    I am using the latest JLink and nrfjprog versions as you showed above:

    nrfjprog --version
    nrfjprog version: 10.11.1 
    JLinkARM.dll version: 6.86f

    I updated my tools while trying to unlock the nRF91 but as shown in the original post, even with the latest tools the device will not remove it's protections

  • Could you run the commands with the '--log' at the end to gather the debug log.
    e.g. "nrfjprog --recover --log"

    and then share the log in this case?



  • It looks like it fixed itself with a power on reset? The battery died overnight, charging the unit and trying 'nrfjprog -e' seems to have worked. JLinkExe is not showing any issues now connection to the CORTEX-M33 as it was yesterday?

    Would a power on reset really remove readback protection?

    [2020-Nov-10 13:32:39] [ info] --------------------------------------------------------------------------------
    [2020-Nov-10 13:32:39] [ info] nrfjprog --recover --log 
    [2020-Nov-10 13:32:39] [ info] nrfjprog version 10.11.1 
    [2020-Nov-10 13:32:39] [ info] --------------------------------------------------------------------------------
    [2020-Nov-10 13:32:39] [debug] [ nRF0x0] - open_dll
    [2020-Nov-10 13:32:39] [ info] [ nRF0x0] - Load library at /Applications/Nordic Semiconductor/nrfjprog/libjlinkarm_unknown_nrfjprogdll.dylib.
    [2020-Nov-10 13:32:39] [ info] [ nRF0x0] - Library loaded, loading member functions.
    [2020-Nov-10 13:32:39] [ info] [ nRF0x0] - Member functions succesfully loaded.
    [2020-Nov-10 13:32:39] [ info] [Backend] - Logger callback at 0x10c3c10b0 registered in Segger backend logger.
    [2020-Nov-10 13:32:39] [ info] [  JLink] - [Debug   ] [JLink     ] Logger callback at 0x10c3c10b0 registered in JLink logger.
    [2020-Nov-10 13:32:39] [debug] [nRFUnknown] - Just_open_dll_tagged_callback
    [2020-Nov-10 13:32:39] [debug] [Backend] - open_dll
    [2020-Nov-10 13:32:39] [ info] [Backend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2020-Nov-10 13:32:39] [ info] [Backend] - Load library at /Applications/SEGGER/JLink/libjlinkarm.6.86.6.dylib.
    [2020-Nov-10 13:32:40] [ info] [Backend] - Library loaded, loading member functions.
    [2020-Nov-10 13:32:40] [ info] [Backend] - Member functions succesfully loaded.
    [2020-Nov-10 13:32:40] [debug] [Backend] - dll_version
    [2020-Nov-10 13:32:40] [ info] [Backend] - Segger dll version 6.86.f loaded.
    [2020-Nov-10 13:32:40] [debug] [Backend] - set_core_data
    [2020-Nov-10 13:32:40] [debug] [ nRF0x0] - enum_emu_snr
    [2020-Nov-10 13:32:40] [debug] [nRFUnknown] - Just_enum_emu_snr
    [2020-Nov-10 13:32:40] [debug] [Backend] - enum_emu_snr
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_enum_emu_snr
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_get_num_emus
    [2020-Nov-10 13:32:40] [debug] [ nRF0x0] - connect_to_emu_with_snr
    [2020-Nov-10 13:32:40] [debug] [nRFUnknown] - Just_connect_to_emu_with_snr
    [2020-Nov-10 13:32:40] [debug] [Backend] - connect_to_emu_with_snr
    [2020-Nov-10 13:32:40] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_enum_emu_snr
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_get_num_emus
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_connect_to_emu_with_snr
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_connect_to_emu_without_snr
    [2020-Nov-10 13:32:40] [ info] [Backend] - Segger logging enabled.
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_load_core_data
    [2020-Nov-10 13:32:40] [ info] [  JLink] - [Debug   ] [JLink     ] Device "CORTEX-M4" selected.
    [2020-Nov-10 13:32:40] [debug] [ nRF0x0] - read_connected_emu_snr
    [2020-Nov-10 13:32:40] [debug] [nRFUnknown] - Just_read_connected_emu_snr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_connected_emu_snr
    [2020-Nov-10 13:32:40] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-10 13:32:40] [debug] [ nRF0x0] - read_device_family
    [2020-Nov-10 13:32:40] [debug] [nRFUnknown] - Just_read_device_family
    [2020-Nov-10 13:32:40] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_debug_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_debug_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - coresight_configure
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_debug_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 255, DP Bank 0, AP Bank 255
    [2020-Nov-10 13:32:40] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_debug_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 0, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 0, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 1, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 1, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 2, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 2, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 3, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 3, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 4, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 4, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 5, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 5, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 6, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 6, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 7, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 7, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 8, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 8, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 9, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 9, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 10, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 10, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 11, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 11, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 12, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 12, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 13, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 13, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 14, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 14, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 15, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 15, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 16, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 16, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 17, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 17, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 4, DP Bank 0, AP Bank 3
    [2020-Nov-10 13:32:40] [ info] [nRFUnknown] - Discovered device from family NRF91.
    [2020-Nov-10 13:32:40] [debug] [ nRF0x0] - close_dll
    [2020-Nov-10 13:32:40] [debug] [nRFUnknown] - Just_close_dll
    [2020-Nov-10 13:32:40] [debug] [Backend] - close
    [2020-Nov-10 13:32:40] [debug] [Backend] - disconnect_from_emu
    [2020-Nov-10 13:32:40] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_disconnect_from_emu
    [2020-Nov-10 13:32:40] [debug] [Backend] - is_connected_to_device
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_debug_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 255, DP Bank 0, AP Bank 255
    [2020-Nov-10 13:32:40] [debug] [Backend] - unpower_debug_and_system_regions
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_debug_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 255, DP Bank 0, AP Bank 255
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_debug_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 255, DP Bank 0, AP Bank 255
    [2020-Nov-10 13:32:40] [debug] [Backend] - Segger Backend closed.
    [2020-Nov-10 13:32:40] [debug] [ nRF0x0] - open_dll
    [2020-Nov-10 13:32:40] [ info] [ nRF0x0] - Load library at /Applications/Nordic Semiconductor/nrfjprog/libjlinkarm_nrf91_nrfjprogdll.dylib.
    [2020-Nov-10 13:32:40] [ info] [ nRF0x0] - Library loaded, loading member functions.
    [2020-Nov-10 13:32:40] [ info] [ nRF0x0] - Member functions succesfully loaded.
    [2020-Nov-10 13:32:40] [ info] [Backend] - Logger callback at 0x10c3c10b0 registered in Segger backend logger.
    [2020-Nov-10 13:32:40] [ info] [  JLink] - [Debug   ] [JLink     ] Logger callback at 0x10c3c10b0 registered in JLink logger.
    [2020-Nov-10 13:32:40] [debug] [nRF910x0] - open
    [2020-Nov-10 13:32:40] [debug] [Backend] - open_dll
    [2020-Nov-10 13:32:40] [ info] [Backend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2020-Nov-10 13:32:40] [ info] [Backend] - Load library at /Applications/SEGGER/JLink/libjlinkarm.6.86.6.dylib.
    [2020-Nov-10 13:32:40] [ info] [Backend] - Library loaded, loading member functions.
    [2020-Nov-10 13:32:40] [ info] [Backend] - Member functions succesfully loaded.
    [2020-Nov-10 13:32:40] [debug] [Backend] - dll_version
    [2020-Nov-10 13:32:40] [ info] [Backend] - Segger dll version 6.86.f loaded.
    [2020-Nov-10 13:32:40] [debug] [ nRF0x0] - connect_to_emu_with_snr
    [2020-Nov-10 13:32:40] [debug] [nRF910x0] - connect_to_emu_with_snr
    [2020-Nov-10 13:32:40] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-10 13:32:40] [debug] [Backend] - connect_to_emu_with_snr
    [2020-Nov-10 13:32:40] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_enum_emu_snr
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_get_num_emus
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_connect_to_emu_with_snr
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_connect_to_emu_without_snr
    [2020-Nov-10 13:32:40] [ info] [Backend] - Segger logging enabled.
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_load_core_data
    [2020-Nov-10 13:32:40] [ info] [  JLink] - [Debug   ] [JLink     ] Device "CORTEX-M33" selected.
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_debug_port_idr
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_debug_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - coresight_configure
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_debug_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 255, DP Bank 0, AP Bank 255
    [2020-Nov-10 13:32:40] [debug] [ nRF0x0] - recover
    [2020-Nov-10 13:32:40] [debug] [nRF910x0] - recover
    [2020-Nov-10 13:32:40] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-10 13:32:40] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-10 13:32:40] [debug] [nRF910x0] - Just_recover
    [2020-Nov-10 13:32:40] [debug] [nRF910x0] - Just_enable_coprocessor
    [2020-Nov-10 13:32:40] [debug] [nRF910x0] - Just_is_eraseprotect_enabled
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_debug_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 255, DP Bank 0, AP Bank 255
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 4, DP Bank 0, AP Bank 1
    [2020-Nov-10 13:32:40] [debug] [nRF910x0] - Just_readback_status
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - Select AP 4, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:40] [ info] [nRF910x0] - Readback protection status read as NONE
    [2020-Nov-10 13:32:40] [debug] [nRF910x0] - Just_disable_accessportprotect
    [2020-Nov-10 13:32:40] [debug] [Backend] - write_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_write_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:40] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - pin_reset
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_pin_reset
    [2020-Nov-10 13:32:41] [debug] [Backend] - pin_reset
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_disconnect_from_device
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_disconnect_from_emu
    [2020-Nov-10 13:32:41] [debug] [Backend] - is_connected_to_device
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-10 13:32:41] [ info] [Backend] - Shortcut, lock is on and debug region is powered.
    [2020-Nov-10 13:32:41] [debug] [Backend] - unpower_debug_and_system_regions
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_debug_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_debug_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_connect_to_previous_emu
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_connect_to_emu_with_snr
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_connect_to_emu_without_snr
    [2020-Nov-10 13:32:41] [ info] [Backend] - Segger logging enabled.
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_load_core_data
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] Device "CORTEX-M33" selected.
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_readback_status
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - coresight_configure
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_debug_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 255, DP Bank 0, AP Bank 255
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 4, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:41] [ info] [nRF910x0] - Readback protection status read as NONE
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_enable_coprocessor
    [2020-Nov-10 13:32:41] [debug] [Backend] - halt
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-10 13:32:41] [debug] [Backend] - is_connected_to_device
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_load_core_data
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] Device "CORTEX-M33" selected.
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_coprocessor_enabled
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] Found SW-DP with ID 0x6BA02477
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] DPIDR: 0x6BA02477
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] AP map detection skipped. Manually configured AP map found.
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] AP[0]: AHB-AP (IDR: Not set)
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] AP[0]: Core found
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] AP[0]: AHB-AP ROM base: 0xE00FF000
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] CPUID register: 0x410FD212. Implementer code: 0x41 (ARM)
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] Found Cortex-M33 r0p2, Little endian.
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] FPUnit: 8 code (BP) slots and 0 literal slots
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] Security extension: implemented
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] Secure debug: enabled
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] CoreSight components:
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] ROMTbl[0] @ E00FF000
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] ROMTbl[0][0]: E000E000, CID: B105900D, PID: 000BBD21 Cortex-M33
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] ROMTbl[0][1]: E0001000, CID: B105900D, PID: 000BBD21 DWT
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] ROMTbl[0][2]: E0002000, CID: B105900D, PID: 000BBD21 FPB
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] ROMTbl[0][3]: E0000000, CID: B105900D, PID: 000BBD21 ITM
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] ROMTbl[0][5]: E0041000, CID: B105900D, PID: 002BBD21 ETM
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] ROMTbl[0][6]: E0042000, CID: B105900D, PID: 000BBD21 CTI
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_halt
    [2020-Nov-10 13:32:41] [debug] [Backend] - sys_reset
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_halt
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_sys_reset
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_is_secure_debug_available
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 0, DP Bank 255, AP Bank 0
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_invalidate_cache
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] Reset: Halt core after reset via DEMCR.VC_CORERESET.
    [2020-Nov-10 13:32:41] [ info] [  JLink] - [Debug   ] [JLink     ] Reset: Reset device via AIRCR.SYSRESETREQ.
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_power_ram_all
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_readback_status
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 4, DP Bank 255, AP Bank 0
    [2020-Nov-10 13:32:41] [ info] [nRF910x0] - Readback protection status read as NONE
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_secure_debug_available
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 0, DP Bank 0, AP Bank 0
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_get_secure_nonsecure_address
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_peripheral_mapped_secure
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_secure_debug_available
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ahb_read_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 0, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:41] [debug] [Backend] - write_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_u32
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_secure_debug_available
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 0, DP Bank 255, AP Bank 0
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_get_secure_nonsecure_address
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_peripheral_mapped_secure
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_secure_debug_available
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ahb_read_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 0, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:41] [debug] [Backend] - write_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_u32
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_secure_debug_available
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 0, DP Bank 255, AP Bank 0
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_get_secure_nonsecure_address
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_peripheral_mapped_secure
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_secure_debug_available
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ahb_read_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 0, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:41] [debug] [Backend] - write_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_u32
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_secure_debug_available
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 0, DP Bank 255, AP Bank 0
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_get_secure_nonsecure_address
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_peripheral_mapped_secure
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_secure_debug_available
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ahb_read_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 0, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:41] [debug] [Backend] - write_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_u32
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_secure_debug_available
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 0, DP Bank 255, AP Bank 0
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_get_secure_nonsecure_address
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_peripheral_mapped_secure
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_secure_debug_available
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ahb_read_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 0, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:41] [debug] [Backend] - write_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_u32
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_secure_debug_available
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 0, DP Bank 255, AP Bank 0
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_get_secure_nonsecure_address
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_peripheral_mapped_secure
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_secure_debug_available
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ahb_read_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 0, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:41] [debug] [Backend] - write_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_u32
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_secure_debug_available
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 0, DP Bank 255, AP Bank 0
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_get_secure_nonsecure_address
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_peripheral_mapped_secure
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_secure_debug_available
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ahb_read_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 0, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:41] [debug] [Backend] - write_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_u32
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_secure_debug_available
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 0, DP Bank 255, AP Bank 0
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_get_secure_nonsecure_address
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_peripheral_mapped_secure
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_secure_debug_available
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ahb_read_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 0, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:41] [debug] [Backend] - write_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_u32
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_clear_resetreas
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_secure_debug_available
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 0, DP Bank 255, AP Bank 0
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_get_secure_nonsecure_address
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_peripheral_mapped_secure
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - Just_is_secure_debug_available
    [2020-Nov-10 13:32:41] [debug] [Backend] - read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ahb_read_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_access_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 0, DP Bank 0, AP Bank 15
    [2020-Nov-10 13:32:41] [debug] [Backend] - write_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_connect_to_device
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_u32
    [2020-Nov-10 13:32:41] [debug] [ nRF0x0] - close_dll
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - close
    [2020-Nov-10 13:32:41] [debug] [Backend] - is_connected_to_emu
    [2020-Nov-10 13:32:41] [debug] [Backend] - close
    [2020-Nov-10 13:32:41] [debug] [Backend] - disconnect_from_emu
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_disconnect_from_emu
    [2020-Nov-10 13:32:41] [debug] [Backend] - is_connected_to_device
    [2020-Nov-10 13:32:41] [ info] [Backend] - Disable trace before closing connection.
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_u32
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_debug_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Select AP 255, DP Bank 0, AP Bank 255
    [2020-Nov-10 13:32:41] [debug] [Backend] - unpower_debug_and_system_regions
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_debug_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - ---just_select_debug_port_register
    [2020-Nov-10 13:32:41] [debug] [Backend] - Segger Backend closed.
    [2020-Nov-10 13:32:41] [debug] [nRF910x0] - nRF family DLL closed
    

  • Hi Michael,

    I am glad to hear that you got it to work again.

    Most likely the device was in some kind of weird state and the power-on reset fixed it.
    (no, a power on reset will not remove readback protection when that is enabled)

Reply Children
No Data
Related