Introduction
TI-TXT is a Texas Instruments text format for memory images, saved as a plain text
file. TI’s hex conversion utility writes it with the --ti_txt option, and
the SRecord manual connects it with the MSP430 programming adapter.
Structure
The file is a series of sections. Each starts with a line holding @ and a
hexadecimal start address, followed by lines of hexadecimal data bytes separated by
spaces. A final q ends the file and is mandatory.
Not described
Known, not yet covered
- Reference: this page is a summary; line lengths and address rules differ between the descriptions linked below and are not yet set out on this site.
- Viewer: the site has no memory-image viewer for TI-TXT files.
Also used for
- EBCDIC text – IBM mainframe text, not based on ASCII: a space at 40, letters at 81 and C1.
- GB18030 text – China’s national encoding: one, two or four bytes a character, covering all of Unicode.
- ISO-2022 and HZ text – 7-bit Japanese, Korean and Chinese text, with escape sequences that switch character sets.
- Legacy code page text – A pre-Unicode code page (Windows-1252, Mac OS Roman, DOS 437, Shift_JIS …), guessed.
- MPL2 subtitles – Plain text subtitles timed in tenths of a second.
- OGM chapters – Plain text chapter times and names in the OGM tools' form.
- OpenAir Airspace – OpenAir airspace file under its older extension.
- Plain text – Characters and line endings, nothing more, in an encoding the file rarely names.
- TMPlayer subtitles – Plain text subtitles with one start time and its text per line.
- UTF-16BE text – Unicode in two or four bytes a character, high byte first.
- UTF-16LE text – Unicode in two or four bytes a character, low byte first; Windows’ “Unicode”.
- UTF-32BE text – Every character in four bytes, high byte first. Rare in files.
- UTF-32LE text – Every character in four bytes, low byte first. Rare in files.
- UTF-7 text – Unicode written as pure ASCII, with runs of Base64 holding UTF-16 units.
- UTF-8 text – Unicode in one to four bytes a character, with ASCII unchanged; the usual text today.
- UltraStar song – Karaoke game songs: header lines, then timed and pitched syllables.
Links
Software
- TI hex conversion utility – writes TI-TXT files with the
--ti_txtoption - SRecord – command-line tools that handle the TI-TXT format
Reference
- TI-TXT hex format – Texas Instruments’ description in its tools guide
- srec_ti_txt manual page – the SRecord description, with an example