srec_ppb(5)

πŸŽ€ srec_ppb β€” Stag Prom Programmer binary format πŸŽ€

okay bestie, this is srec_ppb(5) from the File Formats Manual β€” and it’s giving native binary format of the Stag Prom Programmer energy. Let’s get into it πŸ’…


πŸ’– NAME

srec_ppb β€” Stag Prom Programmer binary format.

🌸 DESCRIPTION

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

✨ Format

The format is packet based. A packet is composed of, in order:

  • an 0x01 byte
  • the packet payload size (4 bytes, big-endian)
  • the packet address (4 bytes, big-endian)
  • the packet data
  • 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. periodt.

πŸŽ€ Command Line Option

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

πŸ¦‹ 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). lowkey important.

⭐ SEE ALSO

  • 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

✨ cute sign-off: source/version = SRecord Reference Manual, page srec_ppb(5); the original footer doesn’t show a date, so I’m not inventing one β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from