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.

how to change memory map in CCSV5 using sysbios

Other Parts Discussed in Thread: TMS320C6455, SYSBIOS

hello, I', using ccsv5 developing tms320c6455, in my program, I want reserve some space in IRAM,for example I want reserve 0x800000-0x800400, soin the sysbios,I select  "Program", in this page , I want chage the memory map for IRAM, but I find it can't be modified,and I don't want create a new platform using rtsc tool, how could I solve this problem, waiting for your answer, thank you!

  • Using the Platform Wizard and creating your own platform would be the easiest solution. However, if you are not willing to do that there are alternative solutions that have some disadvantages. One of them is to copy the linker command file generated by XDCtools in Debug/configPkg/linker.cmd to a file which you can name myLink.cmd, for example. Edit myLink.cmd according to your needs and add the following line to your CFG script:
    Program.linkCmdTemplate = "../myLink.cmd";

    A major disadvantage of this workaround is that whenever you make a change in the CFG script that impacts the generated linker command file, you have to comment out the line that sets Program.linkTemplate, rebuild, and repeat the steps above again. The changes that impact the generated file are adding or removing a package from the configuration, changing section allocations, and probably some others that I don't remember now.