English
Language : 

SPRUGZ8D Datasheet, PDF (1046/3016 Pages) Texas Instruments – Technical Reference Manual
Image Format
www.ti.com
4.9.1.1 Image Formats
When the booting memory device is non-XIP (for example, an MMC), the image must contain a small
header with the size of the software to load, and the destination address which tells where to store it.
The header is not needed when booting from an XIP memory device (for example, NOR) or in case of
peripheral booting. In this case, the peripheral or memory booting image starts directly with executable
code.
Field
Size
Destination
Image
non-XIP device
(offset)
0000h
0004h
0008h
Table 4-37. Image Formats
XIP device (offset) Size (bytes)
-
4
-
4
0000h
x
Description
Size of the image
Address where to store the image / code
entry point
Executable code
Note: the “Destination” address field stands for both:
• Target address for the image copy from the non-XIP storage to the target XIP location (for example,
internal RAM or SDRAM)
• Entry point for image code
In other words, the user must take care to locate the code entry point to the target address for image
copy.
4.9.2 Table of Contents
The TOC is 512 bytes long and consists of a maximum of 16 TOC items (32 bytes long each), located one
after the other. If the number of TOC items is less than 16, the TOC item after the last used TOC item
must be filled by FFh. Each TOC item contains information required by the ROM Code such as item
location, size and name, as illustrated in Figure 4-26 and Table 4-38
Figure 4-26. TOC Structure
TOC Item 1
Start
Load Address
Size
Flags
Filename
Align
TOC Item 2
Start
Size
Flags
Filename
Align
TOC Item n
TOC Item n+1
Start
Size
Flags
Filename
Align
0xFFFFFFFF
0xFFFFFFFF
0xFFFFFFFF
0xFFFFFFFF
0xFFFFFFFF
0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,
Offset
0h
4h
8h
Ch
Field
Start
Size
Flags
Align
Table 4-38. TOC Item Fields
Size [bytes]
4
4
4
4
Description
Offset from the start address of TOC to the actual
address of sub image.
Size of sub image.
Reserved
Reserved
1046ROM Code Memory and Peripheral Booting
SPRUGZ8D – 14 November 2011 – Revised April 2013
Submit Documentation Feedback
Copyright © 2011–2013, Texas Instruments Incorporated