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. - 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 --- _GetAndClearStickyError: DP_REG_CTRL_STATDP=0xF0000021 - --- FSEU script --- ERROR: Accessing Watchdog registers caused the StickyError flag to be set! - --- FSEU script --- OK: System RAM wait cycles changed - InitTarget() end - Took 323ms - 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 enabled - Level-1 data cache enabled - MPU enabled - 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 --- _GetAndClearStickyError: DP_REG_CTRL_STATDP=0xF0000020 - --- FSEU script --- ERROR: Accessing Watchdog registers caused the StickyError flag to be set! - --- FSEU script --- OK: System RAM wait cycles changed - ResetTarget() end - Took 317ms - Target interface speed: 1000 kHz (Auto) - VTarget = 5.048V - InitTarget() start - --- FSEU script --- MCU reset - --- FSEU script --- OK: Debug port powered up - --- 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 = 0x00000005 - --- FSEU script --- OK: MCU is unsecured - --- FSEU script --- OK: Core is halted now - --- FSEU script --- _GetAndClearStickyError: DP_REG_CTRL_STATDP=0xF0000021 - --- FSEU script --- ERROR: Accessing Watchdog registers caused the StickyError flag to be set! - --- FSEU script --- OK: System RAM wait cycles changed - InitTarget() end - Took 322ms - 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 --- _GetAndClearStickyError: DP_REG_CTRL_STATDP=0xF0000020 - --- FSEU script --- ERROR: Accessing Watchdog registers caused the StickyError flag to be set! - --- FSEU script --- OK: System RAM wait cycles changed - ResetTarget() end - Took 318ms - Executing init sequence ... - Initialized successfully - Target interface speed: 1000 kHz (Auto) - Found 1 JTAG device. Core ID: 0x4BA00477 (None) - Connected successfully Reading selected sectors ... - 16 of 16 sectors selected, 2 ranges, 0x1000000 - 0x11FFFFF, 0x17E0000 - 0x17FFFFF - Start of preparing flash programming - End of preparing flash programming - Blank checking 0x01000000 - 0x0101FFFF - Blank checking 0x01020000 - 0x0103FFFF - Blank checking 0x01040000 - 0x0105FFFF - Blank checking 0x01060000 - 0x0107FFFF - Blank checking 0x01080000 - 0x0109FFFF - Blank checking 0x010A0000 - 0x010BFFFF - Blank checking 0x010C0000 - 0x010DFFFF - Blank checking 0x010E0000 - 0x010FFFFF - Blank checking 0x01100000 - 0x0111FFFF - Blank checking 0x01120000 - 0x0113FFFF - Blank checking 0x01140000 - 0x0115FFFF - Blank checking 0x01160000 - 0x0117FFFF - Blank checking 0x01180000 - 0x0119FFFF - Blank checking 0x011A0000 - 0x011BFFFF - Blank checking 0x011C0000 - 0x011DFFFF - Blank checking 0x011E0000 - 0x011FFFFF - Blank checking 0x017E0000 - 0x017FFFFF - Start of restoring - End of restoring - Target memory read successfully. (2228224 bytes, 2 ranges) - Completed after 9.680 sec Saving project file [C:\Users\V.Urgas\Desktop\SEGGER DATA\MB9DF126.jflash] ... - Project saved successfully Saving project file [C:\Users\V.Urgas\Desktop\SEGGER DATA\MB9DF126.jflash] ... - Project saved successfully Auto programming target (2228224 bytes, 2 ranges) ... - Checking if selected data fits into selected flash sectors. - 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 - Erasing range 0x01000000 - 0x0103FFFF ( 1 Sector, 256 KB) - Blank checking 0x01040000 - 0x0105FFFF - Erasing range 0x01040000 - 0x0107FFFF ( 1 Sector, 256 KB) - Blank checking 0x01080000 - 0x0109FFFF - Erasing range 0x01080000 - 0x010BFFFF ( 1 Sector, 256 KB) - Blank checking 0x010C0000 - 0x010DFFFF - Erasing range 0x010C0000 - 0x010FFFFF ( 1 Sector, 256 KB) - Blank checking 0x01100000 - 0x0111FFFF - Erasing range 0x01100000 - 0x0113FFFF ( 1 Sector, 256 KB) - Blank checking 0x01140000 - 0x0115FFFF - Erasing range 0x01140000 - 0x0117FFFF ( 1 Sector, 256 KB) - Blank checking 0x01180000 - 0x0119FFFF - Erasing range 0x01180000 - 0x011BFFFF ( 1 Sector, 256 KB) - Blank checking 0x011C0000 - 0x011DFFFF - Erasing range 0x011C0000 - 0x011FFFFF ( 1 Sector, 256 KB) - Blank checking 0x017E0000 - 0x017FFFFF - Erasing range 0x017E0000 - 0x017FFFFF ( 8 Sectors, 128 KB) - End of erasing sectors - Start of flash programming - Programming range 0x01000000 - 0x0103FFFF ( 1 Sector, 256 KB) - 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 programming sector. (PC = 0x01A00004, 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 ------------------------------------ - End of flash programming - ERROR: Program failed - Start of restoring - Memory access: CPU temp. halted: https://wiki.segger.com/Memory_accesses#Stop_mode - End of restoring - ERROR: Failed to auto program target Disconnecting ... - Disconnected