1srec_ppb(5) File Formats Manual srec_ppb(5)
2
3
4
6 srec_ppb - Stag Prom Programmer binary format
7
9 This is the native binary format of the Stag Prom Programmer.
10
11 Format
12 The format is packet based. The packet is somposed of an 0x01 byte,
13 the packet payload size (4 bytes, big‐endian), the packet address size
14 (4 bytes, big‐endian), the packet data, and a one‐byte simple sum of
15 the payload data.
16
17 If the packet payload is more than 1024 bytes, there is an intermediate
18 checksum after each 1024th payload pyte.
19
20 The end of file is indicated by a packet with a zero‐length payload.
21
22 Command Line Option
23 This format is specified using the -PPB command line option.
24
25 Size Multiplier
26 In general, binary data will expand in sized by approximately 1.002
27 times when represented with this format (worse if there are many short
28 data regions).
29
31 http://www.stag.co.uk/
32
34 srec_cat version 1.64
35 Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
36 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Peter Miller
37
38 The srec_cat program comes with ABSOLUTELY NO WARRANTY; for details use
39 the 'srec_cat -VERSion License' command. This is free software and you
40 are welcome to redistribute it under certain conditions; for details
41 use the 'srec_cat -VERSion License' command.
42
44 Scott Finneran E‐Mail: scottfinneran@yahoo.com.au
45 Peter Miller E‐Mail: pmiller@opensource.org.au
46
47
48
49Reference Manual SRecord srec_ppb(5)