SEGGER J-Link Commander V7.56d (Compiled Oct 29 2021 14:02:52) DLL version V7.56d, compiled Oct 29 2021 14:01:36 J-Link Command File read successfully. Processing script file... J-Link connection not established yet but required for command. Connecting to J-Link via USB...O.K. Firmware: J-Link V11 compiled Apr 27 2041 16:36:21 Hardware version: V11.00 S/N: 941000024 License(s): GDB, JFlash, FlashDL, RDI, FlashBP VTref=3.341V Target connection not established yet but required for command. Device "E3640_HYPERFLASH" selected. Connecting to target via SWD ConfigTargetSettings() start ----------JLinkScript ConfigTargetSettings---------- ConfigTargetSettings() end Found SW-DP with ID 0x2BA01477 DPIDR: 0x2BA01477 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 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 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. Cortex-A/R (reset): Re-initializing debug logic. CPU not halted after Reset, halting using Halt request PC: (R15) = 0190603C, CPSR = 800001D3 (SVC mode, ARM FIQ dis. IRQ dis.) Current: R0 =F07E0000, R1 =F07E0000, R2 =F07E0008, R3 =00000433 R4 =5AA5F00F, R5 =A55A0FF0, R6 =5AA5F00F, R7 =0190FF70 R8 =5AA5F00F, R9 =A55A0FF0, R10=00000000, R11=0190FF6C, R12=00000000 R13=0190FF58, R14=01906020, SPSR=00007FF7 USR: R8 =5AA5F00F, R9 =A55A0FF0, R10=00000000, R11=0190FF6C, R12=00000000 R13=01910000, R14=00000000 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=01906020, SPSR=000001D3 ABT: R13=01910000, R14=00000000, SPSR=000001D3 UND: R13=01910000, R14=00000000, SPSR=000001D3 CP15[0, 1, 0, 0] = 0x08E7087A CP15[0, 1, 0, 1] = 0x00000020 CP15[0, 9, 1, 1] = 0x003E0001 CP15[0, 9, 1, 0] = 0x003F0001 Script processing completed. Application log started - J-Flash V7.56d (J-Flash compiled Oct 29 2021 14:02:00) - JLinkARM.dll V7.56d (DLL compiled Oct 29 2021 14:01:36) Optional command line parameters found - [1]: -openprjE:\WSL\git_repo\E3_bkp\devices\script\JFLASH\SemiDrive.jflash - [2]: -openE:\WSL\git_repo\E3_bkp\devices\script\JFLASH\E3640_hyperflash\sfs.bin,0x10000000 - [3]: -jflashlogjflashlog_tmp.txt - [4]: -jlinklogjlinklog_tmp.txt - [5]: -mergeE:\WSL\git_repo\E3_bkp\devices\script\JFLASH\E3640_hyperflash\rfd.bin,0x100000F0 - [6]: -auto - [7]: -exit Reading flash device list [D:\Program Files\SEGGER\JLink\ETC/JFlash/Flash.csv] ... - List of flash devices read successfully (451 Devices) Reading MCU device list ... - List of MCU devices read successfully (8738 Devices) Opening project file [E:\WSL\git_repo\E3_bkp\devices\script\JFLASH\SemiDrive.jflash] ... - Project opened successfully Opening data file [E:\WSL\git_repo\E3_bkp\devices\script\JFLASH\E3640_hyperflash\sfs.bin] ... - Data file opened successfully (128 bytes, 1 range, CRC of data = 0xB2A24A8D, CRC of file = 0xB2A24A8D) Merging data file [E:\WSL\git_repo\E3_bkp\devices\script\JFLASH\E3640_hyperflash\rfd.bin] ... - Data files merged successfully (400 bytes, 2 ranges, CRC = 0x8A93FFAF) Auto programming target (400 bytes, 2 ranges) ... - Connecting ... - Connecting via USB to probe/ programmer device 0 - Probe/ Programmer firmware: J-Link V11 compiled Apr 27 2041 16:36:21 - Device "E3640_HYPERFLASH" selected. - Target interface speed: 4000 kHz (Fixed) - VTarget = 3.341V - Found SW-DP with ID 0x2BA01477 - DPIDR: 0x2BA01477 - 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: F2081000 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 - Executing init sequence ... - Initialized successfully - Target interface speed: 4000 kHz (Fixed) - Found 1 JTAG device. Core ID: 0x2BA01477 (None) - Connected successfully - Checking if selected data fits into selected flash sectors. - Start of determining flash info (Bank 0 @ 0x10000000) - End of determining flash info - Flash bank info: - 256 * 256 KB @ 0x10000000 - Start of preparing flash programming - End of preparing flash programming - Start of determining dirty areas in flash cache - End of determining dirty areas - CPU speed could not be measured. - Start of erasing sectors - Erasing range 0x10000000 - 0x1003FFFF ( 1 Sector, 256 KB) - End of erasing sectors - Start of flash programming - Programming range 0x10000000 - 0x1003FFFF ( 1 Sector, 256 KB) - End of flash programming - Flash programming performed for 1 range (262144 bytes) - 0x10000000 - 0x1003FFFF ( 1 Sector, 256 KB) - Start of verifying flash - ERROR: Failed to read memory (0x10000 bytes @ address 0x10000000) - ERROR: Verification failed @ address 0x00000000 (CRC: 0x00000000, Expected: 0xFFFFFFFF) - End of verifying flash - ERROR: Verify failed - Start of restoring - End of restoring - ERROR: Failed to auto program target J-Flash V7.56d Error: Failed to read memory (0x10000 bytes @ address 0x10000000) Verification failed @ address 0x00000000 (CRC: 0x00000000, Expected: 0xFFFFFFFF) Verify failed Failed to auto program target Disconnecting ... - Disconnected Close project - Project closed Application log started - J-Flash V7.56d (J-Flash compiled Oct 29 2021 14:02:00) - JLinkARM.dll V7.56d (DLL compiled Oct 29 2021 14:01:36) Optional command line parameters found - [1]: -openprjE:\WSL\git_repo\E3_bkp\devices\script\JFLASH\SemiDrive.jflash - [2]: -openE:\WSL\git_repo\E3_bkp\devices\script\JFLASH\E3640_hyperflash\boot0.bin,0x100C0000 - [3]: -jflashlogjflashlog_tmp.txt - [4]: -jlinklogjlinklog_tmp.txt - [5]: -auto - [6]: -exit Reading flash device list [D:\Program Files\SEGGER\JLink\ETC/JFlash/Flash.csv] ... - List of flash devices read successfully (451 Devices) Reading MCU device list ... - List of MCU devices read successfully (8738 Devices) Opening project file [E:\WSL\git_repo\E3_bkp\devices\script\JFLASH\SemiDrive.jflash] ... - Project opened successfully Opening data file [E:\WSL\git_repo\E3_bkp\devices\script\JFLASH\E3640_hyperflash\boot0.bin] ... - Data file opened successfully (61440 bytes, 1 range, CRC of data = 0xDD3D7BDD, CRC of file = 0xDD3D7BDD) Auto programming target (61440 bytes, 1 range) ... - Connecting ... - Connecting via USB to probe/ programmer device 0 - Probe/ Programmer firmware: J-Link V11 compiled Apr 27 2041 16:36:21 - Device "E3640_HYPERFLASH" selected. - Target interface speed: 4000 kHz (Fixed) - VTarget = 3.341V - Found SW-DP with ID 0x2BA01477 - DPIDR: 0x2BA01477 - 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: F2081000 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 - Executing init sequence ... - Initialized successfully - Target interface speed: 4000 kHz (Fixed) - Found 1 JTAG device. Core ID: 0x2BA01477 (None) - Connected successfully - Checking if selected data fits into selected flash sectors. - Start of determining flash info (Bank 0 @ 0x10000000) - End of determining flash info - Flash bank info: - 256 * 256 KB @ 0x10000000 - Start of preparing flash programming - End of preparing flash programming - Start of determining dirty areas in flash cache - End of determining dirty areas - CPU speed could not be measured. - Start of erasing sectors - Erasing range 0x100C0000 - 0x100FFFFF ( 1 Sector, 256 KB) - ERROR: Failed to erase sectors. - End of erasing sectors - ERROR: Erase failed - Start of restoring - End of restoring - ERROR: Failed to auto program target J-Flash V7.56d Error: Failed to erase sectors. Erase failed Failed to auto program target Disconnecting ... - Disconnected Close project - Project closed Application log started - J-Flash V7.56d (J-Flash compiled Oct 29 2021 14:02:00) - JLinkARM.dll V7.56d (DLL compiled Oct 29 2021 14:01:36) Optional command line parameters found - [1]: -openprjE:\WSL\git_repo\E3_bkp\devices\script\JFLASH\SemiDrive.jflash - [2]: -openE:\WSL\git_repo\E3_bkp\devices\script\JFLASH\E3640_hyperflash\boot1.bin,0x104C0000 - [3]: -jflashlogjflashlog_tmp.txt - [4]: -jlinklogjlinklog_tmp.txt - [5]: -auto - [6]: -exit Reading flash device list [D:\Program Files\SEGGER\JLink\ETC/JFlash/Flash.csv] ... - List of flash devices read successfully (451 Devices) Reading MCU device list ... - List of MCU devices read successfully (8738 Devices) Opening project file [E:\WSL\git_repo\E3_bkp\devices\script\JFLASH\SemiDrive.jflash] ... - Project opened successfully Opening data file [E:\WSL\git_repo\E3_bkp\devices\script\JFLASH\E3640_hyperflash\boot1.bin] ... - Data file opened successfully (61440 bytes, 1 range, CRC of data = 0xDD3D7BDD, CRC of file = 0xDD3D7BDD) Auto programming target (61440 bytes, 1 range) ... - Connecting ... - Connecting via USB to probe/ programmer device 0 - Probe/ Programmer firmware: J-Link V11 compiled Apr 27 2041 16:36:21 - Device "E3640_HYPERFLASH" selected. - Target interface speed: 4000 kHz (Fixed) - VTarget = 3.341V - Found SW-DP with ID 0x2BA01477 - DPIDR: 0x2BA01477 - 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: F2081000 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 - Executing init sequence ... - Initialized successfully - Target interface speed: 4000 kHz (Fixed) - Found 1 JTAG device. Core ID: 0x2BA01477 (None) - Connected successfully - Checking if selected data fits into selected flash sectors. - Start of determining flash info (Bank 0 @ 0x10000000) - End of determining flash info - Flash bank info: - 256 * 256 KB @ 0x10000000 - Start of preparing flash programming - End of preparing flash programming - Start of determining dirty areas in flash cache - End of determining dirty areas - CPU speed could not be measured. - Start of erasing sectors - Erasing range 0x104C0000 - 0x104FFFFF ( 1 Sector, 256 KB) - ERROR: Failed to erase sectors. - End of erasing sectors - ERROR: Erase failed - Start of restoring - End of restoring - ERROR: Failed to auto program target J-Flash V7.56d Error: Failed to erase sectors. Erase failed Failed to auto program target Disconnecting ... - Disconnected Close project - Project closed Application log started - J-Flash V7.56d (J-Flash compiled Oct 29 2021 14:02:00) - JLinkARM.dll V7.56d (DLL compiled Oct 29 2021 14:01:36) Optional command line parameters found - [1]: -openprjE:\WSL\git_repo\E3_bkp\devices\script\JFLASH\SemiDrive.jflash - [2]: -openE:\WSL\git_repo\E3_bkp\devices\script\JFLASH\E3640_hyperflash\boot2.bin,0x108C0000 - [3]: -jflashlogjflashlog_tmp.txt - [4]: -jlinklogjlinklog_tmp.txt - [5]: -auto - [6]: -exit Reading flash device list [D:\Program Files\SEGGER\JLink\ETC/JFlash/Flash.csv] ... - List of flash devices read successfully (451 Devices) Reading MCU device list ... - List of MCU devices read successfully (8738 Devices) Opening project file [E:\WSL\git_repo\E3_bkp\devices\script\JFLASH\SemiDrive.jflash] ... - Project opened successfully Opening data file [E:\WSL\git_repo\E3_bkp\devices\script\JFLASH\E3640_hyperflash\boot2.bin] ... - Data file opened successfully (61440 bytes, 1 range, CRC of data = 0xDD3D7BDD, CRC of file = 0xDD3D7BDD) Auto programming target (61440 bytes, 1 range) ... - Connecting ... - Connecting via USB to probe/ programmer device 0 - Probe/ Programmer firmware: J-Link V11 compiled Apr 27 2041 16:36:21 - Device "E3640_HYPERFLASH" selected. - Target interface speed: 4000 kHz (Fixed) - VTarget = 3.341V - Found SW-DP with ID 0x2BA01477 - DPIDR: 0x2BA01477 - 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: F2081000 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 - Executing init sequence ... - Initialized successfully - Target interface speed: 4000 kHz (Fixed) - Found 1 JTAG device. Core ID: 0x2BA01477 (None) - Connected successfully - Checking if selected data fits into selected flash sectors. - Start of determining flash info (Bank 0 @ 0x10000000) - End of determining flash info - Flash bank info: - 256 * 256 KB @ 0x10000000 - Start of preparing flash programming - End of preparing flash programming - Start of determining dirty areas in flash cache - End of determining dirty areas - CPU speed could not be measured. - Start of erasing sectors - Erasing range 0x108C0000 - 0x108FFFFF ( 1 Sector, 256 KB) - ERROR: Failed to erase sectors. - End of erasing sectors - ERROR: Erase failed - Start of restoring - End of restoring - ERROR: Failed to auto program target J-Flash V7.56d Error: Failed to erase sectors. Erase failed Failed to auto program target Disconnecting ... - Disconnected Close project - Project closed Application log started - J-Flash V7.56d (J-Flash compiled Oct 29 2021 14:02:00) - JLinkARM.dll V7.56d (DLL compiled Oct 29 2021 14:01:36) Optional command line parameters found - [1]: -openprjE:\WSL\git_repo\E3_bkp\devices\script\JFLASH\SemiDrive.jflash - [2]: -openE:\WSL\git_repo\E3_bkp\devices\script\JFLASH\E3640_hyperflash\0x140000.bin,0x10140000 - [3]: -jflashlogjflashlog_tmp.txt - [4]: -jlinklogjlinklog_tmp.txt - [5]: -auto - [6]: -exit Reading flash device list [D:\Program Files\SEGGER\JLink\ETC/JFlash/Flash.csv] ... - List of flash devices read successfully (451 Devices) Reading MCU device list ... - List of MCU devices read successfully (8738 Devices) Opening project file [E:\WSL\git_repo\E3_bkp\devices\script\JFLASH\SemiDrive.jflash] ... - Project opened successfully Opening data file [E:\WSL\git_repo\E3_bkp\devices\script\JFLASH\E3640_hyperflash\0x140000.bin] ... - Data file opened successfully (51639 bytes, 1 range, CRC of data = 0x23350F44, CRC of file = 0x23350F44) Auto programming target (51639 bytes, 1 range) ... - Connecting ... - Connecting via USB to probe/ programmer device 0 - Probe/ Programmer firmware: J-Link V11 compiled Apr 27 2041 16:36:21 - Device "E3640_HYPERFLASH" selected. - Target interface speed: 4000 kHz (Fixed) - VTarget = 3.341V - Found SW-DP with ID 0x2BA01477 - DPIDR: 0x2BA01477 - 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: F2081000 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 - Executing init sequence ... - Initialized successfully - Target interface speed: 4000 kHz (Fixed) - Found 1 JTAG device. Core ID: 0x2BA01477 (None) - Connected successfully - Checking if selected data fits into selected flash sectors. - Start of determining flash info (Bank 0 @ 0x10000000) - End of determining flash info - Flash bank info: - 256 * 256 KB @ 0x10000000 - Start of preparing flash programming - End of preparing flash programming - Start of determining dirty areas in flash cache - End of determining dirty areas - CPU speed could not be measured. - Start of erasing sectors - End of erasing sectors - Start of flash programming - End of flash programming - 0x10140000 - 0x1017FFFF ( 1 Sector, 256 KB) - Start of verifying flash - End of verifying flash - Start of restoring - End of restoring - ERROR: Programming canceled by user J-Flash V7.56d Error: Programming canceled by user Disconnecting ... - Disconnected Close project - Project closed