srec_info(1)
π NAME π
srec_info β literally everything you wanna know about your EPROM load files π
β¨ SYNOPSIS β¨
srec_info [ option... ] filename...
srec_info -Help
srec_info -VERSion
π¦ DESCRIPTION π¦
okay so bestie, srec_info is the program you run when you want the tea on your EPROM load files β It reads the files you hand it and then serves up the stats about them. And when we say stats we mean: the file header if any, the execution start address if any, and the address ranges covered by the data if any. Periodt. π
Now, if there's binary data in the header, it gets presented using the URL encoding β you know the one β where % is followed by two hexadecimal characters. So for example a backspace would be encoded as β%08β. (This is symmetric with the srec_cat --header opion, iykyk π)
πΈ INPUT FILE SPECIFICATIONS πΈ
Input can get qualified in two ways, and it's giving options: 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:
dataβfile [ filter ... ]
data-generator [ filter ... ]
π Data Files π
Input from data files is specified by file name and format name. An input file specification looks like this:
filename [ format ][ -ignoreβchecksums ]
The default format is Motorola SβRecord format β the moment β but many others are also understood. slay. π₯
π Data Generators π
It is also possible to generate data instead of reading it from a file. You may use a generator anywhere you could use a file, no cap. An input generator specification looks like this:
-GENerate addressβrange -dataβsource
Generators include random data and various forms of constant data. iconic behaviour honestly β
π§ Common Manual Page π§
See srec_input(1) for the complete details of input specifiers. This description lives in a separate manual page because it is common to more than one SRecord command β sharing is caring, bestie π«Ά
π₯ OPTIONS π₯
The following options are understood:
@filenameβ The named text file is read for additional command line arguments. Arguments are separated by white space (space, tab, newline, etc). There is no wildcard mechanism. There is no quoting mechanism. Comments, which start with#and extend to the end of the line, are ignored. Blank lines are ignored. simple as that π-Helpβ Provide some help with using thesrec_infoprogram. a little helping hand, we love to see it π-IGnore_Checksumsβ The-IGnoreβChecksumsoption may be used to disable checksum validation of input files, for those formats which have checksums at all. Note that the checksum values are still read in and parsed (so it is still an error if they are missing) but their values are not checked. Used after an input file name, the option affects that file alone; used anywhere else on the command line, it applies to all following files. sneaky but legal π¦-Enable_Sequence_Warningsβ This option may be used to enable warnings about input files where the data records are not in strictly ascending address order. Only one warning is issued per input file. This is the default.
Note: the output ofsrec_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_Warningsoption. so like, order matters, bestie π
-Disable_Sequence_Warningsβ This option may be used to disable warnings about input files where the data records are not in strictly ascending address order.
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.
-redundantβbytes=valueβ Use this option to permit a file to contain redundant values for some memory locations. The default is for this condition to be a warning. The values are:ignoreβ No warning or error is issued whena redundant settings are detected.warningβ A warning is issued when a redundant settings are observed, the warning includes the problematic address.errorβ A fatal error is issued when a redundant settings are observed, the fatal error message includes the problematic address and byte value.
-contradictoryβbytes=valueβ Use this option to permit a file to contain contradictory values for some memory locations. The last value in the input(s) will be used. The default is for this condition to be a fatal error. The values are:ignoreβ No warning or error is issued when contradictory setting is detected.warningβ A warning is issued when a vontradictory settings are observed, the warning includes the problematic address, and values.errorβ A fatal error is issued when contradictory settings are observed, the fatal error message includes the problematic address and byte values.
-Verboseβ This option may be used to obtain more information about the input files including size of blocks and allocation ratio. the details, the lore, the everything π-VERSionβ Print the version of thesrec_infoprogram being executed.
β οΈ All other options will produce a diagnostic error. like, don't try it. fr fr π
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. whatever your heart desires π
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. sad, but rules are rules π
Options and other command line arguments may be mixed arbitrarily on the command line. go off, be chaotic π
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. we stan a flexible queen π
π EXIT STATUS π
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. zero drama only π
π COPYRIGHT π
srec_info version 1.65
Copyright (C) 1998... 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. π
π MAINTAINER π
- Scott Finneran β EβMail:
scottfinneran@yahoo.com.au - Peter Miller β EβMail:
pmiller@opensource.org.au
and that's the whole vibe check, bestie π§β¨ this page came to you from the Reference Manual, SRecord, for srec_info(1) β take care of her, she's iconic πππ
π¦ where this page comes from
- opensuse-leap 16.0: srecord 1.65.0-bp160.1.12 Β· GPL-3.0-or-later
- opensuse-leap 16.0: srecord 1.65.0-bp160.1.12 Β· GPL-3.0-or-later
- opensuse-leap 16.0: srecord 1.65.0-bp160.1.12 Β· GPL-3.0-or-later
- opensuse-leap 16.0: srecord 1.65.0-bp160.1.12 Β· GPL-3.0-or-later
- Copyright (C) 1998, 2001, 2005-2009, 2013 Peter Miller
- Copyright (C) 1998-2007, 2009, 2011 Peter Miller
- Copyright (C) 2006, 2007 Peter Miller
- Copyright (C) 2005-2007, 2009, 2011 Peter Miller
- Copyright (C) 2006, 2007, 2011 Peter Miller
- Copyright (C) 2001, 2006, 2007, 2014 Peter Miller
- Copyright (C) 1998, 2006-2009 Peter Miller
- Copyright (C) 1998, 2006, 2007 Peter Miller
- Copyright (C) 1998, 2006-2009, 2014 Peter Miller
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms