Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

66AK2G12: Need Guidance on Bare-Metal Development and Booting from SPI/NAND Flash on 66AK2G12

Part Number: 66AK2G12
Other Parts Discussed in Thread: OMAPL138

Tool/software:

Hello TI Community,

We are currently working with the 66AK2G12 SoC (KeyStone II architecture) based development board (already purchased) and need help with the following tasks:

  1. Running Bare-Metal Code: We aim to run bare-metal code on the 66AK2G12 SoC. We would appreciate any guidance on setting up a bare-metal application environment for the ARM and DSP cores.
  2. Booting from SPI/NAND Flash: We are looking for support on how to download the application code to SPI or NAND Flash and configure the system to boot from there.

Requirements:

  1. Bare-Metal Code Setup:

    • Example: We are seeking a basic example of a bare-metal project for the 66AK2G12, particularly focusing on initializing the system (clock, GPIO, memory, etc.) and running simple code on the ARM and DSP cores.
    • Toolchain: We plan to use Code Composer Studio (CCS) or GCC to compile the code. Are there specific steps or configurations required for setting up a bare-metal environment?
    • Start-up Files: Do we need specific start-up files (e.g., linker scripts, startup assembly files) for both the ARM and DSP cores? Any recommended resources?
  2. Booting from SPI or NAND Flash:

    • SPI Boot: Could you provide steps or examples of configuring the 66AK2G12 to boot from SPI Flash? We are interested in knowing how to load the bare-metal code into SPI Flash and how to configure the boot sequence.
    • NAND Boot: If booting from NAND Flash is more suitable, we would like guidance on how to configure and download the code to NAND Flash.
    • Memory Layout: We are unsure about how to organize memory for booting from either SPI or NAND. Any recommendations on partitioning or memory layout for these storage types?

Questions:

  1. Are there specific start-up files or initialization sequences recommended for bare-metal development on this platform (especially with ARM and DSP cores)?
  2. Is there a reference example or tutorial available for running bare-metal code on the 66AK2G12?
  3. Can you share instructions or reference materials on how to configure SPI or NAND Flash booting for the 66AK2G12 SoC?
  4. Are there any pre-built bootloaders or tools from TI to assist with this process? If so, how do we integrate them with our bare-metal application?

Development Tools:

  • Code Composer Studio (CCS) version: [insert version]
  • TI Processor SDK: [insert version, if applicable]
  • Device Family: 66AK2G12
  • Boot Type: SPI/NAND Flash

We greatly appreciate your assistance in pointing us toward the correct resources, examples, or any documentation to achieve our goals.

Thank you!