Creating a Linker Command File
Remember that the DSP has two memory maps: Program, and Data. Therefore, the MEMORY
description must describe each of these separately. The loader uses the following syntax to
delineate each of these:
Linker Page TI Definition
Page 0 Program
Page 1 Data
Linker Command File
Linker Command File
MEMORY
MEMORY
{
{
PAGE 0: /* Program Space */
PAGE 0: /* Program Space */
FLASH: org = 0x3D8000,
FLASH: org = 0x3D8000,
len
len
= 0x20000
= 0x20000
PAGE 1: /* Data Space */
PAGE 1: /* Data Space */
M0SARAM: org = 0x000000,
M0SARAM: org = 0x000000,
len
len
= 0x400
= 0x400
M1SARAM: org = 0x000400,
M1SARAM: org = 0x000400,
len
len
= 0x400
= 0x400
}
}
C28x - Programming Development Environment 2 - 13