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

Can't flash or erase - "Error: Timeout while checking target RAM, RAMCode did not respond in time."

I am currently unable to flash any new code or to erase the flash memory of my nRF52840 Preview DK boards.

I am using SES and the OB J-Link, but also tried JLinkExe and Ozone. I have the latest version v.6.86e but also tried older versions. I am under macOS 10.15, but also tried from a Raspi. I also tried a second board, same problem. I was experimenting with ITM and DWT data watchpoints before on both boards, I guess that destroyed something.

The output from JLinkExe is as follows:

J-Link>erase
Erasing device...

****** Error: Timeout while checking target RAM, RAMCode did not respond in time. (PC = 0x00000000, CPSR = 0x00000000, LR = 0x61000000)!
Failed to prepare for programming.
Failed to execute RAMCode for RAM check!
ERROR: Erase returned with error code -1.

J-Link does connect fine and it seems like I can do everything, except writing to the flash. The binary that is still on the boards is running and can be debugged.

I added J-Link logs from both SES as well as JLinkExe.

How can I solve this issue? Thanks

T1C5C4DC0 000:001.575   SEGGER J-Link V6.84a Log File
T1C5C4DC0 000:001.718   DLL Compiled: Sep  7 2020 17:28:41
T1C5C4DC0 000:001.728   Logging started @ 2020-10-23 10:05
T1C5C4DC0 000:001.737 - 1.742ms
T1C5C4DC0 000:001.807 JLINK_ExecCommand("EnableAutoUpdateFW", ...). 
T1C5C4DC0 000:001.831 - 0.028ms returns 0x00
T1C5C4DC0 000:001.868 JLINK_OpenEx(...)
T1C5C4DC0 000:005.806   Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 17 2020 14:43:00
T1C5C4DC0 000:011.363   Hardware: V1.00
T1C5C4DC0 000:011.423   S/N: 683014029
T1C5C4DC0 000:011.451   OEM: SEGGER
T1C5C4DC0 000:011.464   Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
T1C5C4DC0 000:012.786   TELNET listener socket opened on port 19021
T1C5C4DC0 000:012.904   WEBSRV Starting webserver
T1C5C4DC0 000:012.964   WEBSRV Webserver running on local port 19080
T1C5C4DC0 000:013.002 - 11.148ms returns "O.K."
T1C5C4DC0 000:013.043 JLINK_GetEmuCaps()
T1C5C4DC0 000:013.078 - 0.050ms returns 0xB8EA5A33
T1C5C4DC0 000:013.100 JLINK_GetFirmwareString(...)
T1C5C4DC0 000:013.143 - 0.047ms
T1C5C4DC0 000:013.301 JLINK_GetDLLVersion()
T1C5C4DC0 000:013.317 - 0.020ms returns 68401
T1C5C4DC0 000:013.415 JLINK_GetHardwareVersion()
T1C5C4DC0 000:013.430 - 0.019ms returns 10000
T1C5C4DC0 000:013.549 JLINK_GetHWStatus(...)
T1C5C4DC0 000:014.894 - 1.359ms returns 0
T1C5C4DC0 000:015.158 JLINK_GetSN()
T1C5C4DC0 000:015.175 - 0.022ms returns 683014029
T1C5C4DC0 000:015.272 JLINK_ExecCommand("ProjectFile = "/Users/bennet/Downloads/DeviceDownload/nRF5_SDK_17.0.2_d674dde/examples/peripheral/blinky/pca10056/blank/ses/blinky_pca10056_Release.jlink"", ...). 
T1C5C4DC0 000:021.205   XML file found at: /Applications/SEGGER Embedded Studio for ARM 5.10b/bin/JLinkDevices.xml
T1C5C4DC0 000:022.150   /Applications/SEGGER Embedded Studio for ARM 5.10b/bin/JLinkDevices.xml evaluated successfully.
T1C5C4DC0 000:037.548 - 22.289ms returns 0x00
T1C5C4DC0 000:037.658 JLINK_EMU_GetCurrConnectionInfo()
T1C5C4DC0 000:037.683 - 0.030ms returns 0
T1C5C4DC0 000:037.747 JLINK_DEVICE_GetIndex(sDeviceName = nRF52840_xxAA)
T1C5C4DC0 000:037.773 - 0.032ms returns 2245
T1C5C4DC0 000:037.788 JLINK_ExecCommand("device = nRF52840_xxAA", ...). 
T1C5C4DC0 000:038.290   Device "NRF52840_XXAA" selected.
T1C5C4DC0 000:038.434 - 0.648ms returns 0x00
T1C5C4DC0 000:038.452 JLINK_DEVICE_GetIndex(sDeviceName = nRF52840_xxAA)
T1C5C4DC0 000:038.502 - 0.057ms returns 2245
T1C5C4DC0 000:038.526 JLINK_DEVICE_GetInfo(DeviceIndex = 2245)
T1C5C4DC0 000:038.536 - 0.015ms returns 0
T1C5C4DC0 000:038.546 JLINK_GetEmuCaps()
T1C5C4DC0 000:038.556 - 0.014ms returns 0xB8EA5A33
T1C5C4DC0 000:038.569 JLINK_TIF_GetAvailable(...)
T1C5C4DC0 000:038.809 - 0.279ms
T1C5C4DC0 000:039.271 JLINK_TIF_Select(JLINKARM_TIF_SWD)
T1C5C4DC0 000:040.216 - 0.958ms returns 0x00
T1C5C4DC0 000:040.236 JLINK_GetEmuCaps()
T1C5C4DC0 000:040.245 - 0.014ms returns 0xB8EA5A33
T1C5C4DC0 000:040.255 JLINK_SWO_Control(JLINKARM_SWO_CMD_GET_SPEED_INFO, ...)
T1C5C4DC0 000:040.638 - 0.408ms returns 0x00
T1C5C4DC0 000:040.688 JLINK_SetEndian(ARM_ENDIAN_LITTLE)
T1C5C4DC0 000:040.699 - 0.016ms returns 0
T1C5C4DC0 000:040.708 JLINK_GetEmuCaps()
T1C5C4DC0 000:040.718 - 0.014ms returns 0xB8EA5A33
T1C5C4DC0 000:040.730 JLINK_SetSpeed(4000)
T1C5C4DC0 000:040.892 - 0.189ms
T1C5C4DC0 000:040.925 JLINK_GetSpeed()
T1C5C4DC0 000:040.935 - 0.014ms returns 1000
T1C5C4DC0 000:040.946 JLINK_Connect()
T1C5C4DC0 000:041.751   InitTarget() start
T1C5C4DC0 000:041.791    J-Link Script File: Executing InitTarget()
T1C5C4DC0 000:044.980   InitTarget() end
T1C5C4DC0 000:045.824   Found SW-DP with ID 0x2BA01477
T1C5C4DC0 000:047.860   DPIDR: 0x2BA01477
T1C5C4DC0 000:047.992   Scanning AP map to find all available APs
T1C5C4DC0 000:049.059   AP[2]: Stopped AP scan as end of AP map has been reached
T1C5C4DC0 000:049.152   AP[0]: AHB-AP (IDR: 0x24770011)
T1C5C4DC0 000:049.244   AP[1]: JTAG-AP (IDR: 0x02880000)
T1C5C4DC0 000:049.354   Iterating through AP map to find AHB-AP to use
T1C5C4DC0 000:050.406   AP[0]: Core found
T1C5C4DC0 000:050.509   AP[0]: AHB-AP ROM base: 0xE00FF000
T1C5C4DC0 000:051.126   CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
T1C5C4DC0 000:051.232   Found Cortex-M4 r0p1, Little endian.
T1C5C4DC0 000:153.253   -- Max. mem block: 0x000042D8
T1C5C4DC0 000:153.354   CPU_ReadMem(4 bytes @ 0xE000EDF0)
T1C5C4DC0 000:154.050   CPU_ReadMem(4 bytes @ 0xE0002000)
T1C5C4DC0 000:154.779   FPUnit: 6 code (BP) slots and 2 literal slots
T1C5C4DC0 000:154.797   CPU_ReadMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 000:155.377   CPU_ReadMem(4 bytes @ 0xE0001000)
T1C5C4DC0 000:156.035   CPU_WriteMem(4 bytes @ 0xE0001000)
T1C5C4DC0 000:156.629   CPU_ReadMem(4 bytes @ 0xE000ED88)
T1C5C4DC0 000:157.227   CPU_WriteMem(4 bytes @ 0xE000ED88)
T1C5C4DC0 000:157.828   CPU_ReadMem(4 bytes @ 0xE000ED88)
T1C5C4DC0 000:158.381   CPU_WriteMem(4 bytes @ 0xE000ED88)
T1C5C4DC0 000:159.071   CoreSight components:
T1C5C4DC0 000:159.152   ROMTbl[0] @ E00FF000
T1C5C4DC0 000:159.165   CPU_ReadMem(64 bytes @ 0xE00FF000)
T1C5C4DC0 000:160.495   CPU_ReadMem(32 bytes @ 0xE000EFE0)
T1C5C4DC0 000:161.523   ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7
T1C5C4DC0 000:161.538   CPU_ReadMem(32 bytes @ 0xE0001FE0)
T1C5C4DC0 000:162.558   ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT
T1C5C4DC0 000:162.576   CPU_ReadMem(32 bytes @ 0xE0002FE0)
T1C5C4DC0 000:163.594   ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB
T1C5C4DC0 000:163.612   CPU_ReadMem(32 bytes @ 0xE0000FE0)
T1C5C4DC0 000:164.745   ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM
T1C5C4DC0 000:164.762   CPU_ReadMem(32 bytes @ 0xE0040FE0)
T1C5C4DC0 000:165.807   ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU
T1C5C4DC0 000:165.824   CPU_ReadMem(32 bytes @ 0xE0041FE0)
T1C5C4DC0 000:166.933   ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM
T1C5C4DC0 000:166.986 - 126.044ms returns 0x00
T1C5C4DC0 000:166.998 JLINK_GetId()
T1C5C4DC0 000:167.302 - 0.329ms returns 0x2BA01477
T1C5C4DC0 000:167.350 JLINK_GetDebugInfo(0x10E = JLINKARM_DEBUG_INFO_AHBAP_INDEX)
T1C5C4DC0 000:167.357   Value=0x00000000
T1C5C4DC0 000:167.365 - 0.018ms returns 0
T1C5C4DC0 000:167.722 JLINK_GetDebugInfo(0x10C = JLINKARM_DEBUG_INFO_DBG_ADDR_INDEX)
T1C5C4DC0 000:167.739   Value=0xE000EDF0
T1C5C4DC0 000:167.746 - 0.027ms returns 0
T1C5C4DC0 000:167.753 JLINK_GetDebugInfo(0x105 = JLINKARM_DEBUG_INFO_DWT_ADDR_INDEX)
T1C5C4DC0 000:167.759   Value=0xE0001000
T1C5C4DC0 000:167.766 - 0.016ms returns 0
T1C5C4DC0 000:167.772 JLINK_GetDebugInfo(0x106 = JLINKARM_DEBUG_INFO_FPB_ADDR_INDEX)
T1C5C4DC0 000:167.777   Value=0xE0002000
T1C5C4DC0 000:167.784 - 0.015ms returns 0
T1C5C4DC0 000:167.790 JLINK_GetDebugInfo(0x104 = JLINKARM_DEBUG_INFO_ITM_ADDR_INDEX)
T1C5C4DC0 000:167.795   Value=0xE0000000
T1C5C4DC0 000:167.802 - 0.015ms returns 0
T1C5C4DC0 000:167.809 JLINK_CORE_GetFound()
T1C5C4DC0 000:167.814 - 0.008ms returns 0xE0000FF
T1C5C4DC0 000:167.837 JLINK_WriteU32_64(0xE0000FB0, 0xC5ACCE55)
T1C5C4DC0 000:167.857   Debug reg: ITM_LOCKACCESS
T1C5C4DC0 000:168.051   CPU is running
T1C5C4DC0 000:168.061   CPU_WriteMem(4 bytes @ 0xE0000FB0)
T1C5C4DC0 000:168.614 - 0.800ms returns 0 (0x00000000)
T1C5C4DC0 000:566.867 JLINK_SetResetDelay(0)
T1C5C4DC0 000:566.918 - 0.055ms
T1C5C4DC0 000:566.925 JLINK_Reset()
T1C5C4DC0 000:566.982   CPU is running
T1C5C4DC0 000:566.993   CPU_WriteMem(4 bytes @ 0xE000EDF0)
T1C5C4DC0 000:567.618   CPU is running
T1C5C4DC0 000:567.636   CPU_WriteMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 000:568.410   Reset: Halt core after reset via DEMCR.VC_CORERESET.
T1C5C4DC0 000:569.130   Reset: Reset device via AIRCR.SYSRESETREQ.
T1C5C4DC0 000:569.147   CPU is running
T1C5C4DC0 000:569.155   CPU_WriteMem(4 bytes @ 0xE000ED0C)
T1C5C4DC0 000:622.369   CPU_ReadMem(4 bytes @ 0xE000EDF0)
T1C5C4DC0 000:622.985   CPU_ReadMem(4 bytes @ 0xE000EDF0)
T1C5C4DC0 000:623.582   CPU is running
T1C5C4DC0 000:623.618   CPU_WriteMem(4 bytes @ 0xE000EDF0)
T1C5C4DC0 000:624.198   CPU is running
T1C5C4DC0 000:624.224   CPU_WriteMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 000:630.469   CPU_ReadMem(4 bytes @ 0xE000EDF0)
T1C5C4DC0 000:637.442   CPU_WriteMem(4 bytes @ 0xE0002000)
T1C5C4DC0 000:638.041   CPU_ReadMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 000:638.654   CPU_ReadMem(4 bytes @ 0xE0001000)
T1C5C4DC0 000:639.243 - 72.340ms
T1C5C4DC0 000:639.274 JLINK_IsHalted()
T1C5C4DC0 000:639.281 - 0.009ms returns TRUE
T1C5C4DC0 000:639.671 JLINK_ReadRegs(NumRegs = 20, Indexes: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20)
T1C5C4DC0 000:639.692    -- R0=0x00, R1=0x00, R2=0x00, R3=0x00, R4=0x00, R5=0x00, R6=0x00, R7=0x00, R8=0x00, R9=0x00, R10=0x00, R11=0x00, R12=0x00, R13 (SP)=0x20040000, R14=0xFFFFFFFF, R15 (PC)=0x374, XPSR=0x1000000, MSP=0x20040000, PSP=0x00, CFBP=0x00
T1C5C4DC0 000:639.700 - 0.032ms returns 0x00
T1C5C4DC0 000:639.723 JLINK_ReadMemU32(0xE000ED04, 0x1 Items)
T1C5C4DC0 000:639.761   CPU_ReadMem(4 bytes @ 0xE000ED04)
T1C5C4DC0 000:640.315   Data:  00 00 00 00
T1C5C4DC0 000:640.340 - 0.620ms returns 1 (0x1)
T1C5C4DC0 000:640.348 JLINK_CORE_GetFound()
T1C5C4DC0 000:640.353 - 0.008ms returns 0xE0000FF
T1C5C4DC0 000:922.619 JLINK_BeginDownload(Flags = 0x00000000)
T1C5C4DC0 000:922.655 - 0.039ms
T1C5C4DC0 000:922.662 JLINK_WriteMem(0x00000000, 0xBFA Bytes, ...)
T1C5C4DC0 000:922.668   Data:  00 00 04 20 75 03 00 00 5D 03 00 00 5F 03 00 00 ...
T1C5C4DC0 000:922.745   completely In flash
T1C5C4DC0 000:922.758    -- Read from flash cache (3066 bytes @ 0x00000000)
T1C5C4DC0 000:922.767 - 0.107ms returns 0xBFA
T1C5C4DC0 000:922.999 JLINK_WriteMem(0x00000BFC, 0x4 Bytes, ...)
T1C5C4DC0 000:923.013   Data:  00 90 D0 03
T1C5C4DC0 000:923.024   completely In flash
T1C5C4DC0 000:923.031 - 0.035ms returns 0x4
T1C5C4DC0 000:923.037 JLINK_EndDownload()
T1C5C4DC0 000:923.311   CPU_ReadMem(4 bytes @ 0xE000ED90)
T1C5C4DC0 000:923.881   CPU_ReadMem(4 bytes @ 0xE000ED94)
T1C5C4DC0 000:924.472    -- --------------------------------------
T1C5C4DC0 000:924.528   Flash bank @ 0x00000000: Default: L2 verify disabled because algorithm performs L1 verify
T1C5C4DC0 000:924.551    -- Start of determining dirty areas in flash cache
T1C5C4DC0 000:924.791    -- End of determining dirty areas
T1C5C4DC0 000:924.815    -- Start of preparing flash programming
T1C5C4DC0 000:924.823    -- Calculating RAM usage
T1C5C4DC0 000:924.920    -- RAM usage = 2732 Bytes
T1C5C4DC0 000:924.928    -- Preserving CPU registers
T1C5C4DC0 000:924.958    -- Preparing memory
T1C5C4DC0 000:924.966    -- Preparing target
T1C5C4DC0 000:924.973    -- Downloading RAMCode
T1C5C4DC0 000:958.241    -- Preparing RAMCode
T1C5C4DC0 000:964.890    -- Checking target RAM
T1C5C4DC0 005:972.507   
  ***** Error: 
T1C5C4DC0 005:972.546   Timeout while checking target RAM, RAMCode did not respond in time. (PC = 0x00000000, CPSR = 0x00000000, LR = 0x61000000)!
T1C5C4DC0 005:972.561   
  ***** Error: 
T1C5C4DC0 005:972.574   Failed to prepare for programming.
Failed to execute RAMCode for RAM check!
T1C5C4DC0 005:972.587    -- End of preparing flash programming
T1C5C4DC0 005:973.077 - 5050.060ms returns -1 (0xFFFFFFFF)
T1C5C4DC0 005:989.867 JLINK_ReadMemU32(0xE000ED08, 0x1 Items)
T1C5C4DC0 005:989.913   CPU_ReadMem(4 bytes @ 0xE000ED08)
T1C5C4DC0 005:990.539   Data:  00 00 00 00
T1C5C4DC0 005:990.575 - 0.713ms returns 1 (0x1)
T1C5C4DC0 005:990.588 JLINK_ReadMemU32(0x00000000, 0x1 Items)
T1C5C4DC0 005:990.601   CPU_ReadMem(64 bytes @ 0x00000000)
T1C5C4DC0 005:991.994    -- Updating C cache (64 bytes @ 0x00000000)
T1C5C4DC0 005:992.029    -- Read from C cache (4 bytes @ 0x00000000)
T1C5C4DC0 005:992.043   Data:  00 00 04 20
T1C5C4DC0 005:992.057 - 1.474ms returns 1 (0x1)
T1C5C4DC0 005:992.069 JLINK_ReadMemU32(0x00000004, 0x1 Items)
T1C5C4DC0 005:992.080    -- Read from C cache (4 bytes @ 0x00000004)
T1C5C4DC0 005:992.093   Data:  75 03 00 00
T1C5C4DC0 005:992.106 - 0.042ms returns 1 (0x1)
T1C5C4DC0 005:992.124 JLINK_HSS_Stop()
T1C5C4DC0 005:992.136 - 0.017ms returns 0x00
T1C5C4DC0 005:992.148 JLINK_WriteVectorCatch(0x000007F0)
T1C5C4DC0 005:992.160   CPU_ReadMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 005:992.746   CPU_WriteMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 005:992.773 - 0.638ms returns 0
T1C5C4DC0 005:992.790 JLINK_SetBPEx(Addr = 0x0000073A, Type = 0xFFFFFFF2)
T1C5C4DC0 005:992.807 - 0.020ms returns 0x00000001
T1C5C4DC0 005:992.835 JLINK_WriteU32_64(0xE0000E80, 0x0000000B)
T1C5C4DC0 005:992.851   Debug reg: ITM_TCR
T1C5C4DC0 005:992.862 - 0.030ms returns 0 (0x00000000)
T1C5C4DC0 005:992.868 JLINK_WriteU32_64(0xE0000E00, 0xFFFFFFFF)
T1C5C4DC0 005:992.874   Debug reg: ITM_TER
T1C5C4DC0 005:992.882 - 0.017ms returns 0 (0x00000000)
T1C5C4DC0 005:992.888 JLINK_WriteU32_64(0xE0000E40, 0x00000000)
T1C5C4DC0 005:992.893   Debug reg: ITM_TPR
T1C5C4DC0 005:992.901 - 0.016ms returns 0 (0x00000000)
T1C5C4DC0 005:992.907 JLINK_WriteU32_64(0xE0001000, 0x000001E1)
T1C5C4DC0 005:992.912   Debug reg: DWT_CTRL
T1C5C4DC0 005:992.920 - 0.016ms returns 0 (0x00000000)
T1C5C4DC0 005:992.926 JLINK_WriteU32_64(0xE0001000, 0x000113FF)
T1C5C4DC0 005:992.931   Debug reg: DWT_CTRL
T1C5C4DC0 005:992.939 - 0.016ms returns 0 (0x00000000)
T1C5C4DC0 005:993.197 JLINK_GetEmuCaps()
T1C5C4DC0 005:993.210 - 0.015ms returns 0xB8EA5A33
T1C5C4DC0 005:993.216 JLINK_WriteU32_64(0xE00400F0, 0x00000002)
T1C5C4DC0 005:993.222   Debug reg: TPIU_SPPR
T1C5C4DC0 005:993.233 - 0.020ms returns 0 (0x00000000)
T1C5C4DC0 005:993.239 JLINK_WriteU32_64(0xE0040010, 0x00000007)
T1C5C4DC0 005:993.244   Debug reg: TPIU_ACPR
T1C5C4DC0 005:993.253 - 0.017ms returns 0 (0x00000000)
T1C5C4DC0 005:993.259 JLINK_WriteU32_64(0xE0040304, 0x00000100)
T1C5C4DC0 005:993.265   Debug reg: TPIU_FFCR
T1C5C4DC0 005:993.273 - 0.017ms returns 0 (0x00000000)
T1C5C4DC0 005:993.279 JLINK_ReadMemU32(0xE0000E80, 0x1 Items)
T1C5C4DC0 005:993.286   CPU_WriteMem(4 bytes @ 0xE0000E80)
T1C5C4DC0 005:993.294   CPU_ReadMem(4 bytes @ 0xE0000E80)
T1C5C4DC0 005:994.726   Data:  0B 00 00 00
T1C5C4DC0 005:994.754   Debug reg: ITM_TCR
T1C5C4DC0 005:994.761 - 1.485ms returns 1 (0x1)
T1C5C4DC0 005:994.768 JLINK_ReadMemU32(0xE0000E00, 0x1 Items)
T1C5C4DC0 005:994.776   Data:  FF FF FF FF
T1C5C4DC0 005:994.784   Debug reg: ITM_TER
T1C5C4DC0 005:994.792 - 0.026ms returns 1 (0x1)
T1C5C4DC0 005:994.797 JLINK_SWO_EnableTarget(CPUSpeed = 32000000, SWOSpeed = 4000000, Mode = 0)
T1C5C4DC0 005:994.956   SWO_EnableTarget() start
T1C5C4DC0 005:994.971    J-Link Script File: Executing SWO_EnableTarget()
T1C5C4DC0 005:994.984   CPU_ReadMem(4 bytes @ 0x4000055C)
T1C5C4DC0 005:995.563   CPU_WriteMem(4 bytes @ 0x4000055C)
T1C5C4DC0 005:995.581   CPU_ReadMem(4 bytes @ 0x50000748)
T1C5C4DC0 005:996.541   CPU_WriteMem(4 bytes @ 0x50000748)
T1C5C4DC0 005:996.719   SWO_EnableTarget() end
T1C5C4DC0 005:996.735   Executing J-Link script file function GetSWOBaseClock()
T1C5C4DC0 005:996.853   GetSWOBaseClock() start
T1C5C4DC0 005:996.867    J-Link Script File: Executing GetSWOBaseClock()
T1C5C4DC0 005:996.875   CPU_ReadMem(4 bytes @ 0x4000055C)
T1C5C4DC0 005:998.007   GetSWOBaseClock() end
T1C5C4DC0 005:998.025   JLINK_SWO_Control(JLINKARM_SWO_CMD_GET_SPEED_INFO, ...)
T1C5C4DC0 005:999.436   - 1.422ms returns 0x00
T1C5C4DC0 005:999.452   CPU_ReadMem(4 bytes @ 0xE0000E80)
T1C5C4DC0 006:000.063   JLINK_ReadMemU32(0xE000EDFC, 0x1 Items)
T1C5C4DC0 006:000.102     Data:  F0 07 00 01
T1C5C4DC0 006:000.133     Debug reg: DEMCR
T1C5C4DC0 006:000.140   - 0.080ms returns 1 (0x1)
T1C5C4DC0 006:000.146   JLINK_WriteU32_64(0xE0000FB0, 0xC5ACCE55)
T1C5C4DC0 006:000.152     Debug reg: ITM_LOCKACCESS
T1C5C4DC0 006:000.161     CPU_WriteMem(4 bytes @ 0xE0000FB0)
T1C5C4DC0 006:000.170   - 0.027ms returns 0 (0x00000000)
T1C5C4DC0 006:000.175   JLINK_ReadMemU32(0xE0000E00, 0x1 Items)
T1C5C4DC0 006:000.181     Data:  FF FF FF FF
T1C5C4DC0 006:000.189     Debug reg: ITM_TER
T1C5C4DC0 006:000.197   - 0.024ms returns 1 (0x1)
T1C5C4DC0 006:000.202   JLINK_WriteU32_64(0xE0000E00, 0x00000000)
T1C5C4DC0 006:000.207     Debug reg: ITM_TER
T1C5C4DC0 006:000.215   - 0.016ms returns 0 (0x00000000)
T1C5C4DC0 006:000.221   JLINK_WriteU32_64(0xE0000E80, 0x00000000)
T1C5C4DC0 006:000.226     Debug reg: ITM_TCR
T1C5C4DC0 006:000.247   - 0.029ms returns 0 (0x00000000)
T1C5C4DC0 006:000.254    -- UART
T1C5C4DC0 006:000.262    -- 4000000bps
T1C5C4DC0 006:001.031   JLINK_WriteU32_64(0xE00400F0, 0x00000002)
T1C5C4DC0 006:001.045     Debug reg: TPIU_SPPR
T1C5C4DC0 006:001.056   - 0.028ms returns 0 (0x00000000)
T1C5C4DC0 006:001.062   JLINK_WriteU32_64(0xE0040010, 0x00000003)
T1C5C4DC0 006:001.068     Debug reg: TPIU_ACPR
T1C5C4DC0 006:001.076   - 0.017ms returns 0 (0x00000000)
T1C5C4DC0 006:001.082   JLINK_WriteU32_64(0xE0000E40, 0x00000000)
T1C5C4DC0 006:001.087     Debug reg: ITM_TPR
T1C5C4DC0 006:001.095   - 0.016ms returns 0 (0x00000000)
T1C5C4DC0 006:001.101   CPU_WriteMem(4 bytes @ 0xE0001000)
T1C5C4DC0 006:001.109   CPU_ReadMem(4 bytes @ 0xE0001000)
T1C5C4DC0 006:002.491   CPU_ReadMem(4 bytes @ 0xE0001000)
T1C5C4DC0 006:003.099   JLINK_WriteU32_64(0xE0040304, 0x00000100)
T1C5C4DC0 006:003.120     Debug reg: TPIU_FFCR
T1C5C4DC0 006:003.131   - 0.035ms returns 0 (0x00000000)
T1C5C4DC0 006:003.137   JLINK_WriteU32_64(0xE0000E80, 0x0001000F)
T1C5C4DC0 006:003.142     Debug reg: ITM_TCR
T1C5C4DC0 006:003.150   - 0.016ms returns 0 (0x00000000)
T1C5C4DC0 006:003.156   JLINK_WriteU32_64(0xE0000E00, 0xFFFFFFFF)
T1C5C4DC0 006:003.161     Debug reg: ITM_TER
T1C5C4DC0 006:003.169   - 0.016ms returns 0 (0x00000000)
T1C5C4DC0 006:003.174 - 8.380ms returns 0x00
T1C5C4DC0 006:003.183 JLINK_WriteU32_64(0xE0000E80, 0x0000000B)
T1C5C4DC0 006:003.189   Debug reg: ITM_TCR
T1C5C4DC0 006:003.198 - 0.019ms returns 0 (0x00000000)
T1C5C4DC0 006:003.211 JLINK_SWO_Control(JLINKARM_SWO_CMD_START, ...)
T1C5C4DC0 006:003.437 - 0.232ms returns 0x00
T1C5C4DC0 006:003.464 JLINK_WriteRegs(NumRegs = 20)
T1C5C4DC0 006:003.487    -- R0=0x00, R1=0x00, R2=0x00, R3=0x00, R4=0x00, R5=0x00, R6=0x00, R7=0x00, R8=0x00, R9=0x00, R10=0x00, R11=0x00, R12=0x00, R13 (SP)=0x20040000, R14=0xFFFFFFFF, R15 (PC)=0x374, XPSR=0x1000000, MSP=0x20040000, PSP=0x00, CFBP=0x00
T1C5C4DC0 006:003.505 - 0.043ms returns 0
T1C5C4DC0 006:003.512 JLINK_WriteReg(CycleCnt, 0x00000000)
T1C5C4DC0 006:003.528 - 0.019ms returns 0
T1C5C4DC0 006:003.535 JLINK_GoEx(MaxEmulInsts = -1, Flags = 0x01)
T1C5C4DC0 006:003.553   CPU_WriteMem(4 bytes @ 0xE0002000)
T1C5C4DC0 006:003.575   CPU_ReadMem(4 bytes @ 0xE0001000)
T1C5C4DC0 006:004.520   CPU_WriteMem(4 bytes @ 0xE0000E00)
T1C5C4DC0 006:004.553   CPU_WriteMem(4 bytes @ 0xE0000E40)
T1C5C4DC0 006:004.561   CPU_WriteMem(4 bytes @ 0xE0000E80)
T1C5C4DC0 006:004.569   CPU_WriteMem(4 bytes @ 0xE0002008)
T1C5C4DC0 006:004.576   CPU_WriteMem(4 bytes @ 0xE000200C)
T1C5C4DC0 006:004.584   CPU_WriteMem(4 bytes @ 0xE0002010)
T1C5C4DC0 006:004.592   CPU_WriteMem(4 bytes @ 0xE0002014)
T1C5C4DC0 006:004.599   CPU_WriteMem(4 bytes @ 0xE0002018)
T1C5C4DC0 006:004.607   CPU_WriteMem(4 bytes @ 0xE000201C)
T1C5C4DC0 006:004.615   CPU_WriteMem(4 bytes @ 0xE0040010)
T1C5C4DC0 006:004.622   CPU_WriteMem(4 bytes @ 0xE00400F0)
T1C5C4DC0 006:004.638   CPU_WriteMem(4 bytes @ 0xE0040304)
T1C5C4DC0 006:009.717   CPU_WriteMem(4 bytes @ 0xE0001004)
T1C5C4DC0 006:015.535 - 12.020ms
T1C5C4DC0 006:016.274 JLINK_WriteVectorCatch(0x000007F0)
T1C5C4DC0 006:016.306   CPU is running
T1C5C4DC0 006:016.325   CPU_WriteMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 006:016.333 - 0.062ms returns 0
T1C5C4DC0 006:016.372 JLINK_WriteVectorCatch(0x000007F0)
T1C5C4DC0 006:016.383   CPU is running
T1C5C4DC0 006:016.391   CPU_WriteMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 006:016.399 - 0.030ms returns 0
T1C5C4DC0 006:016.429 JLINK_WriteVectorCatch(0x000007F0)
T1C5C4DC0 006:016.439   CPU is running
T1C5C4DC0 006:016.447   CPU_WriteMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 006:016.455 - 0.029ms returns 0
T1C5C4DC0 006:016.487 JLINK_WriteVectorCatch(0x000007F0)
T1C5C4DC0 006:016.497   CPU is running
T1C5C4DC0 006:016.505   CPU_WriteMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 006:016.513 - 0.028ms returns 0
T1C5C4DC0 006:016.543 JLINK_WriteVectorCatch(0x000007F0)
T1C5C4DC0 006:016.552   CPU is running
T1C5C4DC0 006:016.561   CPU_WriteMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 006:016.582 - 0.042ms returns 0
T1C5C4DC0 006:016.613 JLINK_WriteVectorCatch(0x000007F0)
T1C5C4DC0 006:016.623   CPU is running
T1C5C4DC0 006:016.631   CPU_WriteMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 006:016.639 - 0.028ms returns 0
T1C5C4DC0 006:016.665 JLINK_WriteVectorCatch(0x000007F0)
T1C5C4DC0 006:016.674   CPU is running
T1C5C4DC0 006:016.683   CPU_WriteMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 006:016.690 - 0.028ms returns 0
T1C5C4DC0 006:016.720 JLINK_WriteVectorCatch(0x000007F0)
T1C5C4DC0 006:016.729   CPU is running
T1C5C4DC0 006:016.737   CPU_WriteMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 006:016.745 - 0.027ms returns 0
T1C5C4DC0 006:016.796 JLINK_WriteVectorCatch(0x000007F0)
T1C5C4DC0 006:016.806   CPU is running
T1C5C4DC0 006:016.814   CPU_WriteMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 006:016.822 - 0.029ms returns 0
T1C5C4DC0 006:016.831 JLINK_WriteVectorCatch(0x000007F0)
T1C5C4DC0 006:016.837   CPU is running
T1C5C4DC0 006:016.845   CPU_WriteMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 006:016.852 - 0.024ms returns 0
T1C5C4DC0 006:016.860 JLINK_WriteVectorCatch(0x000007F0)
T1C5C4DC0 006:016.866   CPU is running
T1C5C4DC0 006:016.874   CPU_WriteMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 006:016.881 - 0.024ms returns 0
T1C5C4DC0 006:016.889 JLINK_WriteVectorCatch(0x000007F0)
T1C5C4DC0 006:016.895   CPU is running
T1C5C4DC0 006:016.902   CPU_WriteMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 006:016.910 - 0.023ms returns 0
T1C5C4DC0 006:016.918 JLINK_WriteVectorCatch(0x000007F0)
T1C5C4DC0 006:016.923   CPU is running
T1C5C4DC0 006:016.931   CPU_WriteMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 006:016.939 - 0.023ms returns 0
T1C5C4DC0 006:016.947 JLINK_WriteVectorCatch(0x000007F0)
T1C5C4DC0 006:016.952   CPU is running
T1C5C4DC0 006:016.960   CPU_WriteMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 006:016.968 - 0.023ms returns 0
T1C5C4DC0 006:016.975 JLINK_WriteVectorCatch(0x000007F0)
T1C5C4DC0 006:016.981   CPU is running
T1C5C4DC0 006:016.989   CPU_WriteMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 006:016.996 - 0.024ms returns 0
T1C5C4DC0 006:017.004 JLINK_WriteVectorCatch(0x000007F0)
T1C5C4DC0 006:017.010   CPU is running
T1C5C4DC0 006:017.017   CPU_WriteMem(4 bytes @ 0xE000EDFC)
T1C5C4DC0 006:017.025 - 0.024ms returns 0
T1C5C4DC0 006:176.850 JLINK_IsConnected()
T1C5C4DC0 006:176.900 - 0.053ms returns TRUE
T1C5C4DC0 006:179.723 JLINK_SWO_Control(JLINKARM_SWO_CMD_GET_NUM_BYTES, ...)
T1C5C4DC0 006:179.749 - 0.029ms returns 0x03
T1C5C4DC0 006:179.756 JLINK_SWO_Read(..., Offset = 0x00, NumBytes = 0x03)
T1C5C4DC0 006:179.762   Data:  00 12 FF
T1C5C4DC0 006:179.770 - 0.016ms returns NumBytesRead = 0x03
T1C5C4DC0 006:179.775 JLINK_SWO_Control(JLINKARM_SWO_CMD_FLUSH, ...)
T1C5C4DC0 006:179.780 - 0.008ms returns 0x00
T1C5C4DC0 006:179.788 JLINK_IsHalted()
T1C5C4DC0 006:186.216 - 6.442ms returns TRUE
T1C5C4DC0 006:186.239 JLINK_IsHalted()
T1C5C4DC0 006:186.245 - 0.008ms returns TRUE
T1C5C4DC0 006:186.251 JLINK_ReadRegs(NumRegs = 20, Indexes: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20)
T1C5C4DC0 006:186.263    -- R0=0xEFD, R1=0x20000001, R2=0x08, R3=0x01, R4=0x00, R5=0x00, R6=0x00, R7=0x00, R8=0x00, R9=0x00, R10=0x00, R11=0x00, R12=0x00, R13 (SP)=0x20040000, R14=0x22F, R15 (PC)=0x2C6, XPSR=0x1000000, MSP=0x20040000, PSP=0x00, CFBP=0x00
T1C5C4DC0 006:186.272 - 0.024ms returns 0x00
T1C5C4DC0 006:186.279 JLINK_ReadReg(CycleCnt)
T1C5C4DC0 006:186.287   CPU_ReadMem(4 bytes @ 0xE0001004)
T1C5C4DC0 006:193.693 - 7.441ms returns 0x00000000
T1C5C4DC0 006:193.729 JLINK_ReadMemU32(0xE000ED04, 0x1 Items)
T1C5C4DC0 006:193.744   CPU_ReadMem(4 bytes @ 0xE000ED04)
T1C5C4DC0 006:194.272   Data:  00 00 00 00
T1C5C4DC0 006:194.297 - 0.571ms returns 1 (0x1)
T1C5C4DC0 006:194.307 JLINK_CORE_GetFound()
T1C5C4DC0 006:194.312 - 0.009ms returns 0xE0000FF
T1C5C4DC0 006:194.539 JLINK_WriteU32_64(0xE0000E80, 0x00000000)
T1C5C4DC0 006:194.575   Debug reg: ITM_TCR
T1C5C4DC0 006:194.591 - 0.055ms returns 0 (0x00000000)
T1C5C4DC0 006:194.599 JLINK_SWO_Control(JLINKARM_SWO_CMD_STOP, ...)
T1C5C4DC0 006:195.030 - 0.466ms returns 0x00
T1C5C4DC0 006:195.069 JLINK_SWO_Control(JLINKARM_SWO_CMD_GET_NUM_BYTES, ...)
T1C5C4DC0 006:195.075 - 0.009ms returns 0x00
T1C5C4DC0 006:195.081 JLINK_ReadMemU32(0xE0000E00, 0x1 Items)
T1C5C4DC0 006:195.089   Data:  FF FF FF FF
T1C5C4DC0 006:195.098   Debug reg: ITM_TER
T1C5C4DC0 006:195.105 - 0.027ms returns 1 (0x1)
T1C5C4DC0 006:195.111 JLINK_SWO_DisableTarget()
T1C5C4DC0 006:195.117   JLINK_ReadMemU32(0xE0000E00, 0x1 Items)
T1C5C4DC0 006:195.123     Data:  FF FF FF FF
T1C5C4DC0 006:195.131     Debug reg: ITM_TER
T1C5C4DC0 006:195.138   - 0.024ms returns 1 (0x1)
T1C5C4DC0 006:195.144   JLINK_WriteU32_64(0xE0000E00, 0x00000000)
T1C5C4DC0 006:195.150     Debug reg: ITM_TER
T1C5C4DC0 006:195.158   - 0.017ms returns 0 (0x00000000)
T1C5C4DC0 006:195.164   JLINK_WriteU32_64(0xE0000E80, 0x00000000)
T1C5C4DC0 006:195.170     Debug reg: ITM_TCR
T1C5C4DC0 006:195.178   - 0.016ms returns 0 (0x00000000)
T1C5C4DC0 006:195.183 - 0.075ms returns 0x00
T1C5C4DC0 006:195.199 JLINK_GetMOEs(...)
T1C5C4DC0 006:195.206   CPU_ReadMem(4 bytes @ 0xE000ED30)
T1C5C4DC0 006:195.717   CPU_ReadMem(4 bytes @ 0xE0001028)
T1C5C4DC0 006:196.269 - 1.077ms returns 0x01
T1C5C4DC0 006:196.666 JLINK_ReadMemU16(0x000002C6, 0x1 Items)
T1C5C4DC0 006:196.683   CPU_ReadMem(64 bytes @ 0x000002C0)
T1C5C4DC0 006:197.992    -- Updating C cache (64 bytes @ 0x000002C0)
T1C5C4DC0 006:198.004    -- Read from C cache (2 bytes @ 0x000002C6)
T1C5C4DC0 006:198.023   Data:  01 3A
T1C5C4DC0 006:198.031 - 1.368ms returns 1 (0x1)
T1C5C4DC0 006:199.347 JLINK_ReadMemEx(0x000001C6, 0x200 Bytes, Flags = 0x00000001)
T1C5C4DC0 006:199.366   CPU_ReadMem(256 bytes @ 0x000001C0)
T1C5C4DC0 006:203.168    -- Updating C cache (256 bytes @ 0x000001C0)
T1C5C4DC0 006:203.197   CPU_ReadMem(256 bytes @ 0x00000300)
T1C5C4DC0 006:207.038    -- Updating C cache (256 bytes @ 0x00000300)
T1C5C4DC0 006:207.064    -- Read from C cache (512 bytes @ 0x000001C6)
T1C5C4DC0 006:207.074   Data:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
T1C5C4DC0 006:207.082 - 7.737ms returns 512 (0x200)
T1C5C4DC0 006:231.260 JLINK_ReadMemEx(0x20000004, 0x4 Bytes, Flags = 0x00000000)
T1C5C4DC0 006:231.298   CPU_ReadMem(64 bytes @ 0x20000000)
T1C5C4DC0 006:232.736    -- Updating C cache (64 bytes @ 0x20000000)
T1C5C4DC0 006:232.764    -- Read from C cache (4 bytes @ 0x20000004)
T1C5C4DC0 006:232.773   Data:  00 90 D0 03
T1C5C4DC0 006:232.791 - 1.534ms returns 4 (0x4)
T1C5C4DC0 006:232.886 JLINK_ReadMemEx(0x20000000, 0x4 Bytes, Flags = 0x00000000)
T1C5C4DC0 006:232.900    -- Read from C cache (4 bytes @ 0x20000000)
T1C5C4DC0 006:232.908   Data:  01 BE 01 A8
T1C5C4DC0 006:232.916 - 0.033ms returns 4 (0x4)
T1C5C4DC0 007:169.539 JLINK_IsConnected()
T1C5C4DC0 007:171.462 - 1.929ms returns TRUE
T1C5C4DC0 008:168.686 JLINK_IsConnected()
T1C5C4DC0 008:168.722 - 0.041ms returns TRUE
T1C5C4DC0 009:169.453 JLINK_IsConnected()
T1C5C4DC0 009:169.490 - 0.042ms returns TRUE
T1C5C4DC0 010:168.790 JLINK_IsConnected()
T1C5C4DC0 010:168.826 - 0.042ms returns TRUE
T1C5C4DC0 011:169.777 JLINK_IsConnected()
T1C5C4DC0 011:169.812 - 0.042ms returns TRUE
T1C5C4DC0 012:168.899 JLINK_IsConnected()
T1C5C4DC0 012:168.945 - 0.429ms returns TRUE
T1C5C4DC0 013:169.123 JLINK_IsConnected()
T1C5C4DC0 013:169.187 - 0.071ms returns TRUE
T1C5C4DC0 014:169.727 JLINK_IsConnected()
T1C5C4DC0 014:169.794 - 0.072ms returns TRUE
T1C5C4DC0 015:169.514 JLINK_IsConnected()
T1C5C4DC0 015:169.696 - 0.187ms returns TRUE
T1C5C4DC0 016:169.038 JLINK_IsConnected()
T1C5C4DC0 016:169.086 - 0.053ms returns TRUE
T1C5C4DC0 017:169.089 JLINK_IsConnected()
T1C5C4DC0 017:169.134 - 0.052ms returns TRUE
T1C5C4DC0 018:169.023 JLINK_IsConnected()
T1C5C4DC0 018:169.069 - 0.052ms returns TRUE
T1C5C4DC0 019:168.799 JLINK_IsConnected()
T1C5C4DC0 019:168.838 - 0.044ms returns TRUE
T1C5C4DC0 020:169.005 JLINK_IsConnected()
T1C5C4DC0 020:169.058 - 0.059ms returns TRUE
T1C5C4DC0 021:168.856 JLINK_IsConnected()
T1C5C4DC0 021:168.909 - 0.060ms returns TRUE
T1C5C4DC0 022:168.888 JLINK_IsConnected()
T1C5C4DC0 022:168.953 - 0.068ms returns TRUE
T1C5C4DC0 023:169.033 JLINK_IsConnected()
T1C5C4DC0 023:169.082 - 0.055ms returns TRUE
T1C5C4DC0 024:169.405 JLINK_IsConnected()
T1C5C4DC0 024:169.439 - 0.040ms returns TRUE
T1C5C4DC0 025:169.053 JLINK_IsConnected()
T1C5C4DC0 025:169.096 - 0.048ms returns TRUE
T1C5C4DC0 026:169.438 JLINK_IsConnected()
T1C5C4DC0 026:169.462 - 0.030ms returns TRUE
T1C5C4DC0 027:169.273 JLINK_IsConnected()
T1C5C4DC0 027:169.305 - 0.037ms returns TRUE
T1C5C4DC0 028:169.248 JLINK_IsConnected()
T1C5C4DC0 028:169.289 - 0.046ms returns TRUE
T1C5C4DC0 029:169.036 JLINK_IsConnected()
T1C5C4DC0 029:169.063 - 0.032ms returns TRUE
T1C5C4DC0 030:168.714 JLINK_IsConnected()
T1C5C4DC0 030:168.743 - 0.034ms returns TRUE
T1C5C4DC0 031:169.085 JLINK_IsConnected()
T1C5C4DC0 031:169.126 - 0.057ms returns TRUE
T1C5C4DC0 032:169.284 JLINK_IsConnected()
T1C5C4DC0 032:169.332 - 0.062ms returns TRUE
T1C5C4DC0 033:169.648 JLINK_IsConnected()
T1C5C4DC0 033:169.692 - 0.049ms returns TRUE
T1C5C4DC0 034:169.103 JLINK_IsConnected()
T1C5C4DC0 034:169.136 - 0.038ms returns TRUE
T1C5C4DC0 035:168.918 JLINK_IsConnected()
T1C5C4DC0 035:168.952 - 0.039ms returns TRUE
T1C5C4DC0 036:169.483 JLINK_IsConnected()
T1C5C4DC0 036:169.519 - 0.041ms returns TRUE
T1C5C4DC0 037:169.518 JLINK_IsConnected()
T1C5C4DC0 037:169.561 - 0.049ms returns TRUE
T1C5C4DC0 038:447.976 JLINK_IsConnected()
T1C5C4DC0 038:448.041 - 0.081ms returns TRUE
T1C5C4DC0 039:169.163 JLINK_IsConnected()
T1C5C4DC0 039:169.197 - 0.039ms returns TRUE
T1C5C4DC0 040:169.732 JLINK_IsConnected()
T1C5C4DC0 040:169.791 - 0.065ms returns TRUE
T1C5C4DC0 041:169.157 JLINK_IsConnected()
T1C5C4DC0 041:169.205 - 0.053ms returns TRUE
T1C5C4DC0 042:168.727 JLINK_IsConnected()
T1C5C4DC0 042:168.770 - 0.050ms returns TRUE
T1C5C4DC0 043:168.820 JLINK_IsConnected()
T1C5C4DC0 043:168.872 - 0.057ms returns TRUE
T1C5C4DC0 044:168.819 JLINK_IsConnected()
T1C5C4DC0 044:168.849 - 0.036ms returns TRUE
T1C5C4DC0 045:168.790 JLINK_IsConnected()
T1C5C4DC0 045:168.826 - 0.041ms returns TRUE
T1C5C4DC0 046:168.931 JLINK_IsConnected()
T1C5C4DC0 046:168.972 - 0.050ms returns TRUE
T1C5C4DC0 047:168.922 JLINK_IsConnected()
T1C5C4DC0 047:168.960 - 0.043ms returns TRUE
T1C5C4DC0 048:169.039 JLINK_IsConnected()
T1C5C4DC0 048:169.086 - 0.052ms returns TRUE
T1C5C4DC0 049:169.011 JLINK_IsConnected()
T1C5C4DC0 049:169.040 - 0.034ms returns TRUE
T1108ADC0 000:000.894   SEGGER J-Link V6.72e Log File
T1108ADC0 000:001.591   DLL Compiled: May 20 2020 12:47:06
T1108ADC0 000:001.604   Logging started @ 2020-10-23 10:08
T1108ADC0 000:001.899 JLINK_SetWarnOutHandler(...)
T1108ADC0 000:001.934 - 0.040ms
T1108ADC0 000:002.204 JLINK_OpenEx(...)
T1108ADC0 000:004.939   Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 17 2020 14:43:00
T1108ADC0 000:007.082   Hardware: V1.00
T1108ADC0 000:007.123   S/N: 683014029
T1108ADC0 000:007.138   OEM: SEGGER
T1108ADC0 000:007.153   Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
T1108ADC0 000:009.943   TELNET listener socket opened on port 19021
T1108ADC0 000:010.086   WEBSRV Starting webserver
T1108ADC0 000:010.121   WEBSRV Failed to put socket into listener state (port 19080)
T1108ADC0 000:010.164   WEBSRV Webserver running on local port 19081
T1108ADC0 000:010.191 - 7.993ms returns "O.K."
T1108ADC0 000:010.536 JLINK_GetFirmwareString(...)
T1108ADC0 000:010.566 - 0.036ms
T1108ADC0 000:010.580 JLINK_GetHardwareVersion()
T1108ADC0 000:010.591 - 0.015ms returns 0x2710
T1108ADC0 000:011.069 JLINK_EMU_HasCapEx(0x00000026)
T1108ADC0 000:011.091 - 0.027ms returns 0x00
T1108ADC0 000:011.118 JLINK_EMU_GetProductId()
T1108ADC0 000:011.143 - 0.031ms
T1108ADC0 000:011.154 JLINK_GetHardwareVersion()
T1108ADC0 000:011.164 - 0.014ms returns 0x2710
T1108ADC0 000:011.174 JLINK_GetFirmwareString(...)
T1108ADC0 000:011.183 - 0.015ms
T1108ADC0 000:011.194 JLINK_GetEmuCaps()
T1108ADC0 000:011.204 - 0.015ms returns 0xB8EA5A33
T1108ADC0 000:011.214 JLINK_GetEmuCaps()
T1108ADC0 000:011.224 - 0.015ms returns 0xB8EA5A33
T1108ADC0 000:011.248 JLINK_GetHWStatus(...)
T1108ADC0 000:011.512 - 0.276ms returns 0x00
T1108ADC0 000:011.536 JLINK_EMU_HasCapEx(0x00000044)
T1108ADC0 000:011.547 - 0.016ms returns 0x00
T1108ADC0 002:609.460 JLINK_Api_MRU_GetList()
T1108ADC0 003:916.071   JLINK_DEVICE_GetIndex(sDeviceName = NRF52840_XXAA)
T1108ADC0 003:921.956   XML file found at: /Applications/SEGGER/JLink_V672e/JLinkDevices.xml
T1108ADC0 003:924.897   /Applications/SEGGER/JLink_V672e/JLinkDevices.xml evaluated successfully.
T1108ADC0 003:941.475     returns 2137
T1108ADC0 003:941.516   JLINK_DEVICE_GetInfo(DeviceIndex = 2137)
T1108ADC0 003:941.549     returns 0
T1108ADC0 006:121.062 JLINK_ExecCommand("device=NRF52840_XXAA", ...). 
T1108ADC0 006:121.968   Device "NRF52840_XXAA" selected.
T1108ADC0 006:122.248 - 1.123ms returns 0x00
T1108ADC0 006:122.275 JLINK_EnableLog(...)
T1108ADC0 006:122.286 - 0.025ms
T1108ADC0 006:122.347 JLINK_GetEmuCaps()
T1108ADC0 006:122.368 - 0.026ms returns 0xB8EA5A33
T1108ADC0 006:124.300 JLINK_TIF_GetAvailable(...)
T1108ADC0 006:124.962 - 0.701ms
T1108ADC0 006:125.066 JLINK_TIF_Select(JLINKARM_TIF_SWD)
T1108ADC0 006:126.460 - 1.427ms returns 0x00
T1108ADC0 006:126.707 JLINK_SetSpeed(4000)
T1108ADC0 006:126.870 - 0.175ms
T1108ADC0 006:126.894 JLINK_Connect()
T1108ADC0 006:127.297   InitTarget() start
T1108ADC0 006:127.337    J-Link Script File: Executing InitTarget()
T1108ADC0 006:130.534   InitTarget() end
T1108ADC0 006:131.318   Found SW-DP with ID 0x2BA01477
T1108ADC0 006:133.621   DPIDR: 0x2BA01477
T1108ADC0 006:133.652   Scanning AP map to find all available APs
T1108ADC0 006:135.034   AP[2]: Stopped AP scan as end of AP map has been reached
T1108ADC0 006:135.070   AP[0]: AHB-AP (IDR: 0x24770011)
T1108ADC0 006:135.086   AP[1]: JTAG-AP (IDR: 0x02880000)
T1108ADC0 006:135.102   Iterating through AP map to find AHB-AP to use
T1108ADC0 006:136.279   AP[0]: Core found
T1108ADC0 006:136.311   AP[0]: AHB-AP ROM base: 0xE00FF000
T1108ADC0 006:136.888   CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
T1108ADC0 006:136.933   Found Cortex-M4 r0p1, Little endian.
T1108ADC0 006:238.951   -- Max. mem block: 0x00004030
T1108ADC0 006:239.059   CPU_ReadMem(4 bytes @ 0xE000EDF0)
T1108ADC0 006:241.549   CPU_ReadMem(4 bytes @ 0xE0002000)
T1108ADC0 006:242.127   FPUnit: 6 code (BP) slots and 2 literal slots
T1108ADC0 006:242.145   CPU_ReadMem(4 bytes @ 0xE000EDFC)
T1108ADC0 006:242.717   CPU_ReadMem(4 bytes @ 0xE0001000)
T1108ADC0 006:243.322   CPU_WriteMem(4 bytes @ 0xE0001000)
T1108ADC0 006:243.873   CPU_ReadMem(4 bytes @ 0xE000ED88)
T1108ADC0 006:244.429   CPU_WriteMem(4 bytes @ 0xE000ED88)
T1108ADC0 006:244.978   CPU_ReadMem(4 bytes @ 0xE000ED88)
T1108ADC0 006:245.518   CPU_WriteMem(4 bytes @ 0xE000ED88)
T1108ADC0 006:246.063   CoreSight components:
T1108ADC0 006:246.076   ROMTbl[0] @ E00FF000
T1108ADC0 006:246.084   CPU_ReadMem(64 bytes @ 0xE00FF000)
T1108ADC0 006:247.421   CPU_ReadMem(32 bytes @ 0xE000EFE0)
T1108ADC0 006:248.354   ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7
T1108ADC0 006:248.367   CPU_ReadMem(32 bytes @ 0xE0001FE0)
T1108ADC0 006:249.299   ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT
T1108ADC0 006:249.311   CPU_ReadMem(32 bytes @ 0xE0002FE0)
T1108ADC0 006:250.289   ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB
T1108ADC0 006:250.306   CPU_ReadMem(32 bytes @ 0xE0000FE0)
T1108ADC0 006:251.284   ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM
T1108ADC0 006:251.298   CPU_ReadMem(32 bytes @ 0xE0040FE0)
T1108ADC0 006:252.229   ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU
T1108ADC0 006:252.251   CPU_ReadMem(32 bytes @ 0xE0041FE0)
T1108ADC0 006:253.259   ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM
T1108ADC0 006:253.322 - 126.432ms returns 0x00
T1108ADC0 006:253.357 JLINK_GetIdData(pIdData)
T1108ADC0 006:254.898   pIdData->ScanLen=4
T1108ADC0 006:254.925   
T1108ADC0 006:254.931   pIdData->NumDevices=1
T1108ADC0 006:254.938   
T1108ADC0 006:254.943   pIdData->aId[0]=0x2BA01477
T1108ADC0 006:254.951   
T1108ADC0 006:254.955   pIdData->aIrRead[0]=0
T1108ADC0 006:254.963   
T1108ADC0 006:254.968   pIdData->aScanLen[0]=0
T1108ADC0 006:254.975   
T1108ADC0 006:254.980   pIdData->aScanRead[0]=0
T1108ADC0 006:254.987   
T1108ADC0 006:254.992 - 1.638ms
T1108ADC0 006:255.018 JLINK_GetMemZones(...)
T1108ADC0 006:255.026 - 0.021ms returns 0
T1108ADC0 006:255.047 JLINK_CORE_GetFound()
T1108ADC0 006:255.052 - 0.009ms returns 0xE0000FF
T1108ADC0 009:586.239   JLINK_DEVICE_GetIndex(sDeviceName = <NULL>)
T1108ADC0 009:586.282     returns 2137
T1108ADC0 009:586.298 JLINK_IsHalted()
T1108ADC0 009:593.299 - 7.028ms returns TRUE
T1108ADC0 009:593.353 JLINK_ExecCommand("DisableInfoWinFlashDL", ...). 
T1108ADC0 009:593.418 - 0.060ms returns 0x00
T1108ADC0 009:593.437 JLINK_ExecCommand("DisableInfoWinFlashBPs", ...). 
T1108ADC0 009:593.469 - 0.027ms returns 0x00
T1108ADC0 009:593.502   JLINK_SetFlashProgProgressCallback(...)
T1108ADC0 009:593.510     returned
T1108ADC0 009:593.802 JLINK_EraseChip()
T1108ADC0 009:594.437   CPU_ReadMem(4 bytes @ 0xE000ED90)
T1108ADC0 009:595.113   CPU_ReadMem(4 bytes @ 0xE000ED94)
T1108ADC0 009:595.848    -- --------------------------------------
T1108ADC0 009:595.922    -- Start of determining dirty areas
T1108ADC0 009:596.031    -- End of determining dirty areas
T1108ADC0 009:596.042    -- Start of preparing flash programming
T1108ADC0 009:596.088    -- Calculating RAM usage
T1108ADC0 009:596.134    -- RAM usage = 5804 Bytes
T1108ADC0 009:596.152    -- Preserving CPU registers
T1108ADC0 009:596.217    -- Preparing memory
T1108ADC0 009:596.226    -- Preparing target
T1108ADC0 009:596.234    -- Downloading RAMCode
T1108ADC0 009:628.847    -- Preparing RAMCode
T1108ADC0 009:635.686    -- Checking target RAM
T1108ADC0 014:644.031   
  ***** Error: 
T1108ADC0 014:644.059   Timeout while checking target RAM, RAMCode did not respond in time. (PC = 0x00000000, CPSR = 0x00000000, LR = 0x61000000)!
T1108ADC0 014:644.069   
  ***** Error: 
T1108ADC0 014:644.076   Failed to prepare for programming.
Failed to execute RAMCode for RAM check!
T1108ADC0 014:644.084    -- End of preparing flash programming
T1108ADC0 014:644.432 - 5050.654ms returns -1

Parents
  • Hi,

     

    Could you try recovering using nrfjprog?

    nrfjprog can be downloaded from here:

    https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools/Download#infotabs

     

    Call it with "nrfjprog --recover -f nrf52". If that still fails, you can add a "--log" to generate a log file, which you can attach to this thread.

     

    Kind regards,

    Håkon

  • Thanks, it seems like the recover process ran fine, but I still get the same error when trying to erase the flash. So it didn't help for now.

    nrfjprog --recover --log -f nrf52
    Recovering device. This operation might take 30s.
    Erasing user code and UICR flash areas.

    [2020-Oct-24 13:04:12] [ info] --------------------------------------------------------------------------------
    [2020-Oct-24 13:04:12] [ info] nrfjprog --recover --log -f nrf52 
    [2020-Oct-24 13:04:12] [ info] nrfjprog version 10.10.0 
    [2020-Oct-24 13:04:12] [ info] --------------------------------------------------------------------------------
    [2020-Oct-24 13:04:12] [debug] [ nRF0x0] - open_dll
    [2020-Oct-24 13:04:12] [debug] [ nRF0x0] - Load library at /Applications/Nordic Semiconductor/nrfjprog/libjlinkarm_nrf52_nrfjprogdll.dylib.
    [2020-Oct-24 13:04:12] [debug] [ nRF0x0] - Library loaded, loading member functions.
    [2020-Oct-24 13:04:12] [debug] [ nRF0x0] - Member functions succesfully loaded.
    [2020-Oct-24 13:04:12] [debug] [Backend] - Logger callback at 0x10ac1b790 registered in Segger backend logger.
    [2020-Oct-24 13:04:12] [debug] [  JLink] - [Debug   ] [JLink     ] Logger callback at 0x10ac1b790 registered in JLink logger.
    [2020-Oct-24 13:04:12] [debug] [nRF520x0] - open
    [2020-Oct-24 13:04:12] [debug] [Backend] - open_dll
    [2020-Oct-24 13:04:12] [debug] [Backend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2020-Oct-24 13:04:12] [debug] [Backend] - Load library at /Applications/SEGGER/JLink/libjlinkarm.6.84.1.dylib.
    [2020-Oct-24 13:04:12] [debug] [Backend] - Library loaded, loading member functions.
    [2020-Oct-24 13:04:12] [debug] [Backend] - Member functions succesfully loaded.
    [2020-Oct-24 13:04:12] [debug] [Backend] - dll_version
    [2020-Oct-24 13:04:12] [debug] [Backend] - Segger dll version 6.84.a loaded.
    [2020-Oct-24 13:04:12] [debug] [ nRF0x0] - enum_emu_snr
    [2020-Oct-24 13:04:12] [debug] [nRF520x0] - enum_emu_snr
    [2020-Oct-24 13:04:12] [debug] [Backend] - is_connected_to_emu
    [2020-Oct-24 13:04:12] [debug] [Backend] - enum_emu_snr
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_enum_emu_snr
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_get_num_emus
    [2020-Oct-24 13:04:12] [debug] [Backend] - is_connected_to_emu
    [2020-Oct-24 13:04:12] [debug] [ nRF0x0] - connect_to_emu_with_snr
    [2020-Oct-24 13:04:12] [debug] [nRF520x0] - connect_to_emu_with_snr
    [2020-Oct-24 13:04:12] [debug] [Backend] - is_connected_to_emu
    [2020-Oct-24 13:04:12] [debug] [Backend] - connect_to_emu_with_snr
    [2020-Oct-24 13:04:12] [debug] [Backend] - is_connected_to_emu
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_enum_emu_snr
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_get_num_emus
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_connect_to_emu_with_snr
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_connect_to_emu_without_snr
    [2020-Oct-24 13:04:12] [debug] [Backend] - Segger logging enabled.
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_load_core_data
    [2020-Oct-24 13:04:12] [debug] [Backend] - read_debug_port_idr
    [2020-Oct-24 13:04:12] [debug] [Backend] - read_debug_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - coresight_configure
    [2020-Oct-24 13:04:12] [debug] [ nRF0x0] - recover
    [2020-Oct-24 13:04:12] [debug] [nRF520x0] - recover
    [2020-Oct-24 13:04:12] [debug] [Backend] - is_connected_to_emu
    [2020-Oct-24 13:04:12] [debug] [Backend] - is_connected_to_emu
    [2020-Oct-24 13:04:12] [debug] [nRF520x0] - Just_recover
    [2020-Oct-24 13:04:12] [debug] [nRF520x0] - Just_is_ctrl_ap_available
    [2020-Oct-24 13:04:12] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - write_access_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_write_access_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:12] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - Just_debug_reset
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - Just_is_ctrl_ap_available
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - write_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - write_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - write_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - Just_readback_status
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - Just_is_ctrl_ap_available
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - Protection status read as NONE
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - Just_debug_reset
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - Just_is_ctrl_ap_available
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - write_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - write_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - Just_read_device_version
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - Just_readback_status
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - Just_is_ctrl_ap_available
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - Protection status read as NONE
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - is_connected_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_load_core_data
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_invalidate_cache
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_invalidate_cache
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - Just_decode_device_version
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_invalidate_cache
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_invalidate_cache
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_invalidate_cache
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_invalidate_cache
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - Just_decode_device_version
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_invalidate_cache
    [2020-Oct-24 13:04:13] [debug] [Backend] - halt
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_halt
    [2020-Oct-24 13:04:13] [debug] [Backend] - sys_reset
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_halt
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_sys_reset
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - Just_power_ram_all
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - Just_readback_status
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - Just_is_ctrl_ap_available
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_access_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - Protection status read as NONE
    [2020-Oct-24 13:04:13] [debug] [Backend] - write_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - write_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - write_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - write_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - write_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - write_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - write_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - write_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - write_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_u32
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - Just_clear_resetreas
    [2020-Oct-24 13:04:13] [debug] [Backend] - write_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_connect_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_u32
    [2020-Oct-24 13:04:13] [debug] [ nRF0x0] - close_dll
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - close
    [2020-Oct-24 13:04:13] [debug] [Backend] - is_connected_to_emu
    [2020-Oct-24 13:04:13] [debug] [Backend] - close
    [2020-Oct-24 13:04:13] [debug] [Backend] - disconnect_from_emu
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_disconnect_from_emu
    [2020-Oct-24 13:04:13] [debug] [Backend] - is_connected_to_device
    [2020-Oct-24 13:04:13] [debug] [Backend] - Disable trace before closing connection.
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_u32
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - unpower_debug_and_system_regions
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_is_debug_region_powered
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_read_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - ---just_write_debug_port_register
    [2020-Oct-24 13:04:13] [debug] [Backend] - Segger Backend closed.
    [2020-Oct-24 13:04:13] [debug] [nRF520x0] - nRF family DLL closed
    

  • Hi,

     

    Are you able to flash using nrfjprog directly?

    nrfjprog --program <hex file> --sectorerase -f nrf52

     

    Kind regards,

    Håkon

Reply Children
Related