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/AM5718: Build XIP application

Part Number: AM5718

Tool/software: Code Composer Studio

Hi

 

Target: MB5718

CSS: Version: 8.3.0.00009

 

How is it possible to setup the CSS so it will compile and link the code for a NOR flash (XIP fast external boot mode)?

 

I guess I have to compile and link with --rom_model and set the execution address to 0x0800 0000, is that enough ?

 

Second, I want to override the Bootstrap start _c_int00

How is this done in CSS, I assume I should import the source file that contain _c_int00 into my Project and then setup CSS in some way ?

 

I want to do some special initializing before I call _c_int00

 

Regards

  • Stefan,

    We are currently only support SD/MMC and QSPI boot in Processor SDK RTOS from an SBL perspective as the IDK hardware offering only allows us to checkout those boot modes for the Processor SDK RTOS release.  However, we have checked out NOR XIP boot on our silicon bringup and Automotive platforms. The boot image format for XIP boot in BIN format and not the TIIMAGE format and the entry location is specified at the base of NOR direct flash addressing so the ROM can branch the core to the start address of the application

    In general the instructions to create XIP boot image for AM572x is similar to the steps that have been described for AM437x in the application notes here:

    (Section 7)

    If you want to look at the implementation of this boot on AM57xx, you can check out the nor flash writer and SBL image for XIP boot in PRocessor SDK RTOS Automotive that supports DRA7xx auto platforms. I am attaching the user guide for your consideration:

    SBL_UserGuide.pdf

    Note : This software offering is only supported on the Automotive HW EVM and not on the AM571x IDK

    Regards,

    Rahul

  • I see, thanks for the information, I will dig into the information you provided, thanks