srec_ppb - Man Page

Stag Prom Programmer binary format

Description

This is the native binary format of the Stag Prom Programmer.

Format

The format is packet based. The packet is composed of an 0x01 byte, the packet payload size (4 bytes, big-endian), the packet address (4 bytes, big-endian), the packet data, and the negative of a one-byte simple sum of the payload size, address and payload data.

If the packet payload is more than 1024 bytes, there is an intermediate checksum after each 1024th payload byte.

The end of file is indicated by a packet with a zero-length payload.

Command Line Option

This format is specified using the -PPB command line option.

Size Multiplier

In general, binary data will expand in size by approximately 1.002 times when represented with this format (worse if there are many short data regions).

See Also

https://web.archive.org/web/20110417235840/http://www.stag.co.uk/

Maintainer

Scott FinneranE-Mail:scottfinneran@yahoo.com.au
Peter MillerE-Mail:pmiller@opensource.org.au

Referenced By

srec_cat(1), srec_input(1).

SRecord Reference Manual