This format is understood by Needham Electronics' EMP-series programmers. See
www.needhams.com/winman.pdf for more information. (This format is very similar to the ASCII-Hex format, but without the ^B and ^C guard characters.)
Each data byte is represented as 2 hexadecimal characters, and is separated by white space from all other data bytes.
The address for data bytes is set by using a sequence of
$Annnn, characters, where nnnn is the 8-character ascii representation of the address. The comma is required. There is no need for an address record unless there are gaps. Implicitly, the file starts a address 0 if no address is set before the first data byte.
In general, binary data will expand in sized by approximately 3.0 times when represented with this format.
Here is an example ascii-hex file. It contains the data “Hello, World[rq] to be loaded at address 0x1000.
$A1000, 48 65 6C 6C 6F 2C 20 57 6F 72 6C 64 0A
srec_cat version 1.64
Copyright © 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 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.