Lab 2b: DSP/BIOS Configuration Tool
Lab 2b: DSP/BIOS Configuration Tool
Objective
Use Code Composer Studio and DSP/BIOS configuration tool to create a configuration database
files (*.CDB). The generated linker command file Labcfg.cmd will be then be used with Lab2.c
to verify its operation. The memory and sections of a “user” linker command file will be deleted,
however, the “user” linker command file will be needed and modified in future labs.
Lab 2b: Configuration Tool
Lab 2b: Configuration Tool
System Description:
System Description:
•
•
TMS320F2812
TMS320F2812
•
•
All internal RAM blocks allocated
All internal RAM blocks allocated
Placement of Sections:
Placement of Sections:
•
•
.text into RAM Block H0SARAM in code space (PAGE 0)
.text into RAM Block H0SARAM in code space (PAGE 0)
•
•
.
.
cinit
cinit
into RAM Block H0SARAM in code space (PAGE 0)
into RAM Block H0SARAM in code space (PAGE 0)
•
•
.
.
ebss
ebss
into RAM Block M1SARAM in data space (PAGE 1)
into RAM Block M1SARAM in data space (PAGE 1)
•
•
.stack into RAM Block M0SARAM in data space (PAGE 1)
.stack into RAM Block M0SARAM in data space (PAGE 1)
F2812
F2812
Memory
Memory
on-chip
memory
on
on
-
-
chip
chip
memory
memory
0x00 0000
0x00 0000
0x00 0400
0x00 0400
0x00 8000
0x00 8000
0x00 9000
0x00 9000
0x3F 8000
0x3F 8000
H0SARAM
(0x2000)
H0SARAM
H0SARAM
(0x2000)
(0x2000)
M1SARAM
(0x400)
M1SARAM
M1SARAM
(0x400)
(0x400)
L1SARAM
(0x1000)
L1SARAM
L1SARAM
(0x1000)
(0x1000)
L0SARAM
(0x1000)
L0SARAM
L0SARAM
(0x1000)
(0x1000)
M0SARAM
(0x400)
M0SARAM
M0SARAM
(0x400)
(0x400)
System Description
• TMS320F2812
• All internal RAM blocks allocated
Placement of Sections:
• .text into RAM Block H0SARAM in code space (PAGE 0)
• .cinit into RAM Block H0SARAM in code space (PAGE 0)
• .ebss into RAM Block M1SARAM in data space (PAGE 1)
• .stack into RAM Block M0SARAM in data space (PAGE 1)
Procedure
Project Lab2.pjt
1. If Code Composer Studio is not running from the previous lab exercise, double click on
the CCS 2 (‘C2000) icon on the desktop. Maximize CCS to fill your screen. Then select
2 - 26 C28x - Programming Development Environment