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.

SYSCONFIG: How to add library to ti.ramfunc section using CMD Tool

Part Number: SYSCONFIG


Hello,

I am using the Sysconfig tool for developing a firmware updater for my project. I am using as reference the flash kernel and flash programming projects for the TMS320F2838X. They do not use Sysconfig but I would like to use it, because it helps for the following parts of the projects.

How do I add the FlashAPI.lib to be part of .TI.ramfunc section (or any other library) using the CMD Tool of SysConfig?

I don't know if it is possible. I expect the result to be like the following image, taken from the "flash programming" example. 

The following are the options that are available in the ramfunc sections of the sysconfig tool:

Thanks in advance. 

Regards

Agustin

  • Agustin,

    I don't think it is possible to add library to the TI.ramfunc section using the CMD tool .

    You can create a user section 

    which geneates the following code in the linker command file

    Best Regards

    Siddharth

  • Hello Sddharth,

    Thank you for your answer, it works.

    I realized also that it is not necessary to group the section because the CMD_init() function will copy every section assigned to be loaded from RAM, and not just the TI.ramfunc as usual (I think that was the reason it was grouped before)

    It would be more helpful if the tool can add automatically "-l " or "library="

    I want also to report a possible small bug. when I combine the RAMLS0 to RAMLS3 in the tool, e.g. with the name RAMLS03, in the combobox "Run From " does not appear this combined section, but the 4 RAMLS sections separated, which theoretically should not exist anymore, because of the defined combination. I worked it around just adding the 4 sections.

    Thanks again

    Kind Regards 

    Agustin