SPRU513Y August 2001 – June 2022 SM320F28335-EP
The TI-TXT hex format supports 8-bit hexadecimal data. It consists of section start addresses, data byte, and an end-of-file character. These restrictions apply:
Because the TI-TXT format (along with the binary format) supports only an 8-bit physical memory width and an 8-bit ROM width, the ROMS directive needs to have the origin and length specifications doubled when moving from a 16-bit format to an 8-bit format. If you receive a warning like the following, check the ROMS directive.
warning: section file.out(.data) at 07e000000h falls in unconfigured memory
For example, suppose the ROMS directive for a format that uses 16-bit ROM widths, such as ASCII-Hex with the --romwidth=16 option used, is as follows:
ROMS {
FLASH: origin=0x3f000000, length=0x1000
}
You would double the address and length in the ROMS directive when using an 8-bit ROM width:
ROMS {
FLASH: origin=0x7e000000, length=0x2000
}
The data record contains the following information:
Item | Description |
---|---|
@ADDR | Hexadecimal start address of a section |
DATAn | Hexadecimal data byte |
q | End-of-file termination character |