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.

Map file question

Other Parts Discussed in Thread: TMS320F2812, TMS320F28335

What is the difference between Page 0 and Page 1 in the Memory Configuration in the .map file (created using CCS5 for TMS320F2812 processor)? What determines how a memory region is associated with Page 0 or Page 1?

  • This wiki article explains how pages are set up in the linker command file.  It should help you understand what you see in the map file.

    Thanks and regards,

    -George

  • Where is the linker command file in CCS5?
  • In the Project Explorer view, look at the directory like tree under the project name.  You will see folders named after the available build configurations: usually Debug and Release.  Expand the folder for the build configuration used on the last build, typically Debug.  There you will see all the files created by the build, including the map file.  It is named project_name.map.

    Thanks and regards,

    -George

  • One should have been created in your project directory when you created your CCS project. I am using a TMS320F28335 and the linker command file created for my project is F28335.cmd.

    Stephen
  • For a standard CCS executable project, you are expected to explicitly provide your own linker command file.  For SYS/BIOS (or RTSC in general?) projects, the linker command file will be generated for you, based on your settings elsewhere.

    For projects where you are providing your own linker command file, you might be able to use an example linker command file as a starting point.  The wiki has a page with examples, although I don't see one for your platform.  You might look in your TI installation for example linker command files.  I don't have c28xx and CCS5 installed, but I do have a ti/ccsv5/ccs_base/c6000/include which contains examples for C6000 family; perhaps there is a similar location for your product.  If not, there might be some example projects somewhere you can steal from.  Otherwise, you can get the needed info from the memory map description for you part and probably the Assembly Language Tools document for your part.

    For such executables, you indicate the linker command file you want to use by <project properties> > General > Main > Advanced Settings > Linker command file.