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.
Hi,
If I change this line in the Linker Command File :
FLASHA_B : origin = 0x3E0000, length = 0x017F80 /* on-chip FLASH */
to this:
FLASH : origin = 0x3E0000, length = 0x017F80 /* on-chip FLASH */
It doesn't appear in the Memory allocation window anymore. Why? and how do I fix it.
Thanks!
Did you rebuild the application? The Memory Allocation view uses a generated XML file from the build to populate the view. If that XML file is not regenerated after you change your cmd file, then it won't pick up the change.
Thanks
ki
Yes I rebuild my application.
This is the part in the xml file:
<memory_area display="yes" color="green">
<name>FLASH</name>
<page_id>0x0</page_id>
<origin>0x3e0000</origin>
<length>0x17f80</length>
<used_space>0x6d9f</used_space>
<unused_space>0x111e1</unused_space>
<attributes>RWIX</attributes>
<usage_details>
<allocated_space>
<start_address>0x3e0000</start_address>
<size>0x6d4d</size>
<logical_group_ref idref="lg-4"/>
</allocated_space>
<allocated_space>
<start_address>0x3e6d4d</start_address>
<size>0x3e</size>
<logical_group_ref idref="lg-2"/>
</allocated_space>
<allocated_space>
<start_address>0x3e6d8b</start_address>
<size>0x14</size>
<logical_group_ref idref="lg-10"/>
</allocated_space>
<available_space>
<start_address>0x3e6d9f</start_address>
<size>0x111e1</size>
</available_space>
</usage_details>
</memory_area>
So I don't think that is the problem.
evs said:Yes I rebuild my application.
Looks like the view is not updating correctly. Can you close and re-open the view? If that doesn't help, did you try restarting the debug session?
And what version of CCS are you using?
I already tried all the basic reboot, restart stuff. So that doesn't help. I also scanned if there where multiple linkinfo.xml file with the same project name. But no.
I think it is odd if I change the name of the Flash in something else TI specified they disappear. So are the names hard coded?
My CCS is:
Version: 6.0.1.00040
I can't seem to reproduce this. Before you renamed it, FLASHA_B appeared in the view? Can you show me a screenshot of the view working? And copies of both xml files?
Complete copy or snipout?
<memory_area display="yes" color="green">
<name>FLASHA_B</name>
<page_id>0x0</page_id>
<origin>0x3e0000</origin>
<length>0x17f80</length>
<used_space>0x6f87</used_space>
<unused_space>0x10ff9</unused_space>
<attributes>RWIX</attributes>
<usage_details>
<allocated_space>
<start_address>0x3e0000</start_address>
<size>0x6d4d</size>
<logical_group_ref idref="lg-4"/>
</allocated_space>
<allocated_space>
<start_address>0x3e6d4d</start_address>
<size>0x226</size>
<logical_group_ref idref="lg-2"/>
</allocated_space>
<allocated_space>
<start_address>0x3e6f73</start_address>
<size>0x14</size>
<logical_group_ref idref="lg-10"/>
</allocated_space>
<available_space>
<start_address>0x3e6f87</start_address>
<size>0x10ff9</size>
</available_space>
</usage_details>
</memory_area>
It is a intraspin program. TI made it very convenient for them to make a lot of demo programs. But it is a total horror to set it up to make a real program with it. So I don't want to change it, because if I break it take days to find the problem. Can you please tell me where I have to look in the environment?
If you use a new workspace folder, you can still import the projects from the other workspace so you don't have to recreate it.
Of you can try running CCS with the -clean option:
http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv6#General_IDE