AM263x MCU+ SDK  10.00.00
Loading an Application

Once the application image (.appimage/.mcelf) is created one needs to copy or flash these to a supported boot media so that the application can start executing once the SOC is powered ON

When flashing the application we also need to flash a bootloader or SBL image.

Tools

Tools
Device type CCS Loading (CCS Launch, Load and Run) TI Uniflash Tool Script based loading (Booting Tools)
HS-FS device Supported Supported only for .appimage binaries Supported
HS-SE device Not Supported Not Supported (verify) Supported

Loading via CCS

There are 3 methods to load a binary via CCS:

  • Loading an existing .out
  • Build and load .out directly in CCS
  • Load .appimage via SBL JTAG UNIFLASH

Loading an executable in CCS

  • A .out binary could be generated by either makefile build or via CCS build.
  • To load a makefile generated binary, launch target configuration in CCS --> click load program --> click "Browse"
  • Go to the binary path, select and click enter.
  • To load CCS built binary, click on "Browse projects" instead and select the binary from the list of projects.
  • For detailed explanation refer Load and run example binaries in CCS

Build and load using 1 click

Loading appimage via SBL JTAG UNIFLASH

  • This is a flash-writer example which uses JTAG to write files or erase flash.
  • It can perform the following operations:
    • Flash the received file at the given offset
    • Verify if the data in the received file is present at the given offset
    • Erase the entire flash.
  • Refer SBL JTAG Uniflash for steps.

Loading via TI Uniflash tool

  • TI UniFlash Tool is used for programming "On-chip" and "External flash" memory on TI microcontrollers.
  • It offers both GUI and command line interfaces.
  • Refer TI Uniflash Tool for detailed information.

Script based loaders/flashwriters

Tool Description
uart_bootloader.py Sends the SBL and appimage binaries over UART using XMODEM protocol
uart_uniflash.py Flashes SBL and applications to EVM flash using UART
can_bootloader.py Sends the application binaries over CAN given the SBL is already flashed
can_uniflash.py Flashes the application binaries after sending it over CAN given the SBL is already flashed

UART_BOOTLOADER

Refer UART Bootloader Python Script for details.

UART_UNIFLASH Flashwriter

Refer UART Uniflash for details.

CAN_BOOTLOADER

Refer CAN Bootloader Python Script for details.

CAN_UNIFLASH Flashwriter

Refer SBL CAN UNIFLASH for details.

Flashing a hello world application

Steps to flash the SDK hello world example is mentioned here Flash a Hello World example

Next step - Running the application

Go to Running an Application