
Building a Table for an On-Chip Boot Loader
10-33
Hex Conversion Utility Description
You should set the –romwidth equal to the –memwidth unless you want to have
multiple output files.
The ’C54x can boot through either the serial or parallel interface with either 8-
or 16-bit data. The format is the same for any combination: the boot table
consists of a field containing the destination address, a field containing the
length, and a block containing the data.
You can boot only one section. If you are booting from an 8-bit channel, 16-bit
words are stored in the table with the MSBs first; the hex conversion utility
automatically builds the table in the correct format.
-
To boot from a serial port, specify –bootorg SERIAL when invoking the
utility. Use either –memwidth 8 or –memwidth 16.
-
To load from a parallel I/O port, invoke the utility by specifying –bootorg
PARALLEL. Use either –memwidth 8 or –memwidth 16.
-
To boot from external memory (EPROM), specify the source address of
the boot memory by using the –bootorg option. Use either –memwidth 8
or –memwidth 16.
For example, the command file in Figure 10–8 allows you to boot the .text
section of abc.out from a byte-wide EPROM at location 0x8000.
Figure 10–8. Sample Command File for Booting From a ’C54x EPROM
abc.out /* input file */
–o abc.i /* output file */
–i /* Intel format */
–memwidth 8 /* 8-bit memory */
–romwidth 8 /* outfile is bytes, not words */
–bootorg 0x8000 /* external memory boot */
SECTIONS { .text: BOOT }
Содержание TMS320C54x
Страница 38: ......
Страница 39: ......
Страница 40: ......
Страница 41: ......
Страница 42: ......
Страница 43: ......
Страница 44: ......
Страница 45: ......
Страница 46: ......
Страница 47: ......
Страница 48: ......
Страница 49: ......
Страница 50: ......
Страница 51: ......
Страница 52: ......
Страница 53: ......
Страница 54: ......
Страница 55: ......
Страница 56: ......
Страница 57: ......
Страница 58: ......
Страница 59: ......
Страница 60: ......
Страница 61: ......
Страница 62: ......
Страница 276: ......
Страница 277: ......
Страница 278: ......
Страница 279: ......
Страница 280: ......
Страница 281: ......
Страница 282: ......
Страница 283: ......
Страница 284: ......
Страница 285: ......
Страница 286: ......
Страница 287: ......
Страница 288: ......
Страница 289: ......
Страница 290: ......
Страница 291: ......
Страница 292: ......
Страница 293: ......
Страница 294: ......
Страница 295: ......
Страница 296: ......
Страница 297: ......
Страница 298: ......
Страница 299: ......
Страница 300: ......
Страница 301: ......
Страница 302: ......