[go: up one dir, main page]

File: index.html

package info (click to toggle)
srecord 1.21-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,312 kB
  • ctags: 1,749
  • sloc: cpp: 15,381; sh: 6,122; makefile: 1,699; awk: 201; ansic: 46; vhdl: 15
file content (397 lines) | stat: -rw-r--r-- 10,406 bytes parent folder | download | duplicates (2)
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
.\"
.\"	srecord - manipulate eprom load files
.\"	Copyright (C) 1998, 2000-2004 Peter Miller;
.\"	All rights reserved.
.\"
.\"	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 2 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, write to the Free Software
.\"	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
.\"
.\" MANIFEST: input for archive/index.html
.\"
.ad l
.hy 0
.so version.so
<html>
<head><title>SRecord \*(v)</title></head>
<body bgcolor=white><h1>
<img src="srecord.gif" align=left>
<img src="srecord.gif" align=right>
<center>SRecord \*(v)</center></h1>
The <i>SRecord</i> package is a collection of powerful tools for
manipulating EPROM load files.
.br
<p>
I wrote SRecord because when I was looking for programs to manipulate
EPROM load files, I could not find very many.  The ones that I could
find only did a few of the things I needed.  SRecord is written in C++
and polymorphism is used to provide the file format flexibility and
arbitrary filter chaining.  Adding more file formats and filters is
relatively simple.
.br
<p align=center>
[ <a href="download.html">Download</a> |
<a href="mailing-list.html">Mailing List</a> |
<a href="windows.html">Windows NT</a> |
<a
.nf
href="http://aegis.sourceforge.net/cgi-bin/aegis.cgi?file@proj_menu+project@srecord.\*(v)"
.fi
>Aegis</a> ]
<br>
[ Sourceforge: <a href="http://sourceforge.net/projects/srecord">Project</a> |
<a href="http://sourceforge.net/project/stats/?group_id=72866">Statistics</a> ]
</p>
.br
<p>
SRecord runs on almost any flavor of UNIX.  The source distribution is
self configuring using a GNU Autoconf generated configure script.
It also runs on Windows NT, if you build using
<a href="http://www.cygwin.com/">Cygwin</a> or
<a href="http://www.delorie.com/djgpp/">DJGPP</a>,
see the <a href="windows.html">Windows NT</a> page.
.br
<table border=1><tr><td valign=top width="60%">
<p align=center><b>The File Formats</b></p>
<p>
The <i>SRecord</i> package understands a number of file formats:
<dl>
.br
<dt>
Ascii-Hex
<dd>
The Ascii-Hex format is understood for both reading and writing.
(Also known as the Ascii-Space-Hex format.)
.br
<dt>
ASM
<dd>
It is possible, for output only, to produce a series of DB statements
containing the data.  This can be useful for embedding data into assembler
programs.
.br
<dt>
Atmel Generic
<dd>
This format is produced by the Atmel AVR assembler.
It is understood for both reading and writing.
.br
<dt>
BASIC
<dd>
It is possible, for output only, to produce a series of DATA statements
containing the data.  This can be useful for embedding data into BASIC
programs.
.br
<dt>
Binary
<dd>
Binary files can both be read and written.
.br
<dt>
C Array
<dd>
It is possible, for output only, to produce a C array definition containing
the data.  This can be useful for embedding data into other programs.
.br
<dt>
Cosmac
<dd>
The RCA Cosmac Elf format is understood for both reading and writing.
.br
<dt>
DEC Binary
<dd>
The DEC Binary (XXDP) format is understood for both reading and writing.
.br
<dt>
Elektor Monitor (EMON52)
<dd>
The EMON52 format is understood for both reading and writing.
.br
<dt>
Fairchild Fairbug
<dd>
The Fairchild Fairbug format is understood for both reading and writing.
.br
<dt>
LSI Logic Fast Load
<dd>
The LSI Logic Fast Load format is understood for both reading and writing.
.br
<dt>
Formatted Binary
<dd>
The Formatted Binary (XXDP) format is understood for both reading and writing.
.br
<dt>
Four Packed Code (FPC)
<dd>
The FPC format is understood for both reading and writing.
.br
<dt>
Intel
<dd>
The Intel hexadecimal format is understood for both reading and writing.
(Also known as the Intel MCS-86 Object format.)
.br
<dt>
Intel AOMF
<dd>
The Intel Absolute Object Module Format (AOMF) is understood for both
reading and writing.
.br
<dt>
Intel 16
<dd>
The Intel hexadecimal 16 format is understood for both reading and writing.
(Also known as the INHX16 file format.)
.br
<dt>
MOS Technology
<dd>
The MOS Technology hexadecimal format is understood for both reading
and writing.
.br
<dt>
Motorola S-Record
<dd>
The Motorola hexadecimal S-Record format is understood for both reading
and writing.
(Also known as the Exorciser, Exormacs or Exormax format.)
.br
<dt>
Needham Electronics
<dd>
The Needham Electronics ASCII file format is understood for both reading
and writing.
.br
<dt>
Ohio Scientific
<dd>
The Ohio Scientific hexadecimal format is understood for both reading
and writing.
.br
<dt>
Signetics
<dd>
The Signetics format is understood for both reading and writing.
.br
<dt>
Spectrum
<dd>
The Spectrum format is understood for both reading and writing.
.br
<dt>
SPASM
<dd>
The SPASM format is used by a variety of PIC programmers; it is understood
for both reading and writing.
.br
<dt>
Tektronix (Extended)
<dd>
The Tektronix hexadecimal format and the Tektronix extended hexadecimal
format are understood for both reading and writing.
.br
<dt>
Texas Instruments Tagged
<dd>
The Texas Instruments Tagged hexadecimal format is understood for both
reading and writing.
(Also known as the TI-Tagged  or TI-SDSMAC object format.)
.br
<dt>
VHDL
<dd>
It is possible, for output only, to produce a VHDL definition containing
the data.  This can be useful for some embedded development systems.
.br
<dt>
Verilog VMEM
<dd>
It is possible to write a Verilog VMEM file suitable for loading with
\f[CW]$readmemh()\fP.  This format is supported for reading and writing.
<dt>
Wilson
<dd>
The Wilson format is understood for both reading and writing.
This mystery format was added for a mysterious type of EPROM writer.
.br
<dt>
<p>
If you have a description of other EPROM load file formats that SRecord
does not yet understand, please let me know, and they can be added.
</dl>
</td><td valign=top width="40%">
.br
<p align=center><b>The Tools</b></p>
<p>
A number of tools are include in the <i>SRecord</i> package.
All of the tools understand all of the file formats, and all of the filters.
.br
<dl><dt>
srec_cat
<dd>
The <i>srec_cat</i> program may be used to catenate (join) EPROM load
files, or portions of EPROM load files, together.  Because it understands
all of the input and output formats, it can also be used to convert
files from one format to another.
It also understands <i>filters</i>, see below.
.br
<dt>
srec_cmp
<dd>
The <i>srec_cmp</i> program may be used to compare EPROM load files,
or portions of EPROM load files, for equality.
.br
<dt>
srec_info
<dd>
The <i>srec_info</i> program may be used to print summary information
about EPROM load files.
</dl>
<p>
<br>
<p>
<br>
<p>
.br
<p align=center><b>The Filters</b></p>
<p>
The <i>SRecord</i> package is made more powerful by the concept of <i>input
filters</i>.  Wherever an input file may be specified, filters may also
be applied to that input file.  The following filters are available:
<dl><dt>
crc
<dd>
The <i>crc</i> filters may be used to insert an inustry standard cyclic
redundancy check (CRC) into the data.
.br
<dt>
checksum
<dd>
The <i>checksum</i> filters may be used to insert a checksum into
the data.  Positive, negative and bit-not checksums are available,
as well as big-endian and little-endian byte orders.
.br
<dt>
crop
<dd>
The <i>crop</i> filter may be used to isolate an input address range,
or ranges, and discard the rest.
.br
<dt>
exclude
<dd>
The <i>exclude</i> filter may be used to exclude an input address range,
or ranges, and keep the rest.
.br
<dt>
fill
<dd>
The <i>fill</i> filter may be used to fill holes in the data with a
given byte value.
.br
<dt>
unfill
<dd>
The <i>unfill</i> filter may be used to make holes in the data for bytes
with a given value.
.br
<dt>
random fill
<dd>
The <i>random fill</i> filter may be used to fill holes in the data with
random byte values.
.br
<dt>
length
<dd>
The <i>length</i> filter may be used to insert the data length into
the data.
.br
<dt>
offset
<dd>
The <i>offset</i> filter may be used to offset the address of data records,
both forwards and backwards.
<dt>
split
<dd>
The <i>split</i> filter may be used to split EPROM images for wide data
buses or other memory striping schemes.
<dt>
unsplit
<dd>
The <i>unsplit</i> filter may be used to
reverse the effects of the <i>split</i> filter.
</dl>
.br
<p>
More than one filter may be applied to each input file.
Different filters may be applied to each input file.
All filters may be applied to all file formats.
</td></tr></table>
.br
<hr>
<a href="http://www.canb.auug.org.au/~millerp/README.html">
<img src="http://www.canb.auug.org.au/~millerp/pmiller.gif" align=right>
</a>
SRecord is written and owned by 
<a href="mailto:millerp@canb.auug.org.au">
Peter Miller &lt;millerp@canb.auug.org.au&gt;</a>
and is freely distributable under the terms and conditions of the
<a href="http://www.gnu.org/licenses/gpl.txt">GNU GPL</a>.
<p>
SRecord is developed using <a href="http://aegis.sourceforge.net/">Aegis</a>,
a transaction
based software configuration management system.
The Aegis
<a
.nf
href="http://aegis.sourceforge.net/cgi-bin/aegis.cgi?file@proj_menu+project@srecord.\*(v)"
.fi
>repository</a> for this project is available.
<p>
There is more <a
href="http://www.canb.auug.org.au/~millerp/README.html">Software by
Peter Miller</a> at his home page.
.br
<hr>
<a href="http://sourceforge.net/"><img
src="http://sourceforge.net/sflogo.php?group_id=72866&amp;type=5"
width="210" height="62" border="0" alt="SourceForge.net Logo"
align="right"></a>
This page is hosted by <a href="http://sourceforge.net/">SourceForge</a>.
<br>
This page has been accessed approximately
.nf
<img src="http://www.canb.auug.org.au/cgi-bin/Count.cgi?df=millerp_srecord_\*(v)&ft=0&tr=Y&trgb=black&pad=0">
.fi
times since
.ds MO1 Jan
.ds MO2 Feb
.ds MO3 Mar
.ds MO4 Apr
.ds MO5 May
.ds MO6 Jun
.ds MO7 Jul
.ds MO8 Aug
.ds MO9 Sep
.ds MO10 Oct
.ds MO11 Nov
.ds MO12 Dec
.nr y4 \n[yr]+1900
\n[dy]-\*[MO\n[mo]]-\n[y4].
</body></html>