SDAA476 July   2026 AM13E23019

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
    1. 1.1 TI AM13E230x Introduction
    2. 1.2 AI Toolchain for TI MCU Introduction
  5. 2Detailed Description
    1. 2.1 Sysconfig Settings for EPI
      1. 2.1.1 Refresh Count
      2. 2.1.2 EPI Clock Divider
    2. 2.2 AI Model Library Deployment for External SRAM Execution
      1. 2.2.1 Step 1: Add the AI “.a” File to the CCS Project
      2. 2.2.2 Step 2: Linker Script Change (`linker_m33_ti_arm_clang.cmd`)
      3. 2.2.3 'main.c' Changes
        1. 2.2.3.1 Include Headers
        2. 2.2.3.2 Declare Linker-Generated Symbols
        3. 2.2.3.3 memcpy Function
        4. 2.2.3.4 Place the Entry Function in the SDRAM Section
        5. 2.2.3.5 main() Boot Sequence
      4. 2.2.4 Step 4: CSS Project Validation
    3. 2.3 H/W Design Best Practices
  6. 3Summary
  7. 4References

memcpy Function

This function copies the section from Flash to SDRAM using the TI linker symbol convention. '&sdram_code_loadstart' gives the value the linker assigned.

memcpy(&sdram_code_runstart,&sdram_code_loadstart,(size_t)&sdram_code_loadsize);