Notes:
• Since the value of negative offset is subtracted from real address, the result of subtraction
can be negative number. Therefore take care of correct setting of this value!
• We recommend automatic set of negative offset in special cases only. This option
contains a heuristic analyze, which can treat some data in file incorrectly. There are
especially critical files, which contain a fragmented addresses range and which exceeds a
size of selected device - some block can be ignored.
• Automatic negative offset option is not available for some kinds of special devices, that
require HEX files with exactly specified blocks
Microchip PICmicro devices. For these special devices, there are available only manual
offset settings (None, Positive offset, Negative offset).
Example for negative offset using:
A file contains data by Motorola S - format.
A data block started at address FFFF0H.
It is a S2 format with length of address array of 3 bytes.
For all data reading you can set Negative offset option and value of negative offset to
FFFF0H.
It means, that the offset will be subtracted from current real addresses and so data will be
written from buffer address 0.
List of file format codes and error codes
There can occur some errors during file download in some of supported formats. The error is
written to LOG window in face "Warning: error #xxy in line rrr", xx is file format code, y is error
code and rrr is line number in decimal.
File format codes:
#00y - binary
#10y - ASCII Space
#20y - Tektronix
#30y - Extended Tektronix
#40y - Motorola
#50y - MOS Technology
#60y - Intel HEX
Load file error codes:
#xx1 - bad first character - header
#xx2 - bad character in current line
#xx3 - bad CRC
#xx4 - bad read address
#xx5 - bad length of current line
#xx6 - too big negative offset
#xx7 - address is out of buffer range
#xx8 - bad type of selected file format
#xx9 - the file wasn't loaded all
File / Save
Saves data in the buffer, which has been created, modified, or read from a device onto a
specified disk. The file format of saved file can be chosen from supported formats list box.
used for the devices - for example
95
Pg4uw
Need help?
Do you have a question about the MEMprog2 and is the answer not in the manual?
Questions and answers