SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
When the booting memory device is non-XIP (for example, NAND) the image must contain a small header, located before the executable code, and having the size of the software to load and the destination address of where to store it. Table 32-54 describes the image format. The GP header is not required 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 | Non-XIP Device Offset | XIP Device Offset | Size (Bytes) | Description |
---|---|---|---|---|
Size | 0x0000 | – | 4 | Size of the image (including GP header) |
Destination | 0x0004 | – | 4 | Address where to store the code or code entry point |
Image Code | 0x0008 | 0x0000 | x | Executable code |
The Destination address field stands for:
Users must take care to locate the code entry point to the target address for image copy.