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

C2000 Linker Command Tool – Code Generation

The linker CMD tool generates a series of files:

  • device_cmd.cmd: This is the main file that contains the linker command file entries based on the selected options in the GUI.
  • device_cmd.c: This file contains the initialization code for specific memory sections that are required to run from a different address than the one they were loaded from.
  • device_cmd.h: The header source file that goes hand-in-hand with the device_cmd.c file.
  • device_cmd.opt: In the context of a Code Composer Studio project, the entries in the OPT file are the compiler options needed by the CMD tool. These options are automatically appended to the project.
  • device_cmd.cmd.genlibs: In the context of a Code Composer Studio project, the entries in the GENLIBs file are the linker options needed by the CMD tool. These options are automatically appended to the project, given that the linker references this file in the project properties.