Lab 2: Linker Command File
C2000 Microcontroller Workshop - Programming Development Environment
2 - 19
Lab 2: Linker Command File
Objective
Use a linker command file to link the C program file (Lab2.c) into the system described below.
Lab 2: Linker Command File
System Description:
•
TMS320F28069
•
All internal RAM
blocks allocated
Placement of Sections:
•
.text into RAM Block L4SARAM on PAGE 0 (program memory)
•
.cinit into RAM Block L4SARAM on PAGE 0 (program memory)
•
.ebss into RAM Block M0SARAM on PAGE 1 (data memory)
•
.stack into RAM Block M1SARAM on PAGE 1 (data memory)
F28069
Memory
on-chip
memory
0x00 0000
M0SARAM
(0x400)
M1SARAM
(0x400)
L0DPSARAM
(0x800)
L1DPSARAM
(0x400)
L2DPSARAM
(0x400)
L3DPSARAM
(0x1000)
0x00 0400
0x00 8000
0x00 8800
0x00 8C00
0x00 9000
0x00 A000
L4SARAM
(0x2000)
L5DPSARAM
(0x2000)
L6DPSARAM
(0x2000)
L7DPSARAM
(0x2000)
L8DPSARAM
(0x2000)
0x00 C000
0x00 E000
0x01 0000
0x01 2000
Initial Hardware Set Up
Insert the F28069 controlCARD into the Docking Station connector slot. Using the supplied
USB cable – plug the USB Standard Type A connector into the computer USB port and the USB
Standard Type B connector into the Docking Station. On the Docking Station move switch SW1
to the “USB” position. This will power the Docking Station and controlCARD using the power
supplied by the computer USB port. Additionally, this USB port will provide the JTAG
communication link between the device and Code Composer Studio.
Initial Software Set Up
Code Composer Studio
must be installed in addition to the workshop files. A local copy of the
required
controlSUITE
files is included with the lab files. This provides portability, making the
workshop files self-contained and independent of other support files or resources. The lab
directions for this workshop are based on all software installed in their default locations.
Procedure
Start Code Composer Studio and Open a Workspace
1.
Start Code Composer Studio (CCS) by double clicking the icon on the desktop or
selecting it from the Windows Start menu. When CCS loads, a dialog box will prompt
you for the location of a workspace folder. Use the default location for the workspace
and click
OK
.
Summary of Contents for C2000 Piccolo LaunchPad
Page 74: ...Interrupts 4 18 C2000 Microcontroller Workshop Reset and Interrupts ...
Page 100: ...Lab 5 System Initialization 5 26 C2000 Microcontroller Workshop System Initialization ...
Page 218: ...Lab 8 IQmath FIR Filter 8 42 C2000 Microcontroller Workshop Numerical Concepts ...
Page 334: ...F28069 controlCARD A 4 C2000 Microcontroller Workshop Appendix A Experimenter s Kit SW2 ...
Page 336: ...F28035 controlCARD A 6 C2000 Microcontroller Workshop Appendix A Experimenter s Kit SW2 SW3 ...