Example 4. Sample Command File for C28x 16-Bit Parallel Boot GP I/O

/*---------------------------------------------------------------------*/ /* Hex converter command file. */ /*---------------------------------------------------------------------*/ test.out /* Input file */ --ascii /* Select ASCII format */ --map=test.map /* Specify the map file */ --outfile=test_gpio16.hex /* Hex utility out file */ --gpio16 /* Specify the 16-bit GP I/O boot format */ SECTIONS { .text: paddr=BOOT .cinit: paddr=BOOT }

The command file in Example 4 generates the out file in Figure 12-7.

Figure 12-7 Sample Hex Converter Out File for C28x 16-Bit Parallel Boot GP I/Ohexout16gpio_pru513.gif

The command file in Example 5 allows you to boot the .text and .cinit sections of test.out from a 16-bit wide EPROM from the SCI-A 8-bit port. The map file test.map is also generated.