Example 3: Generating a Boot Table
C.4 Example 3: Generating a Boot Table
Example C–7. C Code for Example 3
Figure C–3. EPROM System for a 'C54x
C-10
Example 3 shows how to use the linker and the hex conversion utility to build
a boot load table for the 'C54x devices. The code used in this section is shown
in Example C–7.
Note:
This example is for non-LP 'C54x devices only.
For 'C54xLP devices, see Section C.5, Example 4: Generating a Boot Table
for LP Core Devices , on page C-17.
int array[]={1,2,3,4};
main()
{
array[0] = 5;
}
Figure C–3 shows the EPROM memory system for which the output file will be
generated. In this application, the single 'C54x device is booted from a 128K
8-bit EPROM. The requirement of the system is that the boot table must
reside at EPROM memory address 0.
CPU
'C54x
Width 16 bits
128K
8
ROM0
ROM width
8 bits
EPROM system memory width
8 bits
Need help?
Do you have a question about the TMS320C54x and is the answer not in the manual?