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.

ought to allocate the section of .econst to page0 or page1?

In Table 7-1. on page 109 of the SPRU514c,said ought to allocat tke section of .econst to page1.But in spraau8,allocate .econst to page0:

f2808_nonBIOS_ram.cmd

 SECTIONS

{

.....

.econst           : > L0SARAM,        PAGE = 0

.....

}

ought to allocate the section of .econst to page0 or page1?

  • Typically program is allocated to page 0 and data to page 1.  Since C2000 has unified memory (same physical memory is available in both program and data space) it doesn't really matter. 

    Note that there is one exception to this that I can think of.  Some flash programmers - such as SDFlash - will only pickup sections mapped to page 0 for flash programming.  In this case you need to have any constants or switch sections assigned to page 0 or the programmer won't pick it up.  The code composer studio flash plug-in does not have this limitiation.

    Regards

    Lori