Part Number: UNIFLASH
We are currently developing a new product and plan to use the UniFlash Standalone Command Line tool to program software during the mass production process.
We are using UniFlash version 9.0.0. After configuring the software image to be programmed, we generate batch files using the Standalone Command Line feature and perform programming through the CLI.
In our current setup, the SBL and APPIMAGE are programmed using separate batch files. These batch files are then executed sequentially through another wrapper batch file.
After the programming of the SBL and APPIMAGE is completed, the following errors are reported. However, the software appears to be successfully written to the device, and the product boots correctly.
For the SBL, the first attempt fails while the second attempt succeeds. For the APPIMAGE, the first programming attempt stops partway through and results in a timeout error.
Could you please clarify:
- What is causing these errors?
- What are the recommended countermeasures or solutions?
- Can these errors be safely ignored if the software is successfully programmed and the device boots normally?
The error logs are shown below.
SBL
error: Cortex_R5_0: Error Code 40000001
error: Cortex_R5_0: Error Loading the data...
error: Cortex_R5_0: Run failed...
error: Cortex_R5_0: File Loader: Failed to terminate flash programming: Algorithm indicated it failed to flash the data
Failed: File: SBL/user_files/images/loader.tiimage: Load failed.
APPIMAGE
Log when the process stops midway (1st attempt)
error: Cortex_R5_0: Run failed...
error: Cortex_R5_0: Trouble Removing Breakpoint with the Action "Remain Halted" at 0x7000c3a8: (Error -1066 @ 0x7000C3A8) Unable to set/clear requested breakpoint. Verify that the breakpoint address is in valid memory. (Emulation package 20.0.0.3298)
error: Cortex_R5_0: File Loader: Failed to terminate flash programming: Timed out waiting for target to halt while executing flasher_jtag_uniflash_am263px-lp_r5fss0-0_nortos_ti-arm-clang.out
Failed: File: HWCAPP/user_files/images/myprogram.appimage: Load failed.
Log when the application boots successfully
error: Cortex_R5_0: Error Code 40000001
error: Cortex_R5_0: Error Loading the data...
error: Cortex_R5_0: Run failed...
error: Cortex_R5_0: File Loader: Failed to terminate flash programming: Algorithm indicated it failed to flash the data
Failed: File: HWCAPP/user_files/images/myprogram.appimage: Load failed.
For reference, the complete logs are attached below.
C:\Users\*\Downloads\test_bat\test_bat>call ./SBL/dslite-Cortex_R5_0.bat
Executing default command:
> dslite --mode flash -c SBL/user_files/configs/AM263Px_ZCZ_C.ccxml -l SBL/user_files/settings/generated.ufsettings -s VerifyAfterProgramLoad="No verification" -e -f -v "SBL/user_files/images/loader.tiimage,0x60000000"
DSLite version 20.0.0.3619
Configuring Debugger (may take a few minutes on first launch)...
Initializing Register Database...
Initializing: DEBUGSSM_0
Executing Startup Scripts: DEBUGSSM_0
Initializing: CS_DAP_0
Executing Startup Scripts: CS_DAP_0
Initializing: Cortex_R5_0
Executing Startup Scripts: Cortex_R5_0
Cortex_R5_0: GEL Output: Gel files loading on R5F0 Complete
Initializing: Cortex_R5_1
Executing Startup Scripts: Cortex_R5_1
Initializing: Cortex_R5_2
Executing Startup Scripts: Cortex_R5_2
Initializing: Cortex_R5_3
Executing Startup Scripts: Cortex_R5_3
Initializing: Cortex_M4_0
Executing Startup Scripts: Cortex_M4_0
Initializing: ICSSM_PRU_0
Executing Startup Scripts: ICSSM_PRU_0
Initializing: ICSSM_PRU_1
Executing Startup Scripts: ICSSM_PRU_1
Initializing: CSSTM_0
Executing Startup Scripts: CSSTM_0
Initializing: CS_ETB_0
Executing Startup Scripts: CS_ETB_0
Connecting...
Cortex_R5_0: GEL Output: ***OnTargetConnect() Launched***
Cortex_R5_0: GEL Output: AM263Px Initialization Scripts Launched.
Please Wait...
Cortex_R5_0: GEL Output: AM263Px_Cryst_Clock_Loss_Status() Launched
Cortex_R5_0: GEL Output: Crystal Clock present
Cortex_R5_0: GEL Output: AM263Px_SOP_Mode() Launched
Cortex_R5_0: GEL Output: SOP MODE = 0x00000003
Cortex_R5_0: GEL Output:
OSPI - 8S Functional Boot Mode
Cortex_R5_0: GEL Output: AM263Px_Read_Device_Type() Launched
Cortex_R5_0: GEL Output: EFuse Device Type Value = 0x000000AA
Cortex_R5_0: GEL Output: AM263Px_dual_or_lockstep_mode() Launched
Cortex_R5_0: GEL Output: r5fss0 = 0x00000100
Cortex_R5_0: GEL Output: r5fss1 = 0x00000100
Cortex_R5_0: GEL Output:
R5FSS0 is in Lockstep mode
Cortex_R5_0: GEL Output:
R5FSS1 is in Lockstep mode
Cortex_R5_0: GEL Output: MSS_CTRL Control Registers Unlocked
Cortex_R5_0: GEL Output: MSS_TOP_RCM Control Registers Unlocked
Cortex_R5_0: GEL Output: MSS_RCM Control Registers Unlocked
Cortex_R5_0: GEL Output: MSS_IOMUX Control Registers Unlocked
Cortex_R5_0: GEL Output: TOP_CTRL Control Registers Unlocked
Cortex_R5_0: GEL Output:
*** R5FSS0 DualCore Reset ***
Cortex_R5_0: GEL Output:
***R5FSS1 DualCore Reset ***
Cortex_R5_0: GEL Output: R5F ROM Eclipse
Cortex_R5_0: GEL Output: R5FSS0_0 Released
Cortex_R5_0: GEL Output: R5FSS0_1 Released
Cortex_R5_0: GEL Output: R5FSS1_0 Released
Cortex_R5_0: GEL Output: R5FSS1_1 Released
Cortex_R5_0: GEL Output: L2 Mem Init Complete
Cortex_R5_0: GEL Output: MailBox Mem Init Complete
Cortex_R5_0: GEL Output: *********** R5FSS0/1 Dual Core mode Configured********
Cortex_R5_0: GEL Output: CORE PLL Configuration Complete
Cortex_R5_0: GEL Output: PER PLL Configuration Complete
Cortex_R5_0: GEL Output: SYS_CLK DIVBY2
Cortex_R5_0: GEL Output: DPLL_CORE_HSDIV0_CLKOUT0 selected as CLK source for R5FSS & SYS CLKs
Cortex_R5_0: GEL Output:
CLK Programmed R5F=400MHz and SYS_CLK=200MHz
Cortex_R5_0: GEL Output:
*** Enabling Peripheral Clocks ***
Cortex_R5_0: GEL Output: Enabling RTI[0:3] Clocks
Cortex_R5_0: GEL Output: Enabling RTI_WDT[0:3] Clocks
Cortex_R5_0: GEL Output: Enabling UART[0:5]/LIN[0:5] Clocks
Cortex_R5_0: GEL Output: Enabling QSPI Clocks
Cortex_R5_0: GEL Output: Enabling I2C Clocks
Cortex_R5_0: GEL Output: Enabling TRACE Clocks
Cortex_R5_0: GEL Output: Enabling MCAN[0:3] Clocks
Cortex_R5_0: GEL Output: Enabling MMCSD Clocks
Cortex_R5_0: GEL Output: Enabling MCSPI[0:4] Clocks
Cortex_R5_0: GEL Output: Enabling CONTROLSS Clocks
Cortex_R5_0: GEL Output: Enabling CPTS Clocks
Cortex_R5_0: GEL Output: Enabling RGMI[5,50,250] Clocks
Cortex_R5_0: GEL Output: Enabling XTAL_TEMPSENSE_32K Clocks
Cortex_R5_0: GEL Output: Enabling XTAL_MMC_32K Clocks
Cortex_R5_0: GEL Output:
***All IP Clocks are Enabled***
info: Cortex_R5_0: AM263Px_ZCZ_C
info: Cortex_R5_0: Board Selected : LP
info: Cortex_R5_0: Part Selected : Standard
Loading Program: SBL/user_files/images/loader.tiimage
Preparing ...
0 of 32752 at 0x60000000
0 of 32752 at 0x60007ff0: 14%
0 of 32752 at 0x6000ffe0: 29%
0 of 32752 at 0x60017fd0: 43%
0 of 32752 at 0x6001ffc0: 58%
0 of 32752 at 0x60027fb0: 72%
0 of 28236 at 0x6002ffa0: 87%
Finished: 87%
info: Cortex_R5_0: Writing 1 chunk at offset 0x0
info: Cortex_R5_0: Writing 2 chunk at offset 0x10000
info: Cortex_R5_0: Writing 3 chunk at offset 0x20000
info: Cortex_R5_0: Writing 4 chunk at offset 0x30000
error: Cortex_R5_0: Error Code 40000001
error: Cortex_R5_0: Error Loading the data...
error: Cortex_R5_0: Run failed...
error: Cortex_R5_0: File Loader: Failed to terminate flash programming: Algorithm indicated it failed to flash the data
Failed: File: SBL/user_files/images/loader.tiimage: Load failed.
Executing default command:
> dslite --mode flash -c HWCAPP/user_files/configs/AM263Px_ZCZ_C.ccxml -l HWCAPP/user_files/settings/generated.ufsettings -s VerifyAfterProgramLoad="No verification" -e -f -v "HWCAPP/user_files/images/myprogram.appimage,0x60081000"
DSLite version 20.0.0.3619
Configuring Debugger (may take a few minutes on first launch)...
Initializing Register Database...
Initializing: DEBUGSSM_0
Executing Startup Scripts: DEBUGSSM_0
Initializing: CS_DAP_0
Executing Startup Scripts: CS_DAP_0
Initializing: Cortex_R5_0
Executing Startup Scripts: Cortex_R5_0
Cortex_R5_0: GEL Output: Gel files loading on R5F0 Complete
Initializing: Cortex_R5_1
Executing Startup Scripts: Cortex_R5_1
Initializing: Cortex_R5_2
Executing Startup Scripts: Cortex_R5_2
Initializing: Cortex_R5_3
Executing Startup Scripts: Cortex_R5_3
Initializing: Cortex_M4_0
Executing Startup Scripts: Cortex_M4_0
Initializing: ICSSM_PRU_0
Executing Startup Scripts: ICSSM_PRU_0
Initializing: ICSSM_PRU_1
Executing Startup Scripts: ICSSM_PRU_1
Initializing: CSSTM_0
Executing Startup Scripts: CSSTM_0
Initializing: CS_ETB_0
Executing Startup Scripts: CS_ETB_0
Connecting...
Cortex_R5_0: GEL Output: ***OnTargetConnect() Launched***
Cortex_R5_0: GEL Output: AM263Px Initialization Scripts Launched.
Please Wait...
Cortex_R5_0: GEL Output: AM263Px_Cryst_Clock_Loss_Status() Launched
Cortex_R5_0: GEL Output: Crystal Clock present
Cortex_R5_0: GEL Output: AM263Px_SOP_Mode() Launched
Cortex_R5_0: GEL Output: SOP MODE = 0x00000003
Cortex_R5_0: GEL Output:
OSPI - 8S Functional Boot Mode
Cortex_R5_0: GEL Output: AM263Px_Read_Device_Type() Launched
Cortex_R5_0: GEL Output: EFuse Device Type Value = 0x000000AA
Cortex_R5_0: GEL Output: AM263Px_dual_or_lockstep_mode() Launched
Cortex_R5_0: GEL Output: r5fss0 = 0x00000001
Cortex_R5_0: GEL Output: r5fss1 = 0x00000000
Cortex_R5_0: GEL Output:
R5FSS0 is in Dual-Core mode
Cortex_R5_0: GEL Output:
R5FSS1 is in Dual-Core mode
Cortex_R5_0: GEL Output: MSS_CTRL Control Registers Unlocked
Cortex_R5_0: GEL Output: MSS_TOP_RCM Control Registers Unlocked
Cortex_R5_0: GEL Output: MSS_RCM Control Registers Unlocked
Cortex_R5_0: GEL Output: MSS_IOMUX Control Registers Unlocked
Cortex_R5_0: GEL Output: TOP_CTRL Control Registers Unlocked
Cortex_R5_0: GEL Output:
*** R5FSS0 DualCore Reset ***
Cortex_R5_0: GEL Output:
***R5FSS1 DualCore Reset ***
Cortex_R5_0: GEL Output: R5F ROM Eclipse
Cortex_R5_0: GEL Output: R5FSS0_0 Released
Cortex_R5_0: GEL Output: R5FSS0_1 Released
Cortex_R5_0: GEL Output: R5FSS1_0 Released
Cortex_R5_0: GEL Output: R5FSS1_1 Released
Cortex_R5_0: GEL Output: L2 Mem Init Complete
Cortex_R5_0: GEL Output: MailBox Mem Init Complete
Cortex_R5_0: GEL Output: *********** R5FSS0/1 Dual Core mode Configured********
Cortex_R5_0: GEL Output: CORE PLL Configuration Complete
Cortex_R5_0: GEL Output: SYS_CLK DIVBY2
Cortex_R5_0: GEL Output: DPLL_CORE_HSDIV0_CLKOUT0 selected as CLK source for R5FSS & SYS CLKs
Cortex_R5_0: GEL Output:
CLK Programmed R5F=400MHz and SYS_CLK=200MHz
Cortex_R5_0: GEL Output:
*** Enabling Peripheral Clocks ***
Cortex_R5_0: GEL Output: Enabling RTI[0:3] Clocks
Cortex_R5_0: GEL Output: Enabling RTI_WDT[0:3] Clocks
Cortex_R5_0: GEL Output: Enabling UART[0:5]/LIN[0:5] Clocks
Cortex_R5_0: GEL Output: Enabling QSPI Clocks
Cortex_R5_0: GEL Output: Enabling I2C Clocks
Cortex_R5_0: GEL Output: Enabling TRACE Clocks
Cortex_R5_0: GEL Output: Enabling MCAN[0:3] Clocks
Cortex_R5_0: GEL Output: Enabling MMCSD Clocks
Cortex_R5_0: GEL Output: Enabling MCSPI[0:4] Clocks
Cortex_R5_0: GEL Output: Enabling CONTROLSS Clocks
Cortex_R5_0: GEL Output: Enabling CPTS Clocks
Cortex_R5_0: GEL Output: Enabling RGMI[5,50,250] Clocks
Cortex_R5_0: GEL Output: Enabling XTAL_TEMPSENSE_32K Clocks
Cortex_R5_0: GEL Output: Enabling XTAL_MMC_32K Clocks
Cortex_R5_0: GEL Output:
***All IP Clocks are Enabled***
info: Cortex_R5_0: AM263Px_ZCZ_C
info: Cortex_R5_0: Board Selected : LP
info: Cortex_R5_0: Part Selected : Standard
Loading Program: HWCAPP/user_files/images/myprogram.appimage
Preparing ...
0 of 32752 at 0x60081000
0 of 32752 at 0x60088ff0
0 of 32752 at 0x60090fe0: 1%
0 of 32752 at 0x60098fd0: 2%
0 of 32752 at 0x600a0fc0: 3%
0 of 32752 at 0x600a8fb0: 4%
0 of 32752 at 0x600b0fa0: 4%
0 of 32752 at 0x600b8f90: 5%
0 of 32752 at 0x600c0f80: 6%
0 of 32752 at 0x600c8f70: 7%
0 of 32752 at 0x600d0f60: 8%
0 of 32752 at 0x600d8f50: 8%
0 of 32752 at 0x600e0f40: 9%
0 of 32752 at 0x600e8f30: 10%
0 of 32752 at 0x600f0f20: 11%
0 of 32752 at 0x600f8f10: 12%
0 of 32752 at 0x60100f00: 12%
0 of 32752 at 0x60108ef0: 13%
0 of 32752 at 0x60110ee0: 14%
0 of 32752 at 0x60118ed0: 15%
0 of 32752 at 0x60120ec0: 16%
0 of 32752 at 0x60128eb0: 16%
0 of 32752 at 0x60130ea0: 17%
0 of 32752 at 0x60138e90: 18%
0 of 32752 at 0x60140e80: 19%
0 of 32752 at 0x60148e70: 20%
0 of 32752 at 0x60150e60: 20%
0 of 32752 at 0x60158e50: 21%
0 of 32752 at 0x60160e40: 22%
0 of 32752 at 0x60168e30: 23%
0 of 32752 at 0x60170e20: 24%
0 of 32752 at 0x60178e10: 24%
0 of 32752 at 0x60180e00: 25%
0 of 32752 at 0x60188df0: 26%
0 of 32752 at 0x60190de0: 27%
0 of 32752 at 0x60198dd0: 28%
0 of 32752 at 0x601a0dc0: 28%
0 of 32752 at 0x601a8db0: 29%
0 of 32752 at 0x601b0da0: 30%
0 of 32752 at 0x601b8d90: 31%
0 of 32752 at 0x601c0d80: 32%
0 of 32752 at 0x601c8d70: 32%
0 of 32752 at 0x601d0d60: 33%
0 of 32752 at 0x601d8d50: 34%
0 of 32752 at 0x601e0d40: 35%
0 of 32752 at 0x601e8d30: 36%
0 of 32752 at 0x601f0d20: 36%
0 of 32752 at 0x601f8d10: 37%
0 of 32752 at 0x60200d00: 38%
0 of 32752 at 0x60208cf0: 39%
0 of 32752 at 0x60210ce0: 40%
0 of 32752 at 0x60218cd0: 40%
0 of 32752 at 0x60220cc0: 41%
0 of 32752 at 0x60228cb0: 42%
0 of 32752 at 0x60230ca0: 43%
0 of 32752 at 0x60238c90: 44%
0 of 32752 at 0x60240c80: 45%
0 of 32752 at 0x60248c70: 45%
0 of 32752 at 0x60250c60: 46%
0 of 32752 at 0x60258c50: 47%
0 of 32752 at 0x60260c40: 48%
0 of 32752 at 0x60268c30: 49%
0 of 32752 at 0x60270c20: 49%
0 of 32752 at 0x60278c10: 50%
0 of 32752 at 0x60280c00: 51%
0 of 32752 at 0x60288bf0: 52%
0 of 32752 at 0x60290be0: 53%
0 of 32752 at 0x60298bd0: 53%
0 of 32752 at 0x602a0bc0: 54%
0 of 32752 at 0x602a8bb0: 55%
0 of 32752 at 0x602b0ba0: 56%
0 of 32752 at 0x602b8b90: 57%
0 of 32752 at 0x602c0b80: 57%
0 of 32752 at 0x602c8b70: 58%
0 of 32752 at 0x602d0b60: 59%
0 of 32752 at 0x602d8b50: 60%
0 of 32752 at 0x602e0b40: 61%
0 of 32752 at 0x602e8b30: 61%
0 of 32752 at 0x602f0b20: 62%
0 of 32752 at 0x602f8b10: 63%
0 of 32752 at 0x60300b00: 64%
0 of 32752 at 0x60308af0: 65%
0 of 32752 at 0x60310ae0: 65%
0 of 32752 at 0x60318ad0: 66%
0 of 32752 at 0x60320ac0: 67%
0 of 32752 at 0x60328ab0: 68%
0 of 32752 at 0x60330aa0: 69%
0 of 32752 at 0x60338a90: 69%
0 of 32752 at 0x60340a80: 70%
0 of 32752 at 0x60348a70: 71%
0 of 32752 at 0x60350a60: 72%
0 of 32752 at 0x60358a50: 73%
0 of 32752 at 0x60360a40: 73%
0 of 32752 at 0x60368a30: 74%
0 of 32752 at 0x60370a20: 75%
0 of 32752 at 0x60378a10: 76%
0 of 32752 at 0x60380a00: 77%
0 of 32752 at 0x603889f0: 77%
0 of 32752 at 0x603909e0: 78%
0 of 32752 at 0x603989d0: 79%
0 of 32752 at 0x603a09c0: 80%
0 of 32752 at 0x603a89b0: 81%
0 of 32752 at 0x603b09a0: 81%
0 of 32752 at 0x603b8990: 82%
0 of 32752 at 0x603c0980: 83%
0 of 32752 at 0x603c8970: 84%
0 of 32752 at 0x603d0960: 85%
0 of 32752 at 0x603d8950: 85%
0 of 32752 at 0x603e0940: 86%
0 of 32752 at 0x603e8930: 87%
0 of 32752 at 0x603f0920: 88%
0 of 32752 at 0x603f8910: 89%
0 of 32752 at 0x60400900: 90%
0 of 32752 at 0x604088f0: 90%
0 of 32752 at 0x604108e0: 91%
0 of 32752 at 0x604188d0: 92%
0 of 32752 at 0x604208c0: 93%
0 of 32752 at 0x604288b0: 94%
0 of 32752 at 0x604308a0: 94%
0 of 32752 at 0x60438890: 95%
0 of 32752 at 0x60440880: 96%
0 of 32752 at 0x60448870: 97%
0 of 32752 at 0x60450860: 98%
0 of 32752 at 0x60458850: 98%
0 of 14300 at 0x60460840: 99%
Finished: 99%
info: Cortex_R5_0: Writing 1 chunk at offset 0x81000
info: Cortex_R5_0: Writing 2 chunk at offset 0x91000
info: Cortex_R5_0: Writing 3 chunk at offset 0xa1000
info: Cortex_R5_0: Writing 4 chunk at offset 0xb1000
info: Cortex_R5_0: Writing 5 chunk at offset 0xc1000
info: Cortex_R5_0: Writing 6 chunk at offset 0xd1000
info: Cortex_R5_0: Writing 7 chunk at offset 0xe1000
info: Cortex_R5_0: Writing 8 chunk at offset 0xf1000
info: Cortex_R5_0: Writing 9 chunk at offset 0x101000
info: Cortex_R5_0: Writing 10 chunk at offset 0x111000
info: Cortex_R5_0: Writing 11 chunk at offset 0x121000
info: Cortex_R5_0: Writing 12 chunk at offset 0x131000
info: Cortex_R5_0: Writing 13 chunk at offset 0x141000
info: Cortex_R5_0: Writing 14 chunk at offset 0x151000
info: Cortex_R5_0: Writing 15 chunk at offset 0x161000
info: Cortex_R5_0: Writing 16 chunk at offset 0x171000
info: Cortex_R5_0: Writing 17 chunk at offset 0x181000
info: Cortex_R5_0: Writing 18 chunk at offset 0x191000
info: Cortex_R5_0: Writing 19 chunk at offset 0x1a1000
info: Cortex_R5_0: Writing 20 chunk at offset 0x1b1000
info: Cortex_R5_0: Writing 21 chunk at offset 0x1c1000
info: Cortex_R5_0: Writing 22 chunk at offset 0x1d1000
info: Cortex_R5_0: Writing 23 chunk at offset 0x1e1000
info: Cortex_R5_0: Writing 24 chunk at offset 0x1f1000
info: Cortex_R5_0: Writing 25 chunk at offset 0x201000
info: Cortex_R5_0: Writing 26 chunk at offset 0x211000
info: Cortex_R5_0: Writing 27 chunk at offset 0x221000
info: Cortex_R5_0: Writing 28 chunk at offset 0x231000
info: Cortex_R5_0: Writing 29 chunk at offset 0x241000
info: Cortex_R5_0: Writing 30 chunk at offset 0x251000
info: Cortex_R5_0: Writing 31 chunk at offset 0x261000
info: Cortex_R5_0: Writing 32 chunk at offset 0x271000
info: Cortex_R5_0: Writing 33 chunk at offset 0x281000
info: Cortex_R5_0: Writing 34 chunk at offset 0x291000
info: Cortex_R5_0: Writing 35 chunk at offset 0x2a1000
info: Cortex_R5_0: Writing 36 chunk at offset 0x2b1000
info: Cortex_R5_0: Writing 37 chunk at offset 0x2c1000
info: Cortex_R5_0: Writing 38 chunk at offset 0x2d1000
info: Cortex_R5_0: Writing 39 chunk at offset 0x2e1000
info: Cortex_R5_0: Writing 40 chunk at offset 0x2f1000
info: Cortex_R5_0: Writing 41 chunk at offset 0x301000
info: Cortex_R5_0: Writing 42 chunk at offset 0x311000
info: Cortex_R5_0: Writing 43 chunk at offset 0x321000
info: Cortex_R5_0: Writing 44 chunk at offset 0x331000
info: Cortex_R5_0: Writing 45 chunk at offset 0x341000
info: Cortex_R5_0: Writing 46 chunk at offset 0x351000
info: Cortex_R5_0: Writing 47 chunk at offset 0x361000
info: Cortex_R5_0: Writing 48 chunk at offset 0x371000
info: Cortex_R5_0: Writing 49 chunk at offset 0x381000
info: Cortex_R5_0: Writing 50 chunk at offset 0x391000
info: Cortex_R5_0: Writing 51 chunk at offset 0x3a1000
info: Cortex_R5_0: Writing 52 chunk at offset 0x3b1000
info: Cortex_R5_0: Writing 53 chunk at offset 0x3c1000
info: Cortex_R5_0: Writing 54 chunk at offset 0x3d1000
info: Cortex_R5_0: Writing 55 chunk at offset 0x3e1000
info: Cortex_R5_0: Writing 56 chunk at offset 0x3f1000
info: Cortex_R5_0: Writing 57 chunk at offset 0x401000
error: Cortex_R5_0: Run failed...
error: Cortex_R5_0: Trouble Removing Breakpoint with the Action "Remain Halted" at 0x7000c3a8: (Error -1066 @ 0x7000C3A8) Unable to set/clear requested breakpoint. Verify that the breakpoint address is in valid memory. (Emulation package 20.0.0.3298)
error: Cortex_R5_0: File Loader: Failed to terminate flash programming: Timed out waiting for target to halt while executing flasher_jtag_uniflash_am263px-lp_r5fss0-0_nortos_ti-arm-clang.out
Failed: File: HWCAPP/user_files/images/myprogram.appimage: Load failed.
C:\Users\*\Downloads\test_bat\test_bat>
C:\Users\*\Downloads\test_bat\test_bat>test_bat.bat
C:\Users\*\Downloads\test_bat\test_bat>call ./SBL/dslite-Cortex_R5_0.bat
Executing default command:
> dslite --mode flash -c SBL/user_files/configs/AM263Px_ZCZ_C.ccxml -l SBL/user_files/settings/generated.ufsettings -s VerifyAfterProgramLoad="No verification" -e -f -v "SBL/user_files/images/loader.tiimage,0x60000000"
DSLite version 20.0.0.3619
Configuring Debugger (may take a few minutes on first launch)...
Initializing Register Database...
Initializing: DEBUGSSM_0
Executing Startup Scripts: DEBUGSSM_0
Initializing: CS_DAP_0
Executing Startup Scripts: CS_DAP_0
Initializing: Cortex_R5_0
Executing Startup Scripts: Cortex_R5_0
Cortex_R5_0: GEL Output: Gel files loading on R5F0 Complete
Initializing: Cortex_R5_1
Executing Startup Scripts: Cortex_R5_1
Initializing: Cortex_R5_2
Executing Startup Scripts: Cortex_R5_2
Initializing: Cortex_R5_3
Executing Startup Scripts: Cortex_R5_3
Initializing: Cortex_M4_0
Executing Startup Scripts: Cortex_M4_0
Initializing: ICSSM_PRU_0
Executing Startup Scripts: ICSSM_PRU_0
Initializing: ICSSM_PRU_1
Executing Startup Scripts: ICSSM_PRU_1
Initializing: CSSTM_0
Executing Startup Scripts: CSSTM_0
Initializing: CS_ETB_0
Executing Startup Scripts: CS_ETB_0
Connecting...
Cortex_R5_0: GEL Output: ***OnTargetConnect() Launched***
Cortex_R5_0: GEL Output: AM263Px Initialization Scripts Launched.
Please Wait...
Cortex_R5_0: GEL Output: AM263Px_Cryst_Clock_Loss_Status() Launched
Cortex_R5_0: GEL Output: Crystal Clock present
Cortex_R5_0: GEL Output: AM263Px_SOP_Mode() Launched
Cortex_R5_0: GEL Output: SOP MODE = 0x00000003
Cortex_R5_0: GEL Output:
OSPI - 8S Functional Boot Mode
Cortex_R5_0: GEL Output: AM263Px_Read_Device_Type() Launched
Cortex_R5_0: GEL Output: EFuse Device Type Value = 0x000000AA
Cortex_R5_0: GEL Output: AM263Px_dual_or_lockstep_mode() Launched
Cortex_R5_0: GEL Output: r5fss0 = 0x00000101
Cortex_R5_0: GEL Output: r5fss1 = 0x00000100
Cortex_R5_0: GEL Output:
R5FSS0 is in Lockstep mode
Cortex_R5_0: GEL Output:
R5FSS1 is in Lockstep mode
Cortex_R5_0: GEL Output: MSS_CTRL Control Registers Unlocked
Cortex_R5_0: GEL Output: MSS_TOP_RCM Control Registers Unlocked
Cortex_R5_0: GEL Output: MSS_RCM Control Registers Unlocked
Cortex_R5_0: GEL Output: MSS_IOMUX Control Registers Unlocked
Cortex_R5_0: GEL Output: TOP_CTRL Control Registers Unlocked
Cortex_R5_0: GEL Output:
*** R5FSS0 DualCore Reset ***
Cortex_R5_0: GEL Output:
***R5FSS1 DualCore Reset ***
Cortex_R5_0: GEL Output: R5F ROM Eclipse
Cortex_R5_0: GEL Output: R5FSS0_0 Released
Cortex_R5_0: GEL Output: R5FSS0_1 Released
Cortex_R5_0: GEL Output: R5FSS1_0 Released
Cortex_R5_0: GEL Output: R5FSS1_1 Released
Cortex_R5_0: GEL Output: L2 Mem Init Complete
Cortex_R5_0: GEL Output: MailBox Mem Init Complete
Cortex_R5_0: GEL Output: *********** R5FSS0/1 Dual Core mode Configured********
Cortex_R5_0: GEL Output: CORE PLL Configuration Complete
Cortex_R5_0: GEL Output: SYS_CLK DIVBY2
Cortex_R5_0: GEL Output: DPLL_CORE_HSDIV0_CLKOUT0 selected as CLK source for R5FSS & SYS CLKs
Cortex_R5_0: GEL Output:
CLK Programmed R5F=400MHz and SYS_CLK=200MHz
Cortex_R5_0: GEL Output:
*** Enabling Peripheral Clocks ***
Cortex_R5_0: GEL Output: Enabling RTI[0:3] Clocks
Cortex_R5_0: GEL Output: Enabling RTI_WDT[0:3] Clocks
Cortex_R5_0: GEL Output: Enabling UART[0:5]/LIN[0:5] Clocks
Cortex_R5_0: GEL Output: Enabling QSPI Clocks
Cortex_R5_0: GEL Output: Enabling I2C Clocks
Cortex_R5_0: GEL Output: Enabling TRACE Clocks
Cortex_R5_0: GEL Output: Enabling MCAN[0:3] Clocks
Cortex_R5_0: GEL Output: Enabling MMCSD Clocks
Cortex_R5_0: GEL Output: Enabling MCSPI[0:4] Clocks
Cortex_R5_0: GEL Output: Enabling CONTROLSS Clocks
Cortex_R5_0: GEL Output: Enabling CPTS Clocks
Cortex_R5_0: GEL Output: Enabling RGMI[5,50,250] Clocks
Cortex_R5_0: GEL Output: Enabling XTAL_TEMPSENSE_32K Clocks
Cortex_R5_0: GEL Output: Enabling XTAL_MMC_32K Clocks
Cortex_R5_0: GEL Output:
***All IP Clocks are Enabled***
info: Cortex_R5_0: AM263Px_ZCZ_C
info: Cortex_R5_0: Board Selected : LP
info: Cortex_R5_0: Part Selected : Standard
Loading Program: SBL/user_files/images/loader.tiimage
Preparing ...
0 of 32752 at 0x60000000
0 of 32752 at 0x60007ff0: 14%
0 of 32752 at 0x6000ffe0: 29%
0 of 32752 at 0x60017fd0: 43%
0 of 32752 at 0x6001ffc0: 58%
0 of 32752 at 0x60027fb0: 72%
0 of 28236 at 0x6002ffa0: 87%
Finished: 87%
info: Cortex_R5_0: Writing 1 chunk at offset 0x0
info: Cortex_R5_0: Writing 2 chunk at offset 0x10000
info: Cortex_R5_0: Writing 3 chunk at offset 0x20000
info: Cortex_R5_0: Writing 4 chunk at offset 0x30000
Setting PC to entry point.: 87%
Verifying Program: SBL/user_files/images/loader.tiimage
Preparing ...
0 of 32752 at 0x60000000
0 of 32752 at 0x60007ff0: 14%
0 of 32752 at 0x6000ffe0: 29%
0 of 32752 at 0x60017fd0: 43%
0 of 32752 at 0x6001ffc0: 58%
0 of 32752 at 0x60027fb0: 72%
0 of 28236 at 0x6002ffa0: 87%
Finished: 87%
info: Cortex_R5_0: Program verification successful for SBL/user_files/images/loader.tiimage
Success
Executing default command:
> dslite --mode flash -c HWCAPP/user_files/configs/AM263Px_ZCZ_C.ccxml -l HWCAPP/user_files/settings/generated.ufsettings -s VerifyAfterProgramLoad="No verification" -e -f -v "HWCAPP/user_files/images/myprogram.appimage,0x60081000"
DSLite version 20.0.0.3619
Configuring Debugger (may take a few minutes on first launch)...
Initializing Register Database...
Initializing: DEBUGSSM_0
Executing Startup Scripts: DEBUGSSM_0
Initializing: CS_DAP_0
Executing Startup Scripts: CS_DAP_0
Initializing: Cortex_R5_0
Executing Startup Scripts: Cortex_R5_0
Cortex_R5_0: GEL Output: Gel files loading on R5F0 Complete
Initializing: Cortex_R5_1
Executing Startup Scripts: Cortex_R5_1
Initializing: Cortex_R5_2
Executing Startup Scripts: Cortex_R5_2
Initializing: Cortex_R5_3
Executing Startup Scripts: Cortex_R5_3
Initializing: Cortex_M4_0
Executing Startup Scripts: Cortex_M4_0
Initializing: ICSSM_PRU_0
Executing Startup Scripts: ICSSM_PRU_0
Initializing: ICSSM_PRU_1
Executing Startup Scripts: ICSSM_PRU_1
Initializing: CSSTM_0
Executing Startup Scripts: CSSTM_0
Initializing: CS_ETB_0
Executing Startup Scripts: CS_ETB_0
Connecting...
Cortex_R5_0: GEL Output: ***OnTargetConnect() Launched***
Cortex_R5_0: GEL Output: AM263Px Initialization Scripts Launched.
Please Wait...
Cortex_R5_0: GEL Output: AM263Px_Cryst_Clock_Loss_Status() Launched
Cortex_R5_0: GEL Output: Crystal Clock present
Cortex_R5_0: GEL Output: AM263Px_SOP_Mode() Launched
Cortex_R5_0: GEL Output: SOP MODE = 0x00000003
Cortex_R5_0: GEL Output:
OSPI - 8S Functional Boot Mode
Cortex_R5_0: GEL Output: AM263Px_Read_Device_Type() Launched
Cortex_R5_0: GEL Output: EFuse Device Type Value = 0x000000AA
Cortex_R5_0: GEL Output: AM263Px_dual_or_lockstep_mode() Launched
Cortex_R5_0: GEL Output: r5fss0 = 0x00000001
Cortex_R5_0: GEL Output: r5fss1 = 0x00000000
Cortex_R5_0: GEL Output:
R5FSS0 is in Dual-Core mode
Cortex_R5_0: GEL Output:
R5FSS1 is in Dual-Core mode
Cortex_R5_0: GEL Output: MSS_CTRL Control Registers Unlocked
Cortex_R5_0: GEL Output: MSS_TOP_RCM Control Registers Unlocked
Cortex_R5_0: GEL Output: MSS_RCM Control Registers Unlocked
Cortex_R5_0: GEL Output: MSS_IOMUX Control Registers Unlocked
Cortex_R5_0: GEL Output: TOP_CTRL Control Registers Unlocked
Cortex_R5_0: GEL Output:
*** R5FSS0 DualCore Reset ***
Cortex_R5_0: GEL Output:
***R5FSS1 DualCore Reset ***
Cortex_R5_0: GEL Output: R5F ROM Eclipse
Cortex_R5_0: GEL Output: R5FSS0_0 Released
Cortex_R5_0: GEL Output: R5FSS0_1 Released
Cortex_R5_0: GEL Output: R5FSS1_0 Released
Cortex_R5_0: GEL Output: R5FSS1_1 Released
Cortex_R5_0: GEL Output: L2 Mem Init Complete
Cortex_R5_0: GEL Output: MailBox Mem Init Complete
Cortex_R5_0: GEL Output: *********** R5FSS0/1 Dual Core mode Configured********
Cortex_R5_0: GEL Output: CORE PLL Configuration Complete
Cortex_R5_0: GEL Output: SYS_CLK DIVBY2
Cortex_R5_0: GEL Output: DPLL_CORE_HSDIV0_CLKOUT0 selected as CLK source for R5FSS & SYS CLKs
Cortex_R5_0: GEL Output:
CLK Programmed R5F=400MHz and SYS_CLK=200MHz
Cortex_R5_0: GEL Output:
*** Enabling Peripheral Clocks ***
Cortex_R5_0: GEL Output: Enabling RTI[0:3] Clocks
Cortex_R5_0: GEL Output: Enabling RTI_WDT[0:3] Clocks
Cortex_R5_0: GEL Output: Enabling UART[0:5]/LIN[0:5] Clocks
Cortex_R5_0: GEL Output: Enabling QSPI Clocks
Cortex_R5_0: GEL Output: Enabling I2C Clocks
Cortex_R5_0: GEL Output: Enabling TRACE Clocks
Cortex_R5_0: GEL Output: Enabling MCAN[0:3] Clocks
Cortex_R5_0: GEL Output: Enabling MMCSD Clocks
Cortex_R5_0: GEL Output: Enabling MCSPI[0:4] Clocks
Cortex_R5_0: GEL Output: Enabling CONTROLSS Clocks
Cortex_R5_0: GEL Output: Enabling CPTS Clocks
Cortex_R5_0: GEL Output: Enabling RGMI[5,50,250] Clocks
Cortex_R5_0: GEL Output: Enabling XTAL_TEMPSENSE_32K Clocks
Cortex_R5_0: GEL Output: Enabling XTAL_MMC_32K Clocks
Cortex_R5_0: GEL Output:
***All IP Clocks are Enabled***
info: Cortex_R5_0: AM263Px_ZCZ_C
info: Cortex_R5_0: Board Selected : LP
info: Cortex_R5_0: Part Selected : Standard
Loading Program: HWCAPP/user_files/images/myprogram.appimage
Preparing ...
0 of 32752 at 0x60081000
0 of 32752 at 0x60088ff0
0 of 32752 at 0x60090fe0: 1%
0 of 32752 at 0x60098fd0: 2%
0 of 32752 at 0x600a0fc0: 3%
0 of 32752 at 0x600a8fb0: 4%
0 of 32752 at 0x600b0fa0: 4%
0 of 32752 at 0x600b8f90: 5%
0 of 32752 at 0x600c0f80: 6%
0 of 32752 at 0x600c8f70: 7%
0 of 32752 at 0x600d0f60: 8%
0 of 32752 at 0x600d8f50: 8%
0 of 32752 at 0x600e0f40: 9%
0 of 32752 at 0x600e8f30: 10%
0 of 32752 at 0x600f0f20: 11%
0 of 32752 at 0x600f8f10: 12%
0 of 32752 at 0x60100f00: 12%
0 of 32752 at 0x60108ef0: 13%
0 of 32752 at 0x60110ee0: 14%
0 of 32752 at 0x60118ed0: 15%
0 of 32752 at 0x60120ec0: 16%
0 of 32752 at 0x60128eb0: 16%
0 of 32752 at 0x60130ea0: 17%
0 of 32752 at 0x60138e90: 18%
0 of 32752 at 0x60140e80: 19%
0 of 32752 at 0x60148e70: 20%
0 of 32752 at 0x60150e60: 20%
0 of 32752 at 0x60158e50: 21%
0 of 32752 at 0x60160e40: 22%
0 of 32752 at 0x60168e30: 23%
0 of 32752 at 0x60170e20: 24%
0 of 32752 at 0x60178e10: 24%
0 of 32752 at 0x60180e00: 25%
0 of 32752 at 0x60188df0: 26%
0 of 32752 at 0x60190de0: 27%
0 of 32752 at 0x60198dd0: 28%
0 of 32752 at 0x601a0dc0: 28%
0 of 32752 at 0x601a8db0: 29%
0 of 32752 at 0x601b0da0: 30%
0 of 32752 at 0x601b8d90: 31%
0 of 32752 at 0x601c0d80: 32%
0 of 32752 at 0x601c8d70: 32%
0 of 32752 at 0x601d0d60: 33%
0 of 32752 at 0x601d8d50: 34%
0 of 32752 at 0x601e0d40: 35%
0 of 32752 at 0x601e8d30: 36%
0 of 32752 at 0x601f0d20: 36%
0 of 32752 at 0x601f8d10: 37%
0 of 32752 at 0x60200d00: 38%
0 of 32752 at 0x60208cf0: 39%
0 of 32752 at 0x60210ce0: 40%
0 of 32752 at 0x60218cd0: 40%
0 of 32752 at 0x60220cc0: 41%
0 of 32752 at 0x60228cb0: 42%
0 of 32752 at 0x60230ca0: 43%
0 of 32752 at 0x60238c90: 44%
0 of 32752 at 0x60240c80: 45%
0 of 32752 at 0x60248c70: 45%
0 of 32752 at 0x60250c60: 46%
0 of 32752 at 0x60258c50: 47%
0 of 32752 at 0x60260c40: 48%
0 of 32752 at 0x60268c30: 49%
0 of 32752 at 0x60270c20: 49%
0 of 32752 at 0x60278c10: 50%
0 of 32752 at 0x60280c00: 51%
0 of 32752 at 0x60288bf0: 52%
0 of 32752 at 0x60290be0: 53%
0 of 32752 at 0x60298bd0: 53%
0 of 32752 at 0x602a0bc0: 54%
0 of 32752 at 0x602a8bb0: 55%
0 of 32752 at 0x602b0ba0: 56%
0 of 32752 at 0x602b8b90: 57%
0 of 32752 at 0x602c0b80: 57%
0 of 32752 at 0x602c8b70: 58%
0 of 32752 at 0x602d0b60: 59%
0 of 32752 at 0x602d8b50: 60%
0 of 32752 at 0x602e0b40: 61%
0 of 32752 at 0x602e8b30: 61%
0 of 32752 at 0x602f0b20: 62%
0 of 32752 at 0x602f8b10: 63%
0 of 32752 at 0x60300b00: 64%
0 of 32752 at 0x60308af0: 65%
0 of 32752 at 0x60310ae0: 65%
0 of 32752 at 0x60318ad0: 66%
0 of 32752 at 0x60320ac0: 67%
0 of 32752 at 0x60328ab0: 68%
0 of 32752 at 0x60330aa0: 69%
0 of 32752 at 0x60338a90: 69%
0 of 32752 at 0x60340a80: 70%
0 of 32752 at 0x60348a70: 71%
0 of 32752 at 0x60350a60: 72%
0 of 32752 at 0x60358a50: 73%
0 of 32752 at 0x60360a40: 73%
0 of 32752 at 0x60368a30: 74%
0 of 32752 at 0x60370a20: 75%
0 of 32752 at 0x60378a10: 76%
0 of 32752 at 0x60380a00: 77%
0 of 32752 at 0x603889f0: 77%
0 of 32752 at 0x603909e0: 78%
0 of 32752 at 0x603989d0: 79%
0 of 32752 at 0x603a09c0: 80%
0 of 32752 at 0x603a89b0: 81%
0 of 32752 at 0x603b09a0: 81%
0 of 32752 at 0x603b8990: 82%
0 of 32752 at 0x603c0980: 83%
0 of 32752 at 0x603c8970: 84%
0 of 32752 at 0x603d0960: 85%
0 of 32752 at 0x603d8950: 85%
0 of 32752 at 0x603e0940: 86%
0 of 32752 at 0x603e8930: 87%
0 of 32752 at 0x603f0920: 88%
0 of 32752 at 0x603f8910: 89%
0 of 32752 at 0x60400900: 90%
0 of 32752 at 0x604088f0: 90%
0 of 32752 at 0x604108e0: 91%
0 of 32752 at 0x604188d0: 92%
0 of 32752 at 0x604208c0: 93%
0 of 32752 at 0x604288b0: 94%
0 of 32752 at 0x604308a0: 94%
0 of 32752 at 0x60438890: 95%
0 of 32752 at 0x60440880: 96%
0 of 32752 at 0x60448870: 97%
0 of 32752 at 0x60450860: 98%
0 of 32752 at 0x60458850: 98%
0 of 14300 at 0x60460840: 99%
Finished: 99%
info: Cortex_R5_0: Writing 1 chunk at offset 0x81000
info: Cortex_R5_0: Writing 2 chunk at offset 0x91000
info: Cortex_R5_0: Writing 3 chunk at offset 0xa1000
info: Cortex_R5_0: Writing 4 chunk at offset 0xb1000
info: Cortex_R5_0: Writing 5 chunk at offset 0xc1000
info: Cortex_R5_0: Writing 6 chunk at offset 0xd1000
info: Cortex_R5_0: Writing 7 chunk at offset 0xe1000
info: Cortex_R5_0: Writing 8 chunk at offset 0xf1000
info: Cortex_R5_0: Writing 9 chunk at offset 0x101000
info: Cortex_R5_0: Writing 10 chunk at offset 0x111000
info: Cortex_R5_0: Writing 11 chunk at offset 0x121000
info: Cortex_R5_0: Writing 12 chunk at offset 0x131000
info: Cortex_R5_0: Writing 13 chunk at offset 0x141000
info: Cortex_R5_0: Writing 14 chunk at offset 0x151000
info: Cortex_R5_0: Writing 15 chunk at offset 0x161000
info: Cortex_R5_0: Writing 16 chunk at offset 0x171000
info: Cortex_R5_0: Writing 17 chunk at offset 0x181000
info: Cortex_R5_0: Writing 18 chunk at offset 0x191000
info: Cortex_R5_0: Writing 19 chunk at offset 0x1a1000
info: Cortex_R5_0: Writing 20 chunk at offset 0x1b1000
info: Cortex_R5_0: Writing 21 chunk at offset 0x1c1000
info: Cortex_R5_0: Writing 22 chunk at offset 0x1d1000
info: Cortex_R5_0: Writing 23 chunk at offset 0x1e1000
info: Cortex_R5_0: Writing 24 chunk at offset 0x1f1000
info: Cortex_R5_0: Writing 25 chunk at offset 0x201000
info: Cortex_R5_0: Writing 26 chunk at offset 0x211000
info: Cortex_R5_0: Writing 27 chunk at offset 0x221000
info: Cortex_R5_0: Writing 28 chunk at offset 0x231000
info: Cortex_R5_0: Writing 29 chunk at offset 0x241000
info: Cortex_R5_0: Writing 30 chunk at offset 0x251000
info: Cortex_R5_0: Writing 31 chunk at offset 0x261000
info: Cortex_R5_0: Writing 32 chunk at offset 0x271000
info: Cortex_R5_0: Writing 33 chunk at offset 0x281000
info: Cortex_R5_0: Writing 34 chunk at offset 0x291000
info: Cortex_R5_0: Writing 35 chunk at offset 0x2a1000
info: Cortex_R5_0: Writing 36 chunk at offset 0x2b1000
info: Cortex_R5_0: Writing 37 chunk at offset 0x2c1000
info: Cortex_R5_0: Writing 38 chunk at offset 0x2d1000
info: Cortex_R5_0: Writing 39 chunk at offset 0x2e1000
info: Cortex_R5_0: Writing 40 chunk at offset 0x2f1000
info: Cortex_R5_0: Writing 41 chunk at offset 0x301000
info: Cortex_R5_0: Writing 42 chunk at offset 0x311000
info: Cortex_R5_0: Writing 43 chunk at offset 0x321000
info: Cortex_R5_0: Writing 44 chunk at offset 0x331000
info: Cortex_R5_0: Writing 45 chunk at offset 0x341000
info: Cortex_R5_0: Writing 46 chunk at offset 0x351000
info: Cortex_R5_0: Writing 47 chunk at offset 0x361000
info: Cortex_R5_0: Writing 48 chunk at offset 0x371000
info: Cortex_R5_0: Writing 49 chunk at offset 0x381000
info: Cortex_R5_0: Writing 50 chunk at offset 0x391000
info: Cortex_R5_0: Writing 51 chunk at offset 0x3a1000
info: Cortex_R5_0: Writing 52 chunk at offset 0x3b1000
info: Cortex_R5_0: Writing 53 chunk at offset 0x3c1000
info: Cortex_R5_0: Writing 54 chunk at offset 0x3d1000
info: Cortex_R5_0: Writing 55 chunk at offset 0x3e1000
info: Cortex_R5_0: Writing 56 chunk at offset 0x3f1000
info: Cortex_R5_0: Writing 57 chunk at offset 0x401000
info: Cortex_R5_0: Writing 58 chunk at offset 0x411000
info: Cortex_R5_0: Writing 59 chunk at offset 0x421000
info: Cortex_R5_0: Writing 60 chunk at offset 0x431000
info: Cortex_R5_0: Writing 61 chunk at offset 0x441000
info: Cortex_R5_0: Writing 62 chunk at offset 0x451000
info: Cortex_R5_0: Writing 63 chunk at offset 0x461000
error: Cortex_R5_0: Error Code 40000001
error: Cortex_R5_0: Error Loading the data...
error: Cortex_R5_0: Run failed...
error: Cortex_R5_0: File Loader: Failed to terminate flash programming: Algorithm indicated it failed to flash the data
Failed: File: HWCAPP/user_files/images/myprogram.appimage: Load failed.