AN2311 Freescale Semiconductor / Motorola, AN2311 Datasheet - Page 7

no-image

AN2311

Manufacturer Part Number
AN2311
Description
Bootstrapping the MSC8101 Device Through the HDI16 Port
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
3
Target Application Image
The bootstrap process over the HDI16 port requires data to be transferred in blocks. Table 4 shows the
block format.
The MSC8101 ROM resident bootstrap code is sufficiently flexible to complete the whole download task
using the process described here (see Figure 6). The application code is converted from an embedded
link format (ELF) object into an S-record using an ELF to S-record utility. Then, it is converted to a C
array that can be linked into the host bootstrap application. Each line of an S-record is essentially a
program block downloaded to the host port.
Word
1
2
3
4
5
6
7
8
Freescale Semiconductor, Inc.
Block size in 16 bits of the program block to be loaded, most significant part
Block size in 16 bits of the program block to be loaded, least significant part
Word Address where the program block is to be loaded most significant part
Address where the program block is to be loaded least significant part
Program data
Program data
Checksum, XOR
Checksum, XOR
For More Information On This Product,
S-Record to C
Conversion
Utility
Host Tool Chain
Figure 6. Conversion Process
Go to: www.freescale.com
C Compiler
Slave1.c
Table 4. Boot Image Format
elfsrec Utility
srec2arr.exe
C Compiler
slaveimg.c
C Compiler
Slave.eld
Slave2.c
Slave.s
Utility
Description
Host.elf
Host
Application
C Compiler
Slave3.c
C Compiler
Host.c
Target Application Image
7

Related parts for AN2311