Sign In
Upload
Manuals
Brands
Texas Instruments Manuals
Signal Processors
TMS320C54x
Texas Instruments TMS320C54x Manuals
Manuals and User Guides for Texas Instruments TMS320C54x. We have
1
Texas Instruments TMS320C54x manual available for free PDF download: User Manual
Texas Instruments TMS320C54x User Manual (469 pages)
digital signal processors
Brand:
Texas Instruments
| Category:
Signal Processors
| Size: 2.63 MB
Table of Contents
Table of Contents
9
Introduction
23
Software Development Tools Overview
24
Tms320C54X Software Development Flow
24
Tools Descriptions
25
Introduction to Common Object File Format
27
COFF File Types
28
Sections
28
Uninitialized Sections
28
Initialized Sections
28
Partitioning Memory into Logical Blocks
29
Named Sections
33
Subsections
34
An Example that Uses Sections Directives
35
Using Sections Directives
36
Object Code Generated by the File in Example
37
Character Strings
63
Symbols
64
Defining Symbolic Constants (–D Option)
65
Substitution Symbols
66
Local Labels
67
Name? Local Labels
69
Expressions
70
Operators Used in Expressions (Precedence)
71
Well-Defined Expressions
72
Expressions with Absolute and Relocatable Symbols
73
Conditional Expressions
73
Assembler Built-In Math Functions
75
Extended Addressing Support
76
Source Listings
77
Assembler Listing
79
Cross-Reference Listings
81
Chapter 4 Assembler Directives
84
Assembler Directives Summary
85
Directives Summary
85
Compatibility with the Tms320C1X/C2X/C2Xx/C5X Assembler Directives
90
Directives that Define Sections
91
Directives that Initialize Constants
94
The .Space and .Bes Directives
94
The .Field Directive
95
Initialization Directives
97
Directives that Align the Section Program Counter
98
Directives that Align the Section Program Counter
99
The .Align Directive
99
Directives that Format the Output Listing
100
Invoking the Assembler
100
Directives that Reference Other Files
102
Conditional Assembly Directives
103
Assembly-Time Symbol Directives
104
Label Field
106
Miscellaneous Directives
106
Directives Reference
108
Constants
111
Allocating .Bss Blocks Within a Page
114
The .Field Directive
132
Memory-Mapped Registers
153
Sections Directives
171
The .Usect Directive
178
Chapter 5 Macro Language
181
Macro Language
181
Using Macros
182
Defining Macros
183
Macro Definition, Call, and Expansion
184
Macro Parameters/Substitution Symbols
186
Calling a Macro with Varying Numbers of Arguments
187
Directives that Define Substitution Symbols
188
Character Constants
189
Functions and Return Values
189
Recursive Substitution Symbols
190
Forced Substitution
191
Macro Parameters/Substitution Symbols
192
Accessing Individual Characters of Subscripted Substitution Symbols
192
Substitution Symbols as Local Variables in Macros
193
Macro Libraries
194
Built-In Substitution Symbol Functions Used in a Conditional Assembly
195
Using Conditional Assembly in Macros
195
Code Block
196
Using Labels in Macros
197
Producing Messages in a Macro
199
Producing Messages in Macros
199
Formatting the Output Listing
201
Using Recursive and Nested Macros
202
Using Recursive Macros
203
Creating Macros
205
Macro Directives Summary
205
Manipulating Substitution Symbols
205
Formatting the Listing
206
Producing Assembly-Time Messages
206
Chapter 6 Archiver Description
207
Archiver Description
207
Archiver Overview
208
Archiver Development Flow
209
Invoking the Archiver
210
Archiver Examples
212
Chapter 7 Linker Description
213
Linker Description
213
Chapter 2 , Introduction to Common Object File Format , Discusses the COFF
214
Linker Overview
214
Linker Development Flow
215
Invoking the Linker
216
Linker Options
218
Relocation Capabilities (– a and – R Options)
220
Disable Merge of Symbolic Debugging Information (–B Option)
222
Define an Entry Point (–E Global_Symbol Option)
223
Make a Symbol Global (–G Global_Symbol Option)
224
Alter the Library Search Algorithm (–L Option, –I Option, and C_DIR Environment Variable)
225
Disable Conditional Linking (–J Option)
228
Name an Output Module (–O Filename Option)
229
Define Stack Size (–Stack Constant Option)
230
Specify a COFF Format (–V Option)
231
Exhaustively Read Libraries (–X Option)
232
Linker Command Files
233
Placing Sections in the Memory Map
234
Command File with Linker Directives
235
Reserved Names in Linker Command Files
236
Object Libraries
237
The MEMORY Directive
239
Relocation
239
The MEMORY Directive
240
Memory Map Defined in Example
243
The SECTIONS Directive
244
Section Allocation Defined by Example
246
Allocation
247
The most Common Method of Specifying Section Contents
250
The UNION Statement
253
Specifying a Section's Runtime Address
253
Runtime Relocation
253
Uninitialized Sections
254
Runtime Execution of Example
256
Using UNION and GROUP Statements
257
Memory Allocation Shown in Example 7-7 and Example
258
Grouping Output Sections Together
259
Overlay
260
Overlay Pages
260
Overlay Pages Defined by Example 7-10 and Example
261
Using Overlay Pages with the SECTIONS Directive
262
Page Definition Syntax
263
Default Allocation Algorithm
265
General Rules for Output Sections
266
Special Section Types (DSECT, COPY, and NOLOAD)
268
External Symbols
268
Assigning Symbols at Link Time
269
The Symbol Table
269
Assigning the SPC to a Symbol
270
Operators Used in Expressions (Precedence)
271
Symbols Defined by the Linker
272
Creating and Filling Holes
273
Filling Holes
275
Hex Conversion Utility Description
303
Options
304
Command File
307
Examples of Command Files
308
Hex Conversion Utility Process Flow
309
Understanding Memory Widths
309
Target Width
310
Data and Memory Widths
311
ROM Width
311
Data, Memory, and ROM Widths
313
C54X Memory Configuration Example
314
Varying the Word Order
315
The ROMS Directive
316
When to Use the ROMS Directive
318
An Example of the ROMS Directive
319
The Infile.out File from Example 10-1 Partitioned into Four Output Files
320
Creating a Map File of the ROMS Directive
321
The SECTIONS Directive
322
Output Filenames
324
Image Mode and the –Fill Option
326
Specifying a Fill Value
327
Building a Table for an On-Chip Boot Loader
328
Boot-Loader Options
329
How to Build the Boot Table
329
Booting from a Device Peripheral
331
Setting the Entry Point for the Boot Table
332
Sample Command File for Booting from a 'C54X EPROM
333
Controlling the ROM Device Address
334
Controlling the Address Increment Index
336
Hex Command File for Avoiding a Hole at the Beginning of a Section
337
Dealing with Address Holes
337
Options for Specifying Hex Conversion Formats
338
Description of the Object Formats
338
ASCII-Hex Object Format
339
Intel Hex Object Format
340
Intel MCS-86 Object Format (–I Option)
340
Motorola-S Format
341
Motorola Exorciser Object Format (–M1, –M2, –M3 Options)
341
TI-Tagged Object Format
342
Texas Instruments SDSMAC Object Format (–T Option)
342
Extended Tektronix Object Format
343
Hex Conversion Utility Error Messages
344
Mnemonic-To-Algebraic Translator Description
345
Translator Overview
346
Translator Development Flow
347
Invoking the Translator
348
Literal Mode Process
349
Translation Modes
349
Expansion Mode Process
350
Expansion Mode
351
How the Translator Works with Macros
352
Macro Local Variables
353
Defining Labels
354
Rewritten Source Code
354
COFF File Structure
356
COFF Object File
357
A.1.2 Typical Object File Structure
357
A.1.3 Impact of Switching Operating Systems
358
File Header Contents
359
File Header Flags (Bytes 18 and 19
359
A.2 File Header Structure
359
Optional File Header Contents
360
A.3 Optional File Header Format
360
Section Header Contents for COFF1 Files
361
Section Header Contents for COFF2 Files
361
A.4 Section Header Structure
361
Section Header Flags
362
Section Header Pointers for the .Text Section
363
Relocation Entry Contents
364
A.5 Structuring Relocation Information
364
Relocation Types (Bytes 8 and 9
365
Line-Number Blocks
366
Line-Number Entry Format
366
A.6 Line-Number Table Structure
366
Line-Number Entries
367
Symbol Table Contents
368
A.7 Symbol Table Structure and Content
368
Symbol Table Entry Contents
369
Special Symbols in the Symbol Table
370
A.7.1 Special Symbols
370
Symbols for Blocks
371
Symbols for Functions
371
String Table
372
A.7.2 Symbol Name Format
372
Symbol Storage Classes
373
A.7.4 Storage Classes
373
Special Symbols and Their Storage Classes
374
Symbol Values and Storage Classes
374
A.7.5 Symbol Values
374
Section Numbers
375
A.7.6 Section Number
375
Basic Types
376
Derived Types
376
A–16 Basic Types
376
Auxiliary Symbol Table Entries Format
377
A.7.8 Auxiliary Entries
377
Filename Format for Auxiliary Table Entries
378
Section Format for Auxiliary Table Entries
378
Tag Name Format for Auxiliary Table Entries
378
End-Of-Structure Format for Auxiliary Table Entries
379
Function Format for Auxiliary Table Entries
379
Array Format for Auxiliary Table Entries
380
End-Of-Blocks/Functions Format for Auxiliary Table Entries
380
Beginning-Of-Blocks/Functions Format for Auxiliary Table Entries
381
Structure, Union, and Enumeration Names Format for Auxiliary Table Entries
381
C.1 Base Code for the Examples
394
A Two 8-Bit EPROM System
395
C.2 Example 1: Building a Hex Command File for Two 8-Bit Eproms
395
C–2 a Linker Command File for Two 8-Bit Eproms
396
C–3 a Hex Command File for Two 8-Bit Eproms
397
Data from Output File
398
C–4 Map File Resulting from Hex Command File in Example C–3 on Page C-5
399
C.3 Example 2: Avoiding Holes with Multiple Sections
400
C–6 Method Two for Avoiding Holes
401
EPROM System for a 'C54X
402
C.4 Example 3: Generating a Boot Table
402
C–8 Linker Command File to Form a Single Boot Section
404
C–9 Section Allocation Portion of Map File Resulting from the Command File
405
C–10 Hex Command File for Converting a COFF File
407
C–11 Map File Resulting from the Command File in Example C–10
408
EPROM System for a 'C54Xlp
409
C.5 Example 4: Generating a Boot Table for LP Core Devices
409
C–14 Linker Command File for a 'C54Xlp
411
C–16 Hex Command File for Converting a COFF File
414
C–17 Map File Resulting from the Command File in Example C–16
415
E Glossary
450
Advertisement
Advertisement
Related Products
Texas Instruments TMS320C5x
Texas Instruments TMS320C64x DSP
Texas Instruments TMS320C2802 Data
Texas Instruments TMS320C2801 Data
Texas Instruments TMS320C6726
Texas Instruments TMS320C6727
Texas Instruments TMS320C642x DSP
Texas Instruments TMS320C2812
Texas Instruments TMS320C6474
Texas Instruments TMS320C6000 Series
Texas Instruments Categories
Motherboard
Control Unit
Microcontrollers
Computer Hardware
Calculator
More Texas Instruments Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL