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

nRF52840 Dongle Bricked After Programming

Hi,

I have a nRF52840 Dongle connected up to an external j-link debugger. I have been using this over the past few weeks with no issues and unfortunately I have managed to brick it. 

When I try to connect, i get an error saying that no board is connected. I have tried nrfproj from a comment line, the j-link lite tool and the nRFconnect programmer, all complain that they can not see the dongle.

(Actually, I had managed to do this on two separate dongles, on one the green LED remains permanently lit and on the other, there are no leds lit)

This issue seems to be similar to what Im seeing

https://devzone.nordicsemi.com/f/nordic-q-a/39596/the-nrf52840-dongle-can-no-longer-be-accessed-after-flashing-hex-file/153553#153553

Here the answers was to use the reset button. I have tried pushing, holding. tapping the reset with no changes.

How can I bring the boards back to life?

Thanks,

Rod 

Parents
  • Hi,

    This is probably due to the UCIR being deleted. The J-link lite supports only a target voltage of 3.3 V while the GPIO voltage (REG0) is by default 1.8 V on the nRF52840. The solution would be to use a debugger that is able to program down to 1.8 V volt. Other solutions are suggested in our programming dongle tutorial.

    best regards

    Jared 

  • Hi Jared,

    I have checked the tutorial again. Looking at the section 

    Recover after an accidental UICR erase

    You have two options for recovering when the REG0 (VDD) voltage is 1.8 V (typically after a UICR erase):

    • Either use a debug probe that adapts the logic levels to the target device (for instance a J-Link PRO). Program firmware that configures REGOUT0 for 3 V.
    • Or modify the dongle so that it can be supplied by an external supply and use the nRF52840 DK to program it.
      1. Adapt the dongle hardware as described under External regulated source in the nRF52840 Dongle documentation.
      2. Connect VDD from the nRF52840 DK to VDD OUT on the nRF52840 Dongle.

    I am using a j-link plus.

    I have modified my board so I am powering it from a 3.3V supply to VDDOUT.

    I still am unable to connect to the board

    Rod

Reply
  • Hi Jared,

    I have checked the tutorial again. Looking at the section 

    Recover after an accidental UICR erase

    You have two options for recovering when the REG0 (VDD) voltage is 1.8 V (typically after a UICR erase):

    • Either use a debug probe that adapts the logic levels to the target device (for instance a J-Link PRO). Program firmware that configures REGOUT0 for 3 V.
    • Or modify the dongle so that it can be supplied by an external supply and use the nRF52840 DK to program it.
      1. Adapt the dongle hardware as described under External regulated source in the nRF52840 Dongle documentation.
      2. Connect VDD from the nRF52840 DK to VDD OUT on the nRF52840 Dongle.

    I am using a j-link plus.

    I have modified my board so I am powering it from a 3.3V supply to VDDOUT.

    I still am unable to connect to the board

    Rod

