SPRAD49 January   2023 TMS320F2800132 , TMS320F2800133 , TMS320F2800135 , TMS320F2800137 , TMS320F2800152-Q1 , TMS320F2800153-Q1 , TMS320F2800154-Q1 , TMS320F2800155 , TMS320F2800155-Q1 , TMS320F2800156-Q1 , TMS320F2800157 , TMS320F2800157-Q1 , TMS320F280021 , TMS320F280021-Q1 , TMS320F280023 , TMS320F280023-Q1 , TMS320F280023C , TMS320F280025 , TMS320F280025-Q1 , TMS320F280025C , TMS320F280025C-Q1 , TMS320F280033 , TMS320F280034 , TMS320F280034-Q1 , TMS320F280036-Q1 , TMS320F280036C-Q1 , TMS320F280037 , TMS320F280037-Q1 , TMS320F280037C , TMS320F280037C-Q1 , TMS320F280038-Q1 , TMS320F280038C-Q1 , TMS320F280039 , TMS320F280039-Q1 , TMS320F280039C , TMS320F280039C-Q1 , TMS320F280040-Q1 , TMS320F280040C-Q1 , TMS320F280041 , TMS320F280041-Q1 , TMS320F280041C , TMS320F280041C-Q1 , TMS320F280045 , TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F28374D , TMS320F28375D , TMS320F28376D , TMS320F28377D , TMS320F28377D-EP , TMS320F28377D-Q1 , TMS320F28378D , TMS320F28379D , TMS320F28379D-Q1 , TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S , TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1

 

  1.   Abstract
  2.   Trademarks
  3. 1Introduction
  4. 2C2000 Linker Command Tool – GUI Configurations
    1. 2.1 Memory Combination
    2. 2.2 Memory Sections
    3. 2.3 CLA Sections
  5. 3C2000 Linker Command Tool – Code Generation
    1. 3.1 device_cmd.cmd File
    2. 3.2 Supporting Files
  6. 4Migration Across Device Families
  7. 5Summary
  8. 6References

Introduction

The linker command file is used during the link stage of the application build where the linker combines object files and allocates sections into the target system's configured memory. The linker command file is an ASCII file that uses two linker directives, MEMORY and SECTIONS, to allocate sections into specific areas of memory. The MEMORY directive defines target memory configuration. The SECTIONS directive controls how sections are built and allocated. In addition, the linker command file can also include input filenames and linker options.

The Linker Command File Primer page covers the basics of linker command files, focusing on the MEMORY and SECTIONS directives.

Creating a new linker command file from scratch or even editing an existing linker command file template can be difficult for new users. Users must understand the structure of linker command files along with their specific device’s memory structure.

The C2000 Linker CMD Tool significantly simplifies the task of creating new or editing existing linker command files by providing the following features:

  • Intuitive GUI-based that showcases all available customization options
  • Error checking to help you to avoid making mistakes
  • Auto-generate CMD files
  • Automatic Code Composer Studio™ project property modification
  • Auto-generate additional C source and header files for initializing memory sections
  • Showcasing the available memories for the selected device family

Utilizing the C2000 Linker CMD tool can speed up the software development for new and advanced users.