beautypg.com

File / save – Dataman 40Pro User Manual

Page 79

background image

PG4UW

79

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.
There can be also entered the Buffer start and Buffer end addresses which exactly specify
part of buffer to save to file. Supported file formats now are binary, MOTOROLA, MOS
Technology
, Tektronix, Intel (extended) HEX, ASCII space, JEDEC and POF.

If the checkbox Swap bytes is displayed, the user can activate function of swapping bytes
within 16bit words (or 2-byte words) during writing to file. This feature is useful especially
when saving files with Motorola representation of byte order in file (big endian). Standard
save file operation is using little endian byte order.

The reserved key will bring out this menu from any menu and any time.

This manual is related to the following products: