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.

Compiler: RTOS

Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI C/C++ Compiler

Hi,

    We use RTOS configuration tool(RTOS_CPU1_cfg) for operating system configuration. For "Load Segment for Flash configuration functions" option, Whether it needs to be consistent with the configuration in the CMD file, and what will happen if it is inconsistent?

  • Hi Pan,

    I think the BIOS load segment for flash configuration functions does not include the FlashAPI library, so as far as I can tell, there would not be a conflict.  What gets generated by BIOS for the flash controller configuration function is the following (I didn't change the segment from the default):

    /* Content from ti.sysbios.family.arm.f2838x.init (ti/sysbios/family/arm/f2838x/init/linkcmd.xdt): */

    SECTIONS {
        .text:ti_sysbios_family_arm_f2838x_init_Boot_flashfuncs : LOAD = CMBANK0_SECTOR0, RUN = S0RAM, table(BINIT)
    }

    I don't have the FlashAPI.lib to add to my TMS320F2838x.cmd file to test the build with this library, but changing the section of .TI.ramfunc didn't cause any build problems.

    Are you getting any build errors or warnings?  If not, you can look at the .map file and see where things got placed.

    Best regards,

    Janet