Scroll to navigation

srec_fastload(5) File Formats Manual srec_fastload(5)

NAME

srec_fastload - LSI Logic Fast Load file format

DESCRIPTION

The FastLoad Format uses a compressed ASCII format that permits files to be downloaded in less than half the time taken for Motorola S‐records.

The base‐64 encoding used is "A‐Za‐z0−9,.". The data is encoded in groups of 4 characters (3 bytes, 24 bits).

The character '/' is used to introduce a special function. Special functions are:

Defines an address.
Define a single byte.
Compare the checksums. The checksum is a simple positive 16‐bit sum, of the data bytes only.
Define the program's entry point. The address will be the current address as defined by the A command. (The AA number in this command is ignored.) This must be the last entry in the file.
Clear the checksum. (The AA number in this command is ignored.)
Define a symbol. The address of the symbol will be the current address as defined by the A command.
Clear a number of bytes.

Size Multiplier

In general, binary data will expand in sized by approximately 1.4 times when represented with this format.

EXAMPLE

Here is an example LSI Logic Fast Load format file. It contains the data “Hello, World[rq] to be loaded at address 0.

/AAAA
SGVsbG8sIFdvcmxk/BAK/CARS/AAAA/EAA

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