Linker CMD Files for CCS

From Texas Instruments Wiki
Jump to: navigation, search

IMPORTANT: CCSv5.2 and newer adds all the information present on this page for all the supported devices.



Introduction

This page contains Linker command files to be used in Code Composer Studio projects.
These files are provided as-is without support.

Usage:

1. Download the file corresponding to your device
2. Extract the file anywhere in your system
3. Link or Add it to your project. From within CCS, right-click in your project and select either Link files or Add files


Notes:
  • These files were verified to work in the development boards of the devices below. However, if your board has a different memory configuration you may need to edit the files. In this case, carefully inspect the MEMORY and SECTIONS directives.
MEMORY defines names for physical memory address regions
SECTIONS assigns each piece of code or data to a MEMORY name
  • These files do not define a size for stack and heap memory, thus requiring you to specify their sizes using the linker options --stack_size and --heap_size.
  • Where applicable, these files allocate all SECTIONS to Internal RAM. Depending on your application the space may be insufficient. Please modify the files accordingly to move large SECTIONS to External RAM but don't forget you will have to properly initialize it with a suitable GEL File for your board (provided by your board manufacturer).


Refer to the Linker section of the Assembly Language Tools user's guide relative to your device. Links to these documents can be found at:
http://processors.wiki.ti.com/index.php/Before_asking_for_CGT_support

Device Families

Integra

C6A816x. All sections are allocated to external RAM memory. A GEL file is required from the board manufacturer.
OMAPL137
OMAPL138



Sitara

AM1707
AM1808
AM335x
AM3715. Use the Linker CMD file for DM3730 below. Same restrictions apply.
AM389x



DaVinci

DM355. All sections are allocated to external RAM memory. A GEL file is required (provided with CCS).
DM357. All sections are allocated to external RAM memory. A GEL file is required (provided with CCS).
DM365. All sections are allocated to external RAM memory. A GEL file is required (provided with CCS).
DM3730. All sections are allocated to external RAM memory. A GEL file is required (available here).
DM6437. All sections are allocated to internal SRAM memory. A GEL file is required (provided with CCS).
DM6446. All sections are allocated to external RAM memory. A GEL file is required (provided with CCS).
DM6467. All sections are allocated to external RAM memory. A GEL file is required (provided with CCS).
OMAP3530. All sections are allocated to external RAM memory. A GEL file is required (provided with CCS).
DM814x. All sections are allocated to external RAM memory. A GEL file is required from the board manufacturer (check the package Diagnostics Software).
DM816x. Use the Linker CMD file for C6A816x above. Same restrictions apply.



OMAP

OMAP4430. All sections are allocated to internal RAM (L3).



C6000

C6416
C6424 Includes cmd file, GEL file and sample code for the C6424 EVM from Spectrum Digital
C6455
C6472 Segmented memory model. Requires defining the core (CORE0, CORE1, etc.) via project linker options (-dCORE0, -dCORE1, etc). For details, check the page Project Build Configurations.
C6472 Unified memory model
C6474 Segmented memory model. Requires defining the core (CORE0, CORE1, etc.) via project linker options (-dCORE0, -dCORE1, etc). For details, check the page Project Build Configurations.
C6474 Unified memory model
C6678 Segmented memory model. Requires defining the core (CORE0, CORE1, etc.) via project linker options (-dCORE0, -dCORE1, etc). For details, check the page Project Build Configurations.
C6678 Unified memory model
C6713
C6747
C6748



C5000

C5402
C5402 with blocked memory
C5409
C5409 with blocked memory
C5410
C5410 with blocked memory
C5416
C5416 with blocked memory
C5502
C5505
C5510