Children
  • Hi,

    What voltages are you seeing on the DEC pins? Could you do an attempt to do a recover with nrfjprog -f NRF52 --recover --log and share the log? 

    regards

    Jared

  • Sorry Jared, what are the DEC pins?

    Log file below,

    Rod

    2020-Aug-19 09:28:13  --------------------------------------------------------------------------------
    2020-Aug-19 09:28:13  nrfjprog -f NRF52 --recover --log
    2020-Aug-19 09:28:13  nrfjprog version 9.8.1
    2020-Aug-19 09:28:13  --------------------------------------------------------------------------------
    2020-Aug-19 09:28:13  nRF_open_dll
    2020-Aug-19 09:28:13  . nRF52_open_dll
    2020-Aug-19 09:28:13  . . nRF52_dll_version
    2020-Aug-19 09:28:13  nRF_enum_emu_snr
    2020-Aug-19 09:28:13  . nRF52_enum_emu_snr
    2020-Aug-19 09:28:13  . . nRF52_enum_emu_snr
    2020-Aug-19 09:28:13  nRF_enum_emu_snr
    2020-Aug-19 09:28:13  . nRF52_enum_emu_snr
    2020-Aug-19 09:28:13  . . nRF52_enum_emu_snr
    2020-Aug-19 09:28:13  nRF_connect_to_emu_with_snr
    2020-Aug-19 09:28:13  . nRF52_connect_to_emu_with_snr
    2020-Aug-19 09:28:13  . . nRF52_is_connected_to_emu
    2020-Aug-19 09:28:13  . . nRF52_enum_emu_snr
    2020-Aug-19 09:28:13  . . nRF52_connect_to_emu_with_snr
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	 Firmware: J-Link V11 compiled Aug 14 2019 16:21:09
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	 Hardware: V11.00
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	 S/N: 601002540
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	 Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	 TELNET listener socket opened on port 19021
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	WEBSRV  Starting webserver
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0010ms, 0012ms total)  
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	T1E215C0 000:004 
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	WEBSRV Webserver running on local port 19080
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0010ms, 0012ms total)  
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	T1E215C0 000:004 
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns O.K.
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0010ms, 0012ms total)  
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	T1E215C0 000:014 
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_GetHWStatus(...)
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x00
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0001ms, 0013ms total)  
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	There is no generic nRF52 device in J-Link, so we select NRF52832_xxAA.
    
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	T1E215C0 000:015 
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("Device = NRF52832_xxAA", ...). 
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	XML file found at: /Applications/SEGGER/JLink//JLinkDevices.xml
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0001ms, 0014ms total)  
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	T1E215C0 000:015 
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	/Applications/SEGGER/JLink/JLinkDevices.xml evaluated successfully.
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	Device "NRF52832_XXAA" selected.
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	Device "NRF52832_XXAA" selected.
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x00
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0045ms, 0058ms total)  
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	T1E215C0 000:060 
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("SetRestartOnClose = 0", ...). 
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x01
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0000ms, 0058ms total)  
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	T1E215C0 000:060 
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("DisableFlashDL", ...). 
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x00
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0000ms, 0058ms total)  
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	T1E215C0 000:060 
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("SetDbgPowerDownOnClose = 1", ...). 
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x01
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0000ms, 0059ms total)  
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	T1E215C0 000:061 
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...). 
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x00
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0000ms, 0059ms total)  
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	T1E215C0 000:061 
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_TIF_Select(JLINKARM_TIF_SWD)
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x00
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0001ms, 0060ms total)  
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	T1E215C0 000:062 
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_SetSpeed(2000)
    2020-Aug-19 09:28:13  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0000ms, 0060ms total)  
    2020-Aug-19 09:28:13  nRF_recover
    2020-Aug-19 09:28:13  . nRF52_recover
    2020-Aug-19 09:28:13  . . nRF52_is_connected_to_emu
    2020-Aug-19 09:28:13  . . nRF52_is_connected_to_emu:	JLink:	T1E215C0 000:063 
    2020-Aug-19 09:28:13  . . nRF52_is_connected_to_emu:	JLink:	JLINK_IsOpen()
    2020-Aug-19 09:28:13  . . nRF52_is_connected_to_emu:	JLink:	  returns 0x01
    2020-Aug-19 09:28:13  . . nRF52_is_connected_to_emu:	JLink:	 (0000ms, 0060ms total)  
    2020-Aug-19 09:28:13  . . nRF52_is_connected_to_device
    2020-Aug-19 09:28:13  . . nRF52_is_connected_to_device:	JLink:	T1E215C0 000:063 
    2020-Aug-19 09:28:13  . . nRF52_is_connected_to_device:	JLink:	JLINK_IsConnected()
    2020-Aug-19 09:28:13  . . nRF52_is_connected_to_device:	JLink:	  returns FALSE
    2020-Aug-19 09:28:13  . . nRF52_is_connected_to_device:	JLink:	 (0000ms, 0060ms total)  
    2020-Aug-19 09:28:13  . . nRF52_readback_status
    2020-Aug-19 09:28:13  . . . nRF52_is_ctrl_ap_available
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register
    2020-Aug-19 09:28:13  . . . . . nRF52_coresight_configure
    2020-Aug-19 09:28:13  . . . . . nRF52_coresight_configure:	JLink:	T1E215C0 000:064 
    2020-Aug-19 09:28:13  . . . . . nRF52_coresight_configure:	JLink:	JLINK_CORESIGHT_Configure()
    2020-Aug-19 09:28:13  . . . . . nRF52_coresight_configure:	JLink:	  returns 0
    2020-Aug-19 09:28:13  . . . . . nRF52_coresight_configure:	JLink:	 (0000ms, 0060ms total)  
    2020-Aug-19 09:28:13  . . . . . nRF52_power_debug_and_system_regions
    2020-Aug-19 09:28:13  . . . . . . nRF52_write_debug_port_register
    2020-Aug-19 09:28:13  . . . . . . nRF52_write_debug_port_register:	JLink:	T1E215C0 000:064 
    2020-Aug-19 09:28:13  . . . . . . nRF52_write_debug_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    2020-Aug-19 09:28:13  . . . . . . nRF52_write_debug_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:13  . . . . . . nRF52_write_debug_port_register:	JLink:	 (0001ms, 0061ms total)  
    2020-Aug-19 09:28:13  . . . . . . nRF52_write_debug_port_register:	JLink:	T1E215C0 000:065 
    2020-Aug-19 09:28:13  . . . . . . nRF52_write_debug_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x01, 0x50000000)
    2020-Aug-19 09:28:13  . . . . . . nRF52_write_debug_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:13  . . . . . . nRF52_write_debug_port_register:	JLink:	 (0000ms, 0061ms total)  
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	T1E215C0 000:065 
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	 (0001ms, 0062ms total)  
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	T1E215C0 000:066 
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	 -- Value=0x00000000
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	 (0000ms, 0062ms total)  
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	T1E215C0 000:066 
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	 (0001ms, 0063ms total)  
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	T1E215C0 000:067 
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	 -- Value=0x00000000
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	 (0000ms, 0063ms total)  
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	T1E215C0 000:067 
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	 (0001ms, 0064ms total)  
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	T1E215C0 000:068 
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	 -- Value=0x00000000
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	 (0000ms, 0064ms total)  
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	T1E215C0 000:068 
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	 (0001ms, 0065ms total)  
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	T1E215C0 000:069 
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	 -- Value=0x00000000
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:13  . . . . nRF52_read_access_port_register:	JLink:	 (0000ms, 0065ms total)  
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	T1E215C0 000:070 
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	JLINK_Connect()
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x10B TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Found SW-DP with ID 0x2BA01477
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Found SW-DP with ID 0x2BA01477
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x10B TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Found SW-DP with ID 0x2BA01477
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Found SW-DP with ID 0x2BA01477
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x35 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Could not power-up debug power domain.
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Could not power-up debug power domain.
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Scanning AP map to find all available APs
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Scanning AP map to find all available APs
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x35 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x35 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	AP[0]: Stopped AP scan as end of AP map has been reached
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	AP[0]: Stopped AP scan as end of AP map has been reached
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Iterating through AP map to find AHB-AP to use
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Iterating through AP map to find AHB-AP to use
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	   ***** Error: 
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Could not find core in Coresight setup
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x10B TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Found SW-DP with ID 0x2BA01477
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Found SW-DP with ID 0x2BA01477
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x10B TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Found SW-DP with ID 0x2BA01477
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Found SW-DP with ID 0x2BA01477
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x35 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Could not power-up debug power domain.
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Could not power-up debug power domain.
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Scanning AP map to find all available APs
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Scanning AP map to find all available APs
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x35 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 >0x35 TIF>
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	AP[0]: Stopped AP scan as end of AP map has been reached
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	AP[0]: Stopped AP scan as end of AP map has been reached
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Iterating through AP map to find AHB-AP to use
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Iterating through AP map to find AHB-AP to use
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	  returns 0xFFFFFEFB
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 (0280ms, 0345ms total)  
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	Could not find core in Coresight setup
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLinkARM.dll reported error ˇ at line 5842.
    
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	T1E215C0 000:351 
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	JLINK_ClrError()
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLink:	 (0000ms, 0346ms total)  
    2020-Aug-19 09:28:13  . . nRF52_connect_to_device:	JLinkARM.dll Connect returned error -261.
    
    2020-Aug-19 09:28:13  nRF_close_dll
    2020-Aug-19 09:28:13  . nRF52_close_dll
    2020-Aug-19 09:28:13  . . nRF52_is_connected_to_emu
    2020-Aug-19 09:28:13  . . nRF52_is_connected_to_emu:	JLink:	T1E215C0 000:352 
    2020-Aug-19 09:28:13  . . nRF52_is_connected_to_emu:	JLink:	JLINK_IsOpen()
    2020-Aug-19 09:28:13  . . nRF52_is_connected_to_emu:	JLink:	  returns 0x01
    2020-Aug-19 09:28:13  . . nRF52_is_connected_to_emu:	JLink:	 (0000ms, 0346ms total)  
    2020-Aug-19 09:28:13  . . nRF52_disconnect_from_emu
    2020-Aug-19 09:28:13  . . . nRF52_is_connected_to_device
    2020-Aug-19 09:28:13  . . . nRF52_is_connected_to_device:	JLink:	T1E215C0 000:352 
    2020-Aug-19 09:28:13  . . . nRF52_is_connected_to_device:	JLink:	JLINK_IsConnected()
    2020-Aug-19 09:28:13  . . . nRF52_is_connected_to_device:	JLink:	  returns FALSE
    2020-Aug-19 09:28:13  . . . nRF52_is_connected_to_device:	JLink:	 (0001ms, 0347ms total)  
    2020-Aug-19 09:28:13  . . . nRF52_unpower_debug_and_system_regions
    2020-Aug-19 09:28:13  . . . . nRF52_write_debug_port_register
    2020-Aug-19 09:28:13  . . . . nRF52_write_debug_port_register:	JLink:	T1E215C0 000:353 
    2020-Aug-19 09:28:13  . . . . nRF52_write_debug_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    2020-Aug-19 09:28:13  . . . . nRF52_write_debug_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:13  . . . . nRF52_write_debug_port_register:	JLink:	 (0002ms, 0349ms total)  
    2020-Aug-19 09:28:13  . . . . nRF52_write_debug_port_register:	JLink:	T1E215C0 000:355 
    2020-Aug-19 09:28:13  . . . . nRF52_write_debug_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x01, 0x00000000)
    2020-Aug-19 09:28:13  . . . . nRF52_write_debug_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:13  . . . . nRF52_write_debug_port_register:	JLink:	 (0001ms, 0350ms total)  
    2020-Aug-19 09:28:13  . . . . nRF52_read_debug_port_register
    2020-Aug-19 09:28:13  . . . . nRF52_read_debug_port_register:	JLink:	T1E215C0 000:356 
    2020-Aug-19 09:28:13  . . . . nRF52_read_debug_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    2020-Aug-19 09:28:13  . . . . nRF52_read_debug_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:13  . . . . nRF52_read_debug_port_register:	JLink:	 (0001ms, 0351ms total)  
    2020-Aug-19 09:28:13  . . . . nRF52_read_debug_port_register:	JLink:	T1E215C0 000:357 
    2020-Aug-19 09:28:13  . . . . nRF52_read_debug_port_register:	JLink:	JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x01)
    2020-Aug-19 09:28:13  . . . . nRF52_read_debug_port_register:	JLink:	 -- Value=0x00000040
    2020-Aug-19 09:28:13  . . . . nRF52_read_debug_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:13  . . . . nRF52_read_debug_port_register:	JLink:	 (0000ms, 0351ms total)  
    2020-Aug-19 09:28:13  . . nRF52_disconnect_from_emu:	JLink:	T1E215C0 000:369 
    2020-Aug-19 09:28:13  . . nRF52_disconnect_from_emu:	JLink:	JLINK_Close()
    2020-Aug-19 09:28:30  --------------------------------------------------------------------------------
    2020-Aug-19 09:28:30  nrfjprog -f NRF52 --recover --log
    2020-Aug-19 09:28:30  nrfjprog version 9.8.1
    2020-Aug-19 09:28:30  --------------------------------------------------------------------------------
    2020-Aug-19 09:28:30  nRF_open_dll
    2020-Aug-19 09:28:30  . nRF52_open_dll
    2020-Aug-19 09:28:30  . . nRF52_dll_version
    2020-Aug-19 09:28:30  nRF_enum_emu_snr
    2020-Aug-19 09:28:30  . nRF52_enum_emu_snr
    2020-Aug-19 09:28:30  . . nRF52_enum_emu_snr
    2020-Aug-19 09:28:30  nRF_enum_emu_snr
    2020-Aug-19 09:28:30  . nRF52_enum_emu_snr
    2020-Aug-19 09:28:30  . . nRF52_enum_emu_snr
    2020-Aug-19 09:28:30  nRF_connect_to_emu_with_snr
    2020-Aug-19 09:28:30  . nRF52_connect_to_emu_with_snr
    2020-Aug-19 09:28:30  . . nRF52_is_connected_to_emu
    2020-Aug-19 09:28:30  . . nRF52_enum_emu_snr
    2020-Aug-19 09:28:30  . . nRF52_connect_to_emu_with_snr
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	 Firmware: J-Link V11 compiled Aug 14 2019 16:21:09
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	 Hardware: V11.00
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	 S/N: 601002540
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	 Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	 TELNET listener socket opened on port 19021
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	WEBSRV  Starting webserver
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0010ms, 0013ms total)  
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	T10B6D5C0 000:003 
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	WEBSRV Webserver running on local port 19080
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0010ms, 0013ms total)  
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	T10B6D5C0 000:003 
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns O.K.
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0010ms, 0013ms total)  
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	T10B6D5C0 000:013 
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_GetHWStatus(...)
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x00
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0000ms, 0013ms total)  
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	There is no generic nRF52 device in J-Link, so we select NRF52832_xxAA.
    
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	T10B6D5C0 000:013 
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("Device = NRF52832_xxAA", ...). 
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	XML file found at: /Applications/SEGGER/JLink//JLinkDevices.xml
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0000ms, 0014ms total)  
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	T10B6D5C0 000:014 
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	/Applications/SEGGER/JLink/JLinkDevices.xml evaluated successfully.
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	Device "NRF52832_XXAA" selected.
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	Device "NRF52832_XXAA" selected.
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x00
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0034ms, 0048ms total)  
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	T10B6D5C0 000:048 
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("SetRestartOnClose = 0", ...). 
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x01
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0000ms, 0049ms total)  
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	T10B6D5C0 000:049 
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("DisableFlashDL", ...). 
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x00
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0000ms, 0049ms total)  
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	T10B6D5C0 000:049 
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("SetDbgPowerDownOnClose = 1", ...). 
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x01
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0000ms, 0049ms total)  
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	T10B6D5C0 000:049 
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...). 
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x00
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0001ms, 0050ms total)  
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	T10B6D5C0 000:050 
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_TIF_Select(JLINKARM_TIF_SWD)
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	  returns 0x00
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0001ms, 0051ms total)  
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	T10B6D5C0 000:051 
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	JLINK_SetSpeed(2000)
    2020-Aug-19 09:28:30  . . . nRF52_connect_to_emu_without_snr:	JLink:	 (0001ms, 0052ms total)  
    2020-Aug-19 09:28:30  nRF_recover
    2020-Aug-19 09:28:30  . nRF52_recover
    2020-Aug-19 09:28:30  . . nRF52_is_connected_to_emu
    2020-Aug-19 09:28:30  . . nRF52_is_connected_to_emu:	JLink:	T10B6D5C0 000:052 
    2020-Aug-19 09:28:30  . . nRF52_is_connected_to_emu:	JLink:	JLINK_IsOpen()
    2020-Aug-19 09:28:30  . . nRF52_is_connected_to_emu:	JLink:	  returns 0x01
    2020-Aug-19 09:28:30  . . nRF52_is_connected_to_emu:	JLink:	 (0000ms, 0052ms total)  
    2020-Aug-19 09:28:30  . . nRF52_is_connected_to_device
    2020-Aug-19 09:28:30  . . nRF52_is_connected_to_device:	JLink:	T10B6D5C0 000:052 
    2020-Aug-19 09:28:30  . . nRF52_is_connected_to_device:	JLink:	JLINK_IsConnected()
    2020-Aug-19 09:28:30  . . nRF52_is_connected_to_device:	JLink:	  returns FALSE
    2020-Aug-19 09:28:30  . . nRF52_is_connected_to_device:	JLink:	 (0000ms, 0052ms total)  
    2020-Aug-19 09:28:30  . . nRF52_readback_status
    2020-Aug-19 09:28:30  . . . nRF52_is_ctrl_ap_available
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register
    2020-Aug-19 09:28:30  . . . . . nRF52_coresight_configure
    2020-Aug-19 09:28:30  . . . . . nRF52_coresight_configure:	JLink:	T10B6D5C0 000:053 
    2020-Aug-19 09:28:30  . . . . . nRF52_coresight_configure:	JLink:	JLINK_CORESIGHT_Configure()
    2020-Aug-19 09:28:30  . . . . . nRF52_coresight_configure:	JLink:	  returns 0
    2020-Aug-19 09:28:30  . . . . . nRF52_coresight_configure:	JLink:	 (0001ms, 0054ms total)  
    2020-Aug-19 09:28:30  . . . . . nRF52_power_debug_and_system_regions
    2020-Aug-19 09:28:30  . . . . . . nRF52_write_debug_port_register
    2020-Aug-19 09:28:30  . . . . . . nRF52_write_debug_port_register:	JLink:	T10B6D5C0 000:054 
    2020-Aug-19 09:28:30  . . . . . . nRF52_write_debug_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    2020-Aug-19 09:28:30  . . . . . . nRF52_write_debug_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:30  . . . . . . nRF52_write_debug_port_register:	JLink:	 (0000ms, 0054ms total)  
    2020-Aug-19 09:28:30  . . . . . . nRF52_write_debug_port_register:	JLink:	T10B6D5C0 000:054 
    2020-Aug-19 09:28:30  . . . . . . nRF52_write_debug_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x01, 0x50000000)
    2020-Aug-19 09:28:30  . . . . . . nRF52_write_debug_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:30  . . . . . . nRF52_write_debug_port_register:	JLink:	 (0001ms, 0055ms total)  
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	T10B6D5C0 000:055 
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	 (0000ms, 0055ms total)  
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	T10B6D5C0 000:055 
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	 -- Value=0x00000000
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	 (0001ms, 0056ms total)  
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	T10B6D5C0 000:056 
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	 (0000ms, 0056ms total)  
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	T10B6D5C0 000:056 
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	 -- Value=0x00000000
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	 (0001ms, 0057ms total)  
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	T10B6D5C0 000:057 
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	 (0000ms, 0057ms total)  
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	T10B6D5C0 000:057 
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	 -- Value=0x00000000
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	 (0001ms, 0058ms total)  
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	T10B6D5C0 000:058 
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	 (0000ms, 0058ms total)  
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	T10B6D5C0 000:058 
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	 -- Value=0x00000000
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:30  . . . . nRF52_read_access_port_register:	JLink:	 (0001ms, 0059ms total)  
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	T10B6D5C0 000:059 
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	JLINK_Connect()
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x10B TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Found SW-DP with ID 0x2BA01477
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Found SW-DP with ID 0x2BA01477
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x10B TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Found SW-DP with ID 0x2BA01477
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Found SW-DP with ID 0x2BA01477
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x35 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Could not power-up debug power domain.
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Could not power-up debug power domain.
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Scanning AP map to find all available APs
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Scanning AP map to find all available APs
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x35 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x35 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	AP[0]: Stopped AP scan as end of AP map has been reached
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	AP[0]: Stopped AP scan as end of AP map has been reached
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Iterating through AP map to find AHB-AP to use
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Iterating through AP map to find AHB-AP to use
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	   ***** Error: 
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Could not find core in Coresight setup
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x10B TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Found SW-DP with ID 0x2BA01477
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Found SW-DP with ID 0x2BA01477
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x10B TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Found SW-DP with ID 0x2BA01477
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Found SW-DP with ID 0x2BA01477
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x35 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Could not power-up debug power domain.
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Could not power-up debug power domain.
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Scanning AP map to find all available APs
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Scanning AP map to find all available APs
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x0D TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x28 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x35 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 >0x35 TIF>
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	AP[0]: Stopped AP scan as end of AP map has been reached
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	AP[0]: Stopped AP scan as end of AP map has been reached
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Iterating through AP map to find AHB-AP to use
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Iterating through AP map to find AHB-AP to use
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	  returns 0xFFFFFEFB
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 (0289ms, 0348ms total)  
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	Could not find core in Coresight setup
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLinkARM.dll reported error ˇ at line 5842.
    
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	T10B6D5C0 000:350 
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	JLINK_ClrError()
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLink:	 (0001ms, 0351ms total)  
    2020-Aug-19 09:28:30  . . nRF52_connect_to_device:	JLinkARM.dll Connect returned error -261.
    
    2020-Aug-19 09:28:30  nRF_close_dll
    2020-Aug-19 09:28:30  . nRF52_close_dll
    2020-Aug-19 09:28:30  . . nRF52_is_connected_to_emu
    2020-Aug-19 09:28:30  . . nRF52_is_connected_to_emu:	JLink:	T10B6D5C0 000:351 
    2020-Aug-19 09:28:30  . . nRF52_is_connected_to_emu:	JLink:	JLINK_IsOpen()
    2020-Aug-19 09:28:30  . . nRF52_is_connected_to_emu:	JLink:	  returns 0x01
    2020-Aug-19 09:28:30  . . nRF52_is_connected_to_emu:	JLink:	 (0001ms, 0352ms total)  
    2020-Aug-19 09:28:30  . . nRF52_disconnect_from_emu
    2020-Aug-19 09:28:30  . . . nRF52_is_connected_to_device
    2020-Aug-19 09:28:30  . . . nRF52_is_connected_to_device:	JLink:	T10B6D5C0 000:352 
    2020-Aug-19 09:28:30  . . . nRF52_is_connected_to_device:	JLink:	JLINK_IsConnected()
    2020-Aug-19 09:28:30  . . . nRF52_is_connected_to_device:	JLink:	  returns FALSE
    2020-Aug-19 09:28:30  . . . nRF52_is_connected_to_device:	JLink:	 (0000ms, 0352ms total)  
    2020-Aug-19 09:28:30  . . . nRF52_unpower_debug_and_system_regions
    2020-Aug-19 09:28:30  . . . . nRF52_write_debug_port_register
    2020-Aug-19 09:28:30  . . . . nRF52_write_debug_port_register:	JLink:	T10B6D5C0 000:353 
    2020-Aug-19 09:28:30  . . . . nRF52_write_debug_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    2020-Aug-19 09:28:30  . . . . nRF52_write_debug_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:30  . . . . nRF52_write_debug_port_register:	JLink:	 (0002ms, 0354ms total)  
    2020-Aug-19 09:28:30  . . . . nRF52_write_debug_port_register:	JLink:	T10B6D5C0 000:355 
    2020-Aug-19 09:28:30  . . . . nRF52_write_debug_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x01, 0x00000000)
    2020-Aug-19 09:28:30  . . . . nRF52_write_debug_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:30  . . . . nRF52_write_debug_port_register:	JLink:	 (0001ms, 0355ms total)  
    2020-Aug-19 09:28:30  . . . . nRF52_read_debug_port_register
    2020-Aug-19 09:28:30  . . . . nRF52_read_debug_port_register:	JLink:	T10B6D5C0 000:356 
    2020-Aug-19 09:28:30  . . . . nRF52_read_debug_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    2020-Aug-19 09:28:30  . . . . nRF52_read_debug_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:30  . . . . nRF52_read_debug_port_register:	JLink:	 (0002ms, 0357ms total)  
    2020-Aug-19 09:28:30  . . . . nRF52_read_debug_port_register:	JLink:	T10B6D5C0 000:358 
    2020-Aug-19 09:28:30  . . . . nRF52_read_debug_port_register:	JLink:	JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x01)
    2020-Aug-19 09:28:30  . . . . nRF52_read_debug_port_register:	JLink:	 -- Value=0x00000040
    2020-Aug-19 09:28:30  . . . . nRF52_read_debug_port_register:	JLink:	  returns 0
    2020-Aug-19 09:28:30  . . . . nRF52_read_debug_port_register:	JLink:	 (0001ms, 0358ms total)  
    2020-Aug-19 09:28:30  . . nRF52_disconnect_from_emu:	JLink:	T10B6D5C0 000:369 
    2020-Aug-19 09:28:30  . . nRF52_disconnect_from_emu:	JLink:	JLINK_Close()
    

  • Hi,

    Thanks for the log. The DEC pins as marked in the schematic below:

  • Thanks, sorry, I was looking at the pins around the board itself.

    DEC1 - 0.8V

    DEC2 - 1.2V 

    DEC3 - 3.3V

    DEC4 - 1.2V 

    DEC6 - 1.2V

     

  • Thank you. The DEC pins are ok. I'm suspecting that the RESET pin is held low. What voltage do you see over C27?

Related