​Connecting ... - Connecting via USB to probe/ programmer device 0 - Probe/ Programmer firmware: J-Link Pro V4 compiled Sep 22 2022 15:00:37 - Probe/ Programmer S/N: 174506296 - Device "MB9DF126" selected. - Target interface speed: 4000 kHz (Fixed) - VTarget = 5.000V - InitTarget() start - --- FSEU script --- MCU reset - --- FSEU script --- OK: Debug port powered up - TotalIRLen = 4, IRPrint = 0x01 - JTAG chain detection found 1 devices: - #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP - --- FSEU script --- OK: ARM JTAG-DP detected (JTAG IDCODE: 0x4ba00477) - --- FSEU script --- OK: SCCFG_STAT2_DBGRDY is set, whole MCU can now be accessed (if unsecured)) - --- FSEU script --- OK: SCCFG_STAT2 = 0x00000104 - --- FSEU script --- OK: MCU is unsecured - --- FSEU script --- OK: Core is halted now - --- FSEU script --- OK: Watchdog configured - --- FSEU script --- OK: System RAM wait cycles changed - InitTarget() end - Took 327ms - TotalIRLen = 4, IRPrint = 0x01 - JTAG chain detection found 1 devices: - #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP - DPv0 detected - Scanning AP map to find all available APs - AP[3]: Stopped AP scan as end of AP map has been reached - AP[0]: AHB-AP (IDR: 0x44770001) - AP[1]: APB-AP (IDR: 0x24770002) - AP[2]: JTAG-AP (IDR: 0x14760010) - Iterating through AP map to find APB-AP to use - AP[0]: Skipped. Not an APB-AP - AP[1]: APB-AP found - ROMTbl[0][0]: CompAddr: 80001000 CID: B105900D, PID: 107BBC14 Cortex-R4 - Found Cortex-R4 r1p3 - 8 code breakpoints, 8 data breakpoints - Debug architecture ARMv7.0 - Data endian: little - Main ID register: 0x411FC143 - I-Cache L1: 8 KB, 64 Sets, 32 Bytes/Line, 4-Way - D-Cache L1: 8 KB, 64 Sets, 32 Bytes/Line, 4-Way - TCM Type register: 0x00010001 - MPU Type register: 0x00000C00 - System control register: - Instruction endian: little - Level-1 instruction cache disabled - Level-1 data cache disabled - MPU disabled - Branch prediction enabled - ResetTarget() start - --- FSEU script --- MCU reset - --- FSEU script --- OK: ARM JTAG-DP detected (JTAG IDCODE: 0x4ba00477) - --- FSEU script --- OK: SCCFG_STAT2_DBGRDY is set, whole MCU can now be accessed (if unsecured)) - --- FSEU script --- OK: SCCFG_STAT2 = 0x00000104 - --- FSEU script --- OK: MCU is unsecured - --- FSEU script --- OK: Core is halted now - --- FSEU script --- OK: Watchdog configured - --- FSEU script --- OK: System RAM wait cycles changed - ResetTarget() end - Took 320ms - Executing init sequence ... - Initialized successfully - Target interface speed: 4000 kHz (Fixed) - Found 1 JTAG device. Core ID: 0x4BA00477 (None) - Connected successfully Disconnecting ... - Disconnected Erasing selected sectors ... - Connecting ... - Connected successfully - 3 of 16 sectors selected, 1 range, 0x1000000 - 0x10BFFFF - 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 - Blank checking 0x01000000 - 0x0101FFFF - Blank checking 0x01020000 - 0x0103FFFF - Blank checking 0x01040000 - 0x0105FFFF - Blank checking 0x01060000 - 0x0107FFFF - Blank checking 0x01080000 - 0x0109FFFF - ERROR: Cannot read register 33 (R14_IRQ) while CPU is running - ERROR: Cannot read register 32 (R13_IRQ) while CPU is running - ERROR: Cannot read register 28 (SPSR_ABT) while CPU is running - ERROR: Cannot read register 30 (R14_ABT) while CPU is running - ERROR: Cannot read register 29 (R13_ABT) while CPU is running - ERROR: Cannot read register 25 (SPSR_SVC) while CPU is running - ERROR: Cannot read register 27 (R14_SVC) while CPU is running - ERROR: Cannot read register 26 (R13_SVC) while CPU is running - ERROR: Cannot read register 17 (SPSR_FIQ) while CPU is running - ERROR: Cannot read register 24 (R14_FIQ) while CPU is running - ERROR: Cannot read register 23 (R13_FIQ) while CPU is running - ERROR: Cannot read register 22 (R12_FIQ) while CPU is running - ERROR: Cannot read register 21 (R11_FIQ) while CPU is running - ERROR: Cannot read register 20 (R10_FIQ) while CPU is running - ERROR: Cannot read register 19 (R9_FIQ) while CPU is running - ERROR: Cannot read register 18 (R8_FIQ) while CPU is running - ERROR: Cannot read register 16 (R14_USR) while CPU is running - ERROR: Cannot read register 15 (R13_USR) while CPU is running - ERROR: Cannot read register 14 (R12_USR) while CPU is running - ERROR: Cannot read register 13 (R11_USR) while CPU is running - ERROR: Cannot read register 12 (R10_USR) while CPU is running - ERROR: Cannot read register 11 (R9_USR) while CPU is running - ERROR: Cannot read register 10 (R8_USR) while CPU is running - ERROR: Cannot read register 7 (R7) while CPU is running - ERROR: Cannot read register 6 (R6) while CPU is running - ERROR: Cannot read register 5 (R5) while CPU is running - ERROR: Cannot read register 4 (R4) while CPU is running - ERROR: Cannot read register 3 (R3) while CPU is running - ERROR: Cannot read register 2 (R2) while CPU is running - ERROR: Cannot read register 1 (R1) while CPU is running - ERROR: Cannot read register 0 (R0) while CPU is running - ERROR: Cannot read register 9 (R15 (PC)) while CPU is running - ERROR: PC of target system has unexpected value after blank checking. (PC = 0x01A00008, CPSR = 0x0000007F)! ---------------------------------------------------------------------- Registers ------------------------------------------------------------------------------------- PC = 00000000 CPSR = 0000007F (System mode, THUMB, FIQ dis.) ​ Current: R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000 R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000 USR: R8 = 00000000, R9 = 00000000, R10 = 00000000, R11 = 00000000, R12 = 00000000 R13 = 00000000, R14 = 00000000 FIQ: R8 = 00000000, R9 = 00000000, R10 = 00000000, R11 = 00000000, R12 = 00000000 R13 = 00000000, R14 = 00000000, SPSR = 00000000 SVC: R13 = 00000000, R14 = 00000000, SPSR = 00000000 ABT: R13 = 00000000, R14 = 00000000, SPSR = 00000000 IRQ: R13 = 00000000, R14 = 00000000, SPSR = 2000DF0A UND: R13 = 2000DF0A, R14 = 2000DF0A, SPSR = 2000DF0A ---------------------------------------- - ERROR: Failed to blank checking. Failed to execute RAMCode for blank check! - ERROR: Error while blank checking. - Erasing range 0x01080000 - 0x010BFFFF ( 1 Sector, 256 KB) - Memory access: CPU temp. halted: https://wiki.segger.com/Memory_accesses#Stop_mode - End of erasing sectors - ERROR: Erase failed - Start of restoring - ERROR: Cannot read register 8 (CPSR) while CPU is running - ERROR: CPU is not halted - ERROR: Cannot read register 9 (R15 (PC)) while CPU is running - ERROR: Cannot read register 8 (CPSR) while CPU is running - ERROR: Cannot read register 8 (CPSR) while CPU is running - ERROR: Cannot read register 34 (SPSR_UND) while CPU is running - ERROR: Cannot read register 36 (R14_UND) while CPU is running - ERROR: Cannot read register 35 (R13_UND) while CPU is running - ERROR: Cannot read register 31 (SPSR_IRQ) while CPU is running - ERROR: Cannot read register 33 (R14_IRQ) while CPU is running - ERROR: Cannot read register 32 (R13_IRQ) while CPU is running - ERROR: Cannot read register 28 (SPSR_ABT) while CPU is running - ERROR: Cannot read register 30 (R14_ABT) while CPU is running - ERROR: Cannot read register 29 (R13_ABT) while CPU is running - ERROR: Cannot read register 25 (SPSR_SVC) while CPU is running - ERROR: Cannot read register 27 (R14_SVC) while CPU is running - ERROR: Cannot read register 26 (R13_SVC) while CPU is running - ERROR: Cannot read register 17 (SPSR_FIQ) while CPU is running - ERROR: Cannot read register 24 (R14_FIQ) while CPU is running - ERROR: Cannot read register 23 (R13_FIQ) while CPU is running - ERROR: Cannot read register 22 (R12_FIQ) while CPU is running - ERROR: Cannot read register 21 (R11_FIQ) while CPU is running - ERROR: Cannot read register 20 (R10_FIQ) while CPU is running - ERROR: Cannot read register 19 (R9_FIQ) while CPU is running - ERROR: Cannot read register 18 (R8_FIQ) while CPU is running - ERROR: Cannot read register 16 (R14_USR) while CPU is running - ERROR: Cannot read register 15 (R13_USR) while CPU is running - ERROR: Cannot read register 14 (R12_USR) while CPU is running - ERROR: Cannot read register 13 (R11_USR) while CPU is running - ERROR: Cannot read register 12 (R10_USR) while CPU is running - ERROR: Cannot read register 11 (R9_USR) while CPU is running - ERROR: Cannot read register 10 (R8_USR) while CPU is running - ERROR: Cannot read register 7 (R7) while CPU is running - ERROR: Cannot read register 6 (R6) while CPU is running - ERROR: Cannot read register 5 (R5) while CPU is running - ERROR: Cannot read register 4 (R4) while CPU is running - ERROR: Cannot read register 3 (R3) while CPU is running - ERROR: Cannot read register 2 (R2) while CPU is running - ERROR: Cannot read register 1 (R1) while CPU is running - ERROR: Cannot read register 0 (R0) while CPU is running - ERROR: Cannot read register 9 (R15 (PC)) while CPU is running - ERROR: PC of target system has unexpected value after restoring target. (PC = 0x00000000, CPSR = 0x00000000)! ---------------------------------------------------------------------- Registers ------------------------------------------------------------------------------------- PC = 00000000 CPSR = 00000000 (Unknown mode, ARM) ​ Current: R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000 R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000 USR: R8 = 00000000, R9 = 00000000, R10 = 00000000, R11 = 00000000, R12 = 00000000 R13 = 00000000, R14 = 00000000 FIQ: R8 = 00000000, R9 = 00000000, R10 = 00000000, R11 = 00000000, R12 = 00000000 R13 = 00000000, R14 = 00000000, SPSR = 00000000 SVC: R13 = 00000000, R14 = 00000000, SPSR = 00000000 ABT: R13 = 00000000, R14 = 00000000, SPSR = 00000000 IRQ: R13 = 00000000, R14 = 00000000, SPSR = 00000000 UND: R13 = 00000000, R14 = 00000000, SPSR = 00000000 ------------------------------------------------- - End of restoring - ERROR: Failed to erase sectors Disconnecting ... - Disconnected