SEGGER J-Link Commander V7.98a (Compiled Jul 19 2024 15:01:50) DLL version V7.98a, compiled Jul 19 2024 15:01:03 J-Link Command File read successfully. Processing script file... J-Link>r J-Link connection not established yet but required for command. Connecting to J-Link via USB... ****** Error: Error while evaluating J-Link script file: Error while compiling. Line 34, column 1: } ^ Missing return statement at the end of non-void function Failed prepare script file O.K. Firmware: J-Link V9 compiled May 7 2021 16:26:12 Hardware version: V9.40 J-Link uptime (since boot): N/A (Not supported by this model) S/N: 59406426 License(s): RDI, GDB, FlashDL, FlashBP, JFlash VTref=3.333V Target connection not established yet but required for command. Device "E3106_NORFLASH" selected. Connecting to target via SWD Found SW-DP with ID 0x2BA01477 DPIDR: 0x2BA01477 CoreSight SoC-400 or earlier Scanning AP map to find all available APs AP[1]: Stopped AP scan as end of AP map has been reached AP[0]: APB-AP (IDR: 0x24770002) Iterating through AP map to find APB-AP to use AP[0]: APB-AP found ROMTbl[0][0]: CompAddr: F0A01000 CID: B105900D, PID: 004BBC15 Cortex-R5 Found Cortex-R5 r1p3 4 code breakpoints, 3 data breakpoints Debug architecture ARMv7.0 Data endian: little Main ID register: 0x411FC153 I-Cache L1: 32 KB, 256 Sets, 32 Bytes/Line, 4-Way D-Cache L1: 32 KB, 256 Sets, 32 Bytes/Line, 4-Way TCM Type register: 0x00010001 MPU Type register: 0x00001000 System control register: Instruction endian: little Level-1 instruction cache disabled Level-1 data cache disabled MPU disabled Branch prediction enabled ****** Error: Error while evaluating J-Link script file: Error while compiling. Line 34, column 1: } ^ Missing return statement at the end of non-void function Failed prepare script file Memory zones: Zone: "Default" Description: Default access mode Zone: "APB-AP (AP0)" Description: DMA like acc. in AP0 addr. space Cortex-R5 identified. Reset delay: 0 ms Reset type NORMAL: Reset CPU + peripherals via reset pin. CPU halted immediately after reset. CPU not halted after Reset, halting using Halt request J-Link>h PC: (R15) = 0003D080, CPSR = 00000197 (ABORT mode, ARM IRQ dis.) Current: R0 =10000000, R1 =1143540C, R2 =00000003, R3 =0000036D R4 =5AA5F00F, R5 =A55A0FF0, R6 =5AA5F00F, R7 =0190FF70 R8 =5AA5F00F, R9 =007C003C, R10=00000000, R11=0190FF6C, R12=00000000 R13=01910000, R14=00040104, SPSR=00000000 USR: R8 =5AA5F00F, R9 =007C003C, R10=00000000, R11=0190FF6C, R12=00000000 R13=003FB8E8, R14=003FB8E9 FIQ: R8 =00000000, R9 =00000000, R10=00000000, R11=00000000, R12=00000000 R13=01910000, R14=00000000, SPSR=000001D3 IRQ: R13=01910000, R14=00000000, SPSR=000001D3 SVC: R13=0190FF58, R14=0190703C, SPSR=000001D3 ABT: R13=01910000, R14=00040104, SPSR=00000197 UND: R13=01910000, R14=00000000, SPSR=000001D3 J-Link>WCP15Ex 0 1 0 0 0x08E7087A CP15[0, 1, 0, 0] = 0x08E7087A J-Link>WCP15Ex 0 1 0 1 0x00000020 CP15[0, 1, 0, 1] = 0x00000020 J-Link>WCP15Ex 0 9 1 1 0x3E0001 CP15[0, 9, 1, 1] = 0x003E0001 J-Link>WCP15Ex 0 9 1 0 0x3F0001 CP15[0, 9, 1, 0] = 0x003F0001 J-Link>q Script processing completed. Application log started - J-Flash V7.98a (J-Flash compiled Jul 19 2024 15:01:26) - JLinkARM.dll V7.98a (DLL compiled Jul 19 2024 15:01:03) Optional command line parameters found - [1]: -openprjD:\e3_176_ref_E3106_mcu_demo_E3_SSDK_PTG3.0_2024.07.20 21.35.43\e3_176_ref\devices\script\JFLASH\SemiDrive.jflash - [2]: -openD:\e3_176_ref_E3106_mcu_demo_E3_SSDK_PTG3.0_2024.07.20 21.35.43\e3_176_ref\devices\script\JFLASH\E3106_NORFLASH\sfs.bin,0x10000000 - [3]: -jflashlogjflashlog_tmp.txt - [4]: -jlinklogjlinklog_tmp.txt - [5]: -mergeD:\e3_176_ref_E3106_mcu_demo_E3_SSDK_PTG3.0_2024.07.20 21.35.43\e3_176_ref\devices\script\JFLASH\E3106_NORFLASH\rfd.bin,0x100000F0 - [6]: -auto - [7]: -exit Reading flash device list [C:\Program Files\SEGGER\JLink_V798a\ETC/JFlash/Flash.csv] ... - List of flash devices read successfully (451 Devices) Reading MCU device list ... - List of MCU devices read successfully (11299 Devices) Opening project file [D:\e3_176_ref_E3106_mcu_demo_E3_SSDK_PTG3.0_2024.07.20 21.35.43\e3_176_ref\devices\script\JFLASH\SemiDrive.jflash] ... - Project opened successfully Opening data file [D:\e3_176_ref_E3106_mcu_demo_E3_SSDK_PTG3.0_2024.07.20 21.35.43\e3_176_ref\devices\script\JFLASH\E3106_NORFLASH\sfs.bin] ... - Data file opened successfully (128 bytes, 1 range, CRC of data = 0x061E246F, CRC of file = 0x061E246F) Merging data file [D:\e3_176_ref_E3106_mcu_demo_E3_SSDK_PTG3.0_2024.07.20 21.35.43\e3_176_ref\devices\script\JFLASH\E3106_NORFLASH\rfd.bin] ... - Data files merged successfully (400 bytes, 2 ranges, CRC = 0xC5069972) Auto programming target (400 bytes, 2 ranges) ... - Connecting ... - ERROR: Timeout while reading DCC data - ERROR: Failed to connect. Could not determine CPU clock frequency. - ERROR: Connect failed - ERROR: Could not auto program target, not connected J-Flash V7.98a Error: Timeout while reading DCC data Failed to connect. Could not determine CPU clock frequency. Connect failed Could not auto program target, not connected Close project - Project closed Application log started - J-Flash V7.98a (J-Flash compiled Jul 19 2024 15:01:26) - JLinkARM.dll V7.98a (DLL compiled Jul 19 2024 15:01:03) Optional command line parameters found - [1]: -openprjD:\e3_176_ref_E3106_mcu_demo_E3_SSDK_PTG3.0_2024.07.20 21.35.43\e3_176_ref\devices\script\JFLASH\SemiDrive.jflash - [2]: -openD:\e3_176_ref_E3106_mcu_demo_E3_SSDK_PTG3.0_2024.07.20 21.35.43\e3_176_ref\devices\script\JFLASH\E3106_NORFLASH\boot0.bin,0x10010000 - [3]: -jflashlogjflashlog_tmp.txt - [4]: -jlinklogjlinklog_tmp.txt - [5]: -auto - [6]: -exit Reading flash device list [C:\Program Files\SEGGER\JLink_V798a\ETC/JFlash/Flash.csv] ... - List of flash devices read successfully (451 Devices) Reading MCU device list ... - List of MCU devices read successfully (11299 Devices) Opening project file [D:\e3_176_ref_E3106_mcu_demo_E3_SSDK_PTG3.0_2024.07.20 21.35.43\e3_176_ref\devices\script\JFLASH\SemiDrive.jflash] ... - Project opened successfully Opening data file [D:\e3_176_ref_E3106_mcu_demo_E3_SSDK_PTG3.0_2024.07.20 21.35.43\e3_176_ref\devices\script\JFLASH\E3106_NORFLASH\boot0.bin] ... - Data file opened successfully (148800 bytes, 1 range, CRC of data = 0x8E3EAC0F, CRC of file = 0x8E3EAC0F) Auto programming target (148800 bytes, 1 range) ... - Connecting ... - ERROR: Timeout while reading DCC data - ERROR: Failed to connect. Could not determine CPU clock frequency. - ERROR: Connect failed - ERROR: Could not auto program target, not connected J-Flash V7.98a Error: Timeout while reading DCC data Failed to connect. Could not determine CPU clock frequency. Connect failed Could not auto program target, not connected Close project - Project closed