srec_ti_txt(5)

💖 NAME

Okay bestie, gather round: this page is srec_ti_txt(5), from the File Formats Manual, and it is all about the Texas Instruments ti-txt (MSP430) file format — yes, the format used by the Texas Instruments MSP430 family programming adapter. 🫶

💅 DESCRIPTION

The ti-TXT format is used by the Texas Instruments MSP430 family programming adapter. Iconic little adapter behavior, no cap.

The TI-TXT hex format supports 16-bit hexadecimal data. It consists of one or more sections, followed by the end-of-file indicator.

Each section consists of:

  • an at (@) sign, then an execution start address (in hexadecimal), then a newline
  • after that, 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-of-file indicator is the letter q followed by a newline.

The end-of-file indicator is mandatory. Not optional, not a cute little suggestion, not “I’ll do it later.” mandatory. 😭

✨ Size Multiplier

In general, binary data will expand in size by approximately 3.0 times when represented with this format. So yeah, she’s a little extra. 💅

🌸 EXAMPLE

Here’s an example ti-TXT file taken from the reference below — copied exactly, vibes intact:

@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

🦋 SEE ALSO

  • 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. Important! Do not take that part as fact. 💀
  • srec_ti_txt version 1.65
  • Copyright (C) 1998... Peter Miller

The srec_ti_txt program comes with ABSOLUTELY NO WARRANTY; for details use the 'srec_ti_txt -VERSion License' command. This is free software and you are welcome to redistribute it under certain conditions; for details use the 'srec_ti_txt -VERSion License' command.

🫶 MAINTAINER

  • Scott Finneran — E-Mail: scottfinneran@yahoo.com.au
  • Peter Miller — E-Mail: pmiller@opensource.org.au

That’s the whole page, bestie. Footer energy: Reference Manual • SRecord • srec_ti_txt(5) — version 1.65; no date was printed on the footer, so I’m not making one up. 💖✨🎀

📦 where this page comes from