Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

srec_formatted_binary(5) [debian man page]

srec_formatted_binary(5)					File Formats Manual					  srec_formatted_binary(5)

NAME
srec_formatted_binary - Formatted Binary file format DESCRIPTION
This is the PDP-11 paper tape format, described in the DEC-11-GGPC-D PDP-11 "Paper Tape Software Programming Handbook" 1972. The file starts with a character sequence which appears as an arrow when punched on 8-hole paper tape. 0x08, 0x1C, 0x2A, 0x49, 0x08, 0x00 Then follows a byte count, encoded big-endian in the low 4 bits of the next 4 bytes. The high bits should be zero. Then follows a 0xFF byte. The data follows, as many bytes as specified in the header. The trailer consists of the following bytes: 0x00, 0x00, and then a 2-byte checksum (big-endian). The alternate header sequence 0x08, 0x1C, 0x3E, 0x6B, 0x08, 0x00 is followed by an 8-nibble big-endian byte count. Size Multiplier In general, binary data will expand in sized very little when represented with this format. EXAMPLE
Here is a hex dump of a formatted binary file containing the data "Hello, World!". 0000: 08 1C 2A 49 08 00 00 00 ..*I.... 0008: 00 0E FF 48 65 6C 6C 6F ...Hello 0010: 2C 20 57 6F 72 6C 64 21 , World! 0018: 0A 00 00 04 73 ....s 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_formatted_binary(5)

Check Out this Related Man Page

srec_atmel_generic(5)						File Formats Manual					     srec_atmel_generic(5)

NAME
srec_atmel_generic - Atmel Generic file format DESCRIPTION
This format is the output of the Atmel AVR assembler. The file contains two columns of hexadecimal coded values. The first column is the 24-bit word address, the second column is the 16-bit word data. The columns are separated by a colon (`:') character. By default, SRecord treats this is little-endian data (the least significant byte first). If you want big endian order, use the -atmel- generic-be argument instead. Size Multiplier In general, binary data will expand in sized by approximately 6.0 times when represented with this format (6.5 times in Windows). EXAMPLE
Here is an example Atmel Generic file. It contains the data "Hello, World[rq] to be loaded at bytes address 0x0100 (but remember, the file contents are word addressed). 000080:4865 000081:6C6C 000082:6F2C 000083:2057 000084:6F72 000085:6C64 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_atmel_generic(5)
Man Page