Exercise 2a
Exercise 2a
Looking at the following block diagram, and create a linker command file.
Exercise 2a
Exercise 2a
F2812
F2812
M0SARAM
M0SARAM
(0x400)
(0x400)
M1SARAM
M1SARAM
(0x400)
(0x400)
L0SARAM
L0SARAM
(0x1000)
(0x1000)
L1SARAM
L1SARAM
(0x1000)
(0x1000)
0x00 0000
0x00 0000
0x00 0400
0x00 0400
0x00 8000
0x00 8000
0x00 9000
0x00 9000
FLASH
FLASH
(0x20000)
(0x20000)
0x3D 8000
0x3D 8000
H0SARAM
H0SARAM
(0x2000)
(0x2000)
0x3F 8000
0x3F 8000
Create the linker command file for the given memory
Create the linker command file for the given memory
map by filling in the blanks on the following slide
map by filling in the blanks on the following slide
Fill in the blanks:
Exercise 2a
Exercise 2a
-
-
Command File
Command File
Memory
Memory
{
{
PAGE__: /* Program Space */
PAGE__: /* Program Space */
_____: org = ____
_____: org = ____
___,
___,
len
len
= ___
= ___
___
___
______: /* Data Space */
______: /* Data Space */
_______: org = ___
_______: org = ___
____,
____,
len
len
= _____
= _____
_______:
_______:
org = ____
org = ____
___,
___,
len
len
= _____
= _____
_______:
_______:
org = ___
org = ___
____,
____,
len
len
= __
= __
___
___
_______: org = ___
_______: org = ___
____,
____,
len
len
= _
= _
____
____
_______: org = ___
_______: org = ___
____,
____,
len
len
= _
= _
____
____
}
}
SECTIONS
SECTIONS
{
{
.text: > FLASH PAGE 0
.text: > FLASH PAGE 0
.
.
ebss
ebss
: > M1SARAM PAGE 1
: > M1SARAM PAGE 1
.
.
cinit
cinit
: > FLASH PAGE 0
: > FLASH PAGE 0
.stack: > M0SARAM PAGE 1
.stack: > M0SARAM PAGE 1
}
}
C28x - Programming Development Environment
2 - 15
Summary of Contents for C28 Series
Page 64: ...Summary 3 16 C28x Peripheral Registers Header Files ...
Page 78: ...Interrupt Sources 4 14 C28x Reset and Interrupts ...
Page 218: ...Lab 9 DSP BIOS 9 22 C28x Using DSP BIOS ...
Page 244: ...Lab 10 Programming the Flash 10 26 C28x System Design ...
Page 273: ...Appendix A eZdsp F2812 C28x Appendix A eZdsp F2812 A 1 ...
Page 276: ...Appendix P2 Expansion Interface A 4 C28x Appendix A eZdsp F2812 ...
Page 277: ...Appendix P4 P8 P7 I O Interface C28x Appendix A eZdsp F2812 A 5 ...
Page 278: ...Appendix A 6 C28x Appendix A eZdsp F2812 ...
Page 279: ...Appendix P5 P9 Analog Interface C28x Appendix A eZdsp F2812 A 7 ...
Page 282: ...Appendix A 10 C28x Appendix A eZdsp F2812 TP1 TP2 Test Points ...