Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

srec_dec_binary(5) [debian man page]

srec_dec_binary(5)						File Formats Manual						srec_dec_binary(5)

NAME
srec_dec_binary - DEC Binary (XXDP) file format DESCRIPTION
The DEC Binary (XXDP) format was used on the PDP 11 series machines. This is a binary format, and is not readable or editable with a text editor. The file consists of records of the form +-----+--------+---------+------------+----------+ |type | length | address | ...data... | checksum | The field are defined as follows: +-----+--------+---------+------------+----------+ type Two byte little-endian value. Must always be 1. length Two byte little-endian value. This is the number of bytes in the data, plus six. address Two byte little-endian value. This is the load address of the data. data The data is simple raw bytes. There are (length-6) of them. checksum The checcksum is a single byte. It is the negative of the simple summ of all the header and data bytes. If the record length is exactly 6 (i.e. no data), this is the execution start address record, indicating the transfer address. In addition there may be NUL padding characters between records. It is common for records to be padded so that they start on even byte boundaries. In the days of paper tape, it was common for the file to have many leading NULs, to generate blank leader on the tape. Size Multiplier In general, raw binary data will expand in sized by approximately 1.03 times when represented with this format. COPYRIGHT
srec_cat version 1.58 Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Peter Miller The srec_cat program comes with ABSOLUTELY NO WARRANTY; for details use the 'srec_cat -VERSion License' command. This is free software and you are welcome to redistribute it under certain conditions; for details use the 'srec_cat -VERSion License' command. AUTHOR
Peter Miller E-Mail: pmiller@opensource.org.au //* WWW: http://miller.emu.id.au/pmiller/ Reference Manual SRecord srec_dec_binary(5)

Check Out this Related Man Page

srec_needham(5) 						File Formats Manual						   srec_needham(5)

NAME
srec_needham - Needham EMP-series programmer ASCII file format DESCRIPTION
This format is understood by Needham Electronics' EMP-series programmers. See www.needhams.com/winman.pdf for more information. (This format is very similar to the ASCII-Hex format, but without the ^B and ^C guard characters.) Each data byte is represented as 2 hexadecimal characters, and is separated by white space from all other data bytes. The address for data bytes is set by using a sequence of $Annnn, characters, where nnnn is the 8-character ascii representation of the address. The comma is required. There is no need for an address record unless there are gaps. Implicitly, the file starts a address 0 if no address is set before the first data byte. Size Multiplier In general, binary data will expand in sized by approximately 3.0 times when represented with this format. EXAMPLE
Here is an example ascii-hex file. It contains the data "Hello, World[rq] to be loaded at address 0x1000. $A1000, 48 65 6C 6C 6F 2C 20 57 6F 72 6C 64 0A COPYRIGHT
srec_cat version 1.58 Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Peter Miller The srec_cat program comes with ABSOLUTELY NO WARRANTY; for details use the 'srec_cat -VERSion License' command. This is free software and you are welcome to redistribute it under certain conditions; for details use the 'srec_cat -VERSion License' command. AUTHOR
Peter Miller E-Mail: pmiller@opensource.org.au //* WWW: http://miller.emu.id.au/pmiller/ Reference Manual SRecord srec_needham(5)
Man Page