Flash Programmer Emac Bootload Binary Image Selection Screen - Texas Instruments Concerto F28M36 Series Technical Reference Manual

Table of Contents

Advertisement

www.ti.com
Figure 6-39. FLASH Programmer EMAC Bootload Binary Image Selection Screen
6.8.2 C-Boot ROM: Building the Boot Table
This chapter explains how to generate the data stream and boot table required for the bootloader.
6.8.2.1
The C2000 Hex Utility
To use the features of the bootloader, you must generate a data stream and boot table as described in
Section
6.6.15.1. The hex conversion utility tool, included with the 28x code generation tools, can
generate the required data stream including the required boot table. This section describes the hex2000
utility. An example of a file conversion performed by hex2000 is described in .
The hex utility supports creation of the boot table required for the SCI, SPI, I2C, eCAN, and parallel I/O
loaders. That is, the hex utility adds the required information to the file such as the key value, reserved
bits, entry point, address, block start address, block length and terminating value. The contents of the boot
table vary slightly depending on the boot mode and the options selected when running the hex conversion
utility. The actual file format required by the host (ASCII, binary, hex, etc.) will differ from one specific
application to another and some additional conversion may be required.
To build the boot table, follow these steps:
1. Assemble or compile the code.
This creates the object files that will then be used by the linker to create a single output file.
2. Link the file.
The linker combines all of the object files into a single output file in common object file format (COFF).
The specified linker command file is used by the linker to allocate the code sections to different
memory blocks. Each block of the boot table data corresponds to an initialized section in the COFF file.
Uninitialized sections are not converted by the hex conversion utility. The following options may be
useful:
The linker -m option can be used to generate a map file. This map file will show all of the sections that
were created, their location in memory and their length. It can be useful to check this file to make sure
SPRUHE8E – October 2012 – Revised November 2019
Submit Documentation Feedback
Copyright © 2012–2019, Texas Instruments Incorporated
Application Notes to Use Boot ROM
ROM Code and Peripheral Booting
665

Advertisement

Table of Contents
loading

Table of Contents