home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
programs
/
develop
/
adev11
/
prog
/
customize
Wrap
Text File
|
1995-02-27
|
2KB
|
46 lines
A programmer file is an ASCII file that contains strings and format characters
that describe how to pass information to a programmer. Each line is
associated with a particular function or class of functions as specified in
the list below:
ProgrammerName The name of the manufacturer and model of programmer
Prompt The character or characters that prompt the user
Error The string that the programmer sends when an error occurs
BlankCheckOn Prefix for a blank check command
BlankCheckOff Suffix for a blank check command
VerifyOn Prefix for a verify command
VerifyOff Suffix for a verify command
ProgramDeviceOn Prefix for a program command
ProgramDeviceOff Suffix for a program command
ReadDeviceOn Prefix for a device read command
ReadDeviceOff Suffix for a device read command
SetDeviceOn Prefix for a device select command
SetDeviceOff Suffix for a device select command
SetLowAddrOn Prefix for a low address command
SetLowAddrOff Suffix for a low address command
SetHighAddrOn Prefix for a high address command
SetHighAddrOff Suffix for a high address command
SetOffsetOn Prefix for a offset command
SetOffsetOff Suffix for a offset command
SetSerialOn Prefix for a serial configure command
SetSerialOff Suffix for a serial configure command
GetStatusOn Prefix for a status read command
GetStatusOff Suffix for a status read command
Many of the string can have format strings applied to them. The purpose of
this is best conveyed by an example. Assume that you have a programmer that
sets the type of the device to be programmed with the command:
TYPE <type_code>
the prefix string would be:
TYPE %c
and the suffix string would not be required, so it would be a blank line.
SProg inserts the device type code in place of the format command. Format
commands are always a % followed by a single character.
The format commands are:
%c - type_code from the device database
%l - low_address
%h - high_address
%o - offset
%s - serial setup string for A.R.T.