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.
Hello everyone
(target C6678, CCS v6.000.0.98)
For our custom board, on the same "C/C++ project"
we build 32 binaries (.out) using TI's C6x compiler/linker..
It also means we produce 32 .xml and .map files, etc.
When we try to use "memory allocation view" it says that we need to set up the "link-info file path" but when we click it does nothing.
A workaround I found is to have a separate "hello world" project built.
In the debug folder I replace the helloworld_linkInfo.xml with our own (from one of the 32 cores big project) and rename it.
Then it works and shows me the memory allocation for the initial project.
Is there any plans to improve this ?
A simple "open file" dialog would solve this I think.
Regards,
Clement
Clement,
What do your build options look like? The memory allocation view will be looking for a specific naming format.
For me my project is called MemViewC6 and this is the option that is generated by default.
--xml_link_info="MemViewC6_linkInfo.xml"
For you on the project that doesn't work what does the filename look like?
When creating a new project CCS sets that option using a macro that contains the project name:
How are you handling the 32 outputs, are they separate project configurations?
I agree that being able to load a file would be useful, especially if you could load multiple and compare side by side. I filed an entry to track that request (SDSCM00050906).
Regards,
John
John,
Please note that:
it is not a CCS project
it is a C/C++ project where we generate a custom makefile.
When the user runs "make", all 32 binaries are built using TI C6x compiler.
Our generated xml has a custom name for each core think "core1.xml" "core2.xml", etc.
They all live in the C/C++ project.
Even when I manually rename one of them to "myprojectname_linkInfo.xml", the "memory allocation view" doesn't see it.
You can even reproduce the issue easily :
1- In a empty C/C++ project called "myproject" copy/paste a linkInfo.xml file from a working CCS project.
2- rename the file to "myproject_linkInfo.xml"
3- show the "memory allocation view"
It won't display the content of the file.
Clement