Scroll to navigation

srec_ppx(5) File Formats Manual srec_ppx(5)

NAME

srec_ppx - Stag Prom Programmer hexadecimal format

DESCRIPTION

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

Format

The file must start with an asterisk '*' on a line by itself.

Each line has a 16‐bit address, followed by 8‐bit bytes.

The end is indicated by '$S' folloowed by a 16‐bit checksum of the data bytes as 4 hex digits.

Command Line Option

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

Size Multiplier

In general, binary data will expand in sized by approximately 3 times when represented with this format (worse if you use shorter lines).

EXAMPLE

Here is an example PPX file. It contains the data “Hello, World” to be loaded at bytes address 0x0000 (but remember, the file contents are always multiples of four bytes).

*
0000 48 65 6C 6C 6F 2C 20 57 6F 72 6C 64 21 0A $S0473

SEE ALSO

http://matthieu.benoit.free.fr/pdf/pp39.pdf https://web.archive.org/web/20110417235840/http://www.stag.co.uk/

COPYRIGHT

srec_cat version 1.65
Copyright (C) 1998... 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.

MAINTAINER

Scott Finneran E‐Mail: scottfinneran@yahoo.com.au
Peter Miller E‐Mail: pmiller@opensource.org.au
SRecord Reference Manual