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.

CCS/AM5746: How to create an XIPboot project

Part Number: AM5746

Tool/software: Code Composer Studio

Hi TI Experts,

I have a question.

I am studying the boot method using XIP.

I would like to do the following SBL equivalent with XIPboot.

processors.wiki.ti.com/.../Creating_a_CCS_Project_for_SBL_on_AM572x_GP_EVM

· Can I create XIPboot project with CCS?
· Is there any example project to be helpful?

I look forward to hearing from you soon.
Yours sincerely,

  • The RTOS team have been notified. They will respond here.
  • We currently don`t support QSPI XIP or NOR XIP boot on AM572x using Secondary bootloader in Processor SDK RTOS. Currently only QSPI and MMC SD boot is supported where the secondary bootloader is copied into OCRAM which then executes SOC and DDR initialization and copies the images to device memory.

    You can choose to follow the ROM bootloader spec in the initialization chapter to implement this boot. There are other devices like AM437x on which we do support QSPI XIP boot so that can be used as reference.

    Regards,
    Rahul
  • Hi Rahul,
    Thank you for your reply!

    >We currently don`t support QSPI XIP or NOR XIP boot on AM572x using Secondary bootloader in Processor SDK RTOS.

    I know that Processor SDK RTOS does not support GPMC Driver for AM57x
    · If you want to do NOR XIP boot with GPMC, do you need to make your own GPMC driver so that XIP boot code can be placed in the GPMC memory map area?


    >You can choose to follow the ROM bootloader spec in the initialization chapter to implement this boot. There are other devices like AM437x on which we do support QSPI XIP boot so that can be used as reference.

    I found the following site.
    e2e.ti.com/.../2654487

    · Also in AM5746, should I understand that XIP boot is possible with QSPI device unless GP header is added?


    Best regards.
  • There is a GPMC driver available for AM335x and AM437x and there is an example of GPMC NOR in the CSL examples that was created on an alternate platform that is used by our auto team that you can leverage as a starting point:

    GPMC driver for Processor SDK RTOS for AM335x/AM437x :
    git.ti.com/.../gpmc-lld

    GPMC CSL support for AM57xx, check the example for GPMC that is found here:
    pdk_am57xx_1_0_xx\packages\ti\csl\example\gpmc\nor_read_write

    For XIP boot, the ROM just configures the GPMC peripheral and branches to the base address of the chip select memory address to find the entry point of the application. GP header is required on flash where the image needs to be copied to device memory.

    Regards,
    Rahul