User`s guide
Table of Contents
7Targeting MC56F83xx/DSP5685x Controllers
10 ELF Linker and Command Language 287
Structure of Linker Command Files . . . . . . . . . . . . . . . . . . . 287
Memory Segment . . . . . . . . . . . . . . . . . . . . . . . . 288
Closure Blocks . . . . . . . . . . . . . . . . . . . . . . . . . 288
Sections Segment . . . . . . . . . . . . . . . . . . . . . . . . 289
Linker Command File Syntax . . . . . . . . . . . . . . . . . . . . . 290
Alignment . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
Arithmetic Operations . . . . . . . . . . . . . . . . . . . . . . . 291
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
Deadstrip Prevention . . . . . . . . . . . . . . . . . . . . . . . 292
Variables, Expressions, and Integral Types . . . . . . . . . . . . . . . 292
File Selection . . . . . . . . . . . . . . . . . . . . . . . . . . 294
Function Selection . . . . . . . . . . . . . . . . . . . . . . . . 294
ROM to RAM Copying . . . . . . . . . . . . . . . . . . . . . . 295
Stack and Heap . . . . . . . . . . . . . . . . . . . . . . . . . 297
Writing Data Directly to Memory . . . . . . . . . . . . . . . . . . 297
Linker Command File Keyword Listing . . . . . . . . . . . . . . . . . 298
DSP56800E Command-Line Tools . . . . . . . . . . . . . . . . . . 308
Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
Response File . . . . . . . . . . . . . . . . . . . . . . . . . . 309
Sample Build Script . . . . . . . . . . . . . . . . . . . . . . . 310
Arguments . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
11 Libraries and Runtime Code 325
MSL for DSP56800E . . . . . . . . . . . . . . . . . . . . . . . . 325
Using MSL for DSP56800E . . . . . . . . . . . . . . . . . . . . 325
Allocating Stacks and Heaps for the DSP56800E . . . . . . . . . . . . 328
Runtime Initialization . . . . . . . . . . . . . . . . . . . . . . . . 329
EOnCE Library . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
A Porting Issues 353
Converting the DSP56800E 1.x or 2.x, to 6.x Projects . . . . . . . . . . . 353