Texas instruments ti\[hy]txt (msp430) file format
The ti\[hy]TXT format is used by the Texas Instruments MSP430 familty programming adapter.
The TI\[hy]TXT hex format supports 16\[hy]bit hexadecimal data. It consists of one or more sections, followed by the end\[hy]of\[hy]file indicator.
Each section consistes of an at (@) sign followed a execution start address (in hexadecimal), and newline, and then data bytes (in hexadecimal). The section address is followed by a newline. There are to be 16 data bytes per line, except for the last line in a section.
The end\[hy]of\[hy]file indicator is the letter Wq followed by a newline. The end\[hy]of\[hy]file indicator mandatory.
In general, binary data will expand in sized by approximately 3.0 times when represented with this format.
Here is an example ti\[hy]txt file taken from the reference below:
@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
http://www.ti.com/lit/pdf/slau101, section A.2. Note: the portion which says addresses must be even, and the number of data bytes in a section must be even, is wrong.
\*(n) version \*(v)
Copyright \*(Y) Peter Miller
The \*(n) program comes with ABSOLUTELY NO WARRANTY; for details use the '\*(n) -VERSion License' command. This is free software and you are welcome to redistribute it under certain conditions; for details use the '\*(n) -VERSion License' command.
|Peter Miller||E\[hy]Mail:||[email protected]|