Creating a Linker Command File
Linker Command Files (
.cmd
)
The linker concatenates each section from all input files, allocating memory to each section based
on its length and location as specified by the MEMORY and SECTIONS commands in the linker
command file.
Linking
Linking
Linker
Linker
Link.
Link.
cmd
cmd
.map
.map
.
.
obj
obj
.out
.out
Memory description
How to place s/w into h/w
Memory description
Memory description
How to place s/w into h/w
How to place s/w into h/w
Memory-Map Description
Describe the memory configuration of your target system to the linker. Without this specification,
the linker might place code or data into memory that doesn’t exist.
The format is:
Name: origin = 0x????, length = 0x????
For example, if you placed a 2K EPROM starting at memory location zero, it would read:
MEMORY
{
EPROM: origin = 0x0000 , length = 0x0800
}
You define each memory segment using the above format. If you added a RAM and an ABT646
transceiver, it might look like:
MEMORY
{
EPROM: origin = 0x0000 , length = 0x0800
RAM: origin = 0x1000 , length = 0x02000
ABT646: origin = 0x8000 , length = 0x00001
}
2 - 12
C28x - Programming Development Environment
Содержание C28 Series
Страница 64: ...Summary 3 16 C28x Peripheral Registers Header Files ...
Страница 78: ...Interrupt Sources 4 14 C28x Reset and Interrupts ...
Страница 218: ...Lab 9 DSP BIOS 9 22 C28x Using DSP BIOS ...
Страница 244: ...Lab 10 Programming the Flash 10 26 C28x System Design ...
Страница 273: ...Appendix A eZdsp F2812 C28x Appendix A eZdsp F2812 A 1 ...
Страница 275: ...Appendix eZdsp F2812 eZdsp F2812 Connector Header and Pin Diagram C28x Appendix A eZdsp F2812 A 3 ...
Страница 276: ...Appendix P2 Expansion Interface A 4 C28x Appendix A eZdsp F2812 ...
Страница 277: ...Appendix P4 P8 P7 I O Interface C28x Appendix A eZdsp F2812 A 5 ...
Страница 278: ...Appendix A 6 C28x Appendix A eZdsp F2812 ...
Страница 279: ...Appendix P5 P9 Analog Interface C28x Appendix A eZdsp F2812 A 7 ...
Страница 281: ...Appendix JP7 JP8 JP11 JP12 Boot Mode Select JP9 PLL Disable DS1 DS2 LEDs C28x Appendix A eZdsp F2812 A 9 ...
Страница 282: ...Appendix A 10 C28x Appendix A eZdsp F2812 TP1 TP2 Test Points ...