A.2 ti-txt file format – Texas Instruments Serial Programming Adapter MSP430 User Manual

Page 47

Advertising
background image

TI-TXT File Format

A-3

Hex Object Format

A.2 TI-TXT File Format

The TI-TXT file format used by the tool is shown as follows:

@ADDR1

DATA01 DATA02 ........ DATA16

DATA17 DATA32 ........ DATA32

........

DATAm ........DATAn

@ADDR2

DATA01 .................... DATAn

q

Whereas:

@ADDR is the start address of a section (hexadecimal)

DATAn represents a data byte (hexadecimal)

q is the termination of the file

For example:

@F000

31 40 00 03 B2 40 80 5A 20 01 D2 D3 22 00 D2 E3

21 00 3F 40 E8 FD 1F 83 FE 23 F9 3F

@FFFE

00 F0

Q

Restrictions:

-

The number of sections is unlimited.

-

The start address must be even.

-

Each line must have 16 data bytes, except the last line of a section.

-

Data bytes are separated by a single space.

-

The termination tag q indicates end-of-file is mandatory.

Advertising