[go: up one dir, main page]

File: srec_ti_txt.5

package info (click to toggle)
srecord 1.39-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 3,624 kB
  • ctags: 1,822
  • sloc: cpp: 18,283; sh: 5,839; makefile: 1,701; awk: 201; vhdl: 15
file content (64 lines) | stat: -rw-r--r-- 2,205 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
'\" t
.\"     srecord - The "srecord" program.
.\"     Copyright (C) 2007 Peter Miller
.\"
.\"     This program is free software; you can redistribute it and/or modify
.\"     it under the terms of the GNU General Public License as published by
.\"     the Free Software Foundation; either version 3 of the License, or
.\"     (at your option) any later version.
.\"
.\"     This program is distributed in the hope that it will be useful,
.\"     but WITHOUT ANY WARRANTY; without even the implied warranty of
.\"     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\"     GNU General Public License for more details.
.\"
.\"     You should have received a copy of the GNU General Public License
.\"     along with this program. If not, see
.\"     <http://www.gnu.org/licenses/>.
.\"
.ds n) srec_ti_txt
.TH srec_ti_txt 5 SRecord "Reference Manual"
.SH NAME
srec_ti_txt \- Texas Instruments ti-txt (MSP430) file format
.XX "srec_ti_txt(5)" "Texas Instruments ti-txt (MSP430) file format"
.SH DESCRIPTION
The ti-TXT format is used by the Texas Instruments MSP430 familty
programming adapter.
.PP
The TI-TXT hex format supports 16-bit hexadecimal data.  It consists of
one or more sections, followed by the end-of-file indicator.
.PP
Each section consistes of an at (@) sign followed a 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.
.PP
The end-of-file indicator is the letter \f[CW]q\fP
followed by a newline.
The end-of-file indicator mandatory.
.SS Size Multiplier
In general, binary data will expand in sized by approximately 3.0 times
when represented with this format.
.SH EXAMPLE
Here is an example ti-txt file taken from the reference below:
.RS
.ft CW
.nf
@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
.ft P
.fi
.RE
.br
.ne 1i
.SH SEE ALSO
http://www.ti.com/lit/pdf/slau101, section A.2.
\f[B]Note:\fP the portion which says addresses must be even, and the
number of data bytes in a section must be even, is wrong.
.so ../man1/z_copyright.so
.\" vim:ts=8:sw=4:et