Hi,
I know memory definitions come from Platform or config.bld in CCS RTSC project environment, but can I define memory definition in cfg file rather than using these files ?
Fyi, I'm using XDCTools 3.23.4.60.
Best Regards,
Naoki
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 know memory definitions come from Platform or config.bld in CCS RTSC project environment, but can I define memory definition in cfg file rather than using these files ?
Fyi, I'm using XDCTools 3.23.4.60.
Best Regards,
Naoki
Naoki,
If you are wanting to change the memory map in the .cfg file, then the answer is no. You need to create a new platform, or do this in config.bld. The memory map must be “sealed” before the .cfg script is processed. There is some discussion here: e2e.ti.com/.../196502
You can place sections in your .cfg file (see Program.sectMap()), but you cannot add or redefine memory segments.
Regards,
Scott
Naoki,
memory layout cannot be changed at the time when the config script runs. Different packages get control during the config script (and even before) and they can configure themselves based on the memory layout. Any change in the memory layout during the config script could create inconsistent view of memory, for example one package can allocate its private section to SRAM, and then the user decides to split SRAM to SRAM1 and SRAM2, etc.