Examples Of Command Files - Texas Instruments TMS320C54x User Manual

Digital signal processors
Hide thumbs Also See for TMS320C54x:
Table of Contents

Advertisement

Command File

10.3.1 Examples of Command Files

10-8
-
Assume that a command file named firmware.cmd contains these lines:
firmware.out
–t
–o
firm.lsb
–o
firm.msb
You can invoke the hex conversion utility by entering:
hex500 firmware.cmd
-
This example converts a file called appl.out into four hex files in Intel
format. Each output file is one byte wide and 16K bytes long. The .text
section is converted to boot loader format.
appl.out
–i
–map appl.mxp
ROMS
{
ROW1: origin=01000h len=04000h romwidth=8
files={ appl.u0 appl.u1 }
ROW2: origin 05000h len=04000h romwidth=8
files={ app1.u2 appl.u3 }
}
SECTIONS
{
.text: BOOT
.data, .cinit, .sect1, .vectors, .const:
}
/* input file
*/
/* TI–Tagged
*/
/* output file */
/* output file */
/* input file
/* Intel format */
/* map file
*/
*/

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C54x and is the answer not in the manual?

Table of Contents