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,
I'm having a problem using CCS.
CCS is version 5.3.0.00090 and installed to Windows7 64bit.
When I try to configure the memory section from RTSC configuration file,
"Add button" is gray shaded so that I can't add the memory section.
Is this a bug of CCS? Is there any workaround for this?
By the way, I also installed CCSv5.3 to Windows7 32bit for check,
but the same problem appeared. It might be bug of CCSv5.3.
best regards,
g.f.
Is your requirement to add a new memory range to the RTSC configuration file, or simply to allocate a particular section to a different memory area than the default?
If it is to add a new memory range you would need to create a new RTSC platform using the RTSC platform wizard. Please see this wiki topic for more background information.
If this is not what you were looking for or we misunderstood please let us know.
Hi AartiG,
Thank you for the response.
I'm sorry that the contents of contribution are incomprehensible.
I created RTSC platform successfully.
I'm trying to add custom memory section from RTSC configuration file which I already created.
The following is what I did:
1.Open RTSC configuration file with XGCONF
2.Open the Sections Page where we can add custom memory section,
but the "add" button was gray shaded and not able to press.
I will attach a screen shot of Sections Page to this post,
please take a look.
best regards,
g.f.
As far as I know the capability to modify section allocation via the XGCONF GUI still does not exist. I see that it does display the sections and available memory segments but I don't believe the functionality to modify it from there currently exists. You can, however, modify the .cfg script directly to customize section placements as documented here:
http://rtsc.eclipse.org/docs-tip/Memory_Management#Controlling_the_generated_linker_command_file
Hi AartiG,
I modified the .cfg script directly but the following error occurred:
=============================================
xdc.cfg.Program: no property named 'sectMAP'
=============================================
I just add the following to the .cfg script and build the project.
========================================================
Program.sectMap[".mysect"] = new Program.SectionSpec();
Program.sectMap[".mysect"].loadSegment = "IRAM";
========================================================
Am I missing something?
Or should I just modify the linker command file after generated?
Or should I use down version of CCS like v5.2?
Because in CCSv5.2, I can add custom memory section from XGCONF GUI.
best regards,
g.f.
g.f. said:I just add the following to the .cfg script and build the project.
========================================================
Program.sectMap[".mysect"] = new Program.SectionSpec();
Program.sectMap[".mysect"].loadSegment = "IRAM";
========================================================
That syntax looks correct and should work. In fact I just added to those lines to a simple RTSC example program and it built for me without errors, so I'm not sure why you are seeing those errors.
Did you add those lines to the end of the .cfg file? Did you do a Rebuild project after adding those lines?
g.f. said:Or should I just modify the linker command file after generated?
This would not work as the linker.cmd is auto-generated and will be over-written on consecutive builds.
g.f. said:Because in CCSv5.2, I can add custom memory section from XGCONF GUI.
I just noticed that this could be done from XGCONF GUI in CCS 5.2, I was not aware of it before. I am not sure why this behavior was changed for CCS 5.3 but I think this will be best answered by the folks in the BIOS forum. Would you mind posting this as well as the error when modifying the .cfg script (if it does not get resolved) to the BIOS forum? Sorry I couldn't be of more immediate assistance.