srec_info(1) | General Commands Manual | srec_info(1) |
srec_info - information about EPROM load files
srec_info [ option... ] filename...
srec_info -Help
srec_info -VERSion
The srec_info program is used to obtain input about EPROM load files. It reads the files specified, and then presents statistics about them. These statistics include: the file header if any, the execution start address if any, and the address ranges covered by the data if any.
If there is binary data the header, it will be presented using the URL encoding that uses % followed by two hexadeimal characters. For example a backspace would be encoded as “%08”. (This is symmetric with the srec_cat ‐‐header opion).
Input may be qualified in two ways: you may specify a data file or a data generator. format and you may specify filters to apply to them. An input file specification looks like this:
Input from data files is specified by file name and format name. An input file specification looks like this:
It is also possible to generate data, rather than read it from a file. You may use a generator anywhere you could use a file. An input generator specification looks like this:
See srec_input(1) for complete details of input specifiers. This description is in a separate manual page because it is common to more than one SRecord command.
The following options are understood:
Note: the output of srec_cat(1) is always in this order.
Note: This option must be used before the input file. This is because if there are several files on the command line, each may need different settings. The setting remains in force until the next -Disable_Sequence_Warnings option.
Note: This option must be used before the offending input file. This is because if there are several files on the command line, each may need different settings. The setting remains in force until the next -Ensable_Sequence_Warnings option.
All other options will produce a diagnostic error.
All options may be abbreviated; the abbreviation is documented as the upper case letters, all lower case letters and underscores (_) are optional. You must use consecutive sequences of optional letters.
All options are case insensitive, you may type them in upper case or lower case or a combination of both, case is not important.
For example: the arguments “-help”, “-HEL” and “-h” are all interpreted to mean the -Help option. The argument “-hlp” will not be understood, because consecutive optional characters were not supplied.
Options and other command line arguments may be mixed arbitrarily
on the command line.
The GNU long option names are understood. Since all option names
for srec_info are long, this means ignoring the extra leading
“-”. The
“--option=value” convention is
also understood.
The srec_info command will exit with a status of 1 on any error. The srec_info command will only exit with a status of 0 if there are no errors.
srec_info version 1.64
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
2008, 2009, 2010, 2011, 2012, 2013, 2014 Peter Miller
The srec_info program comes with ABSOLUTELY NO WARRANTY;
for details use the 'srec_info -VERSion License' command. This is
free software and you are welcome to redistribute it under certain
conditions; for details use the 'srec_info -VERSion License' command.
Scott Finneran | E‐Mail: | scottfinneran@yahoo.com.au |
Peter Miller | E‐Mail: | pmiller@opensource.org.au |
SRecord | Reference Manual |