Sei sulla pagina 1di 19

Esa 86/88-3 eprom programmer system

Submitted to:Mr. Arvind Rajput

Submitted by:Amandeep kaur (UE95056) Mohit Goyal (UE95055) Manu (UE95054)

Index
Introduction Installaion Operation 1. P command 2. V command 3. B command 4. R command 5. E command References

Introduction
ESA-86/88-3 PROM programmer system is a powerful and easy to use optional attachment for ESA -86/88-3. The system permits the user to program, verify, blank check and read any of the popular EPROMs -2716 through 27512. The system consists of a hardware module and the necessary software. The software can be invoked either from the keyboard monitor or from the serial monitor. A 28 pin ZIF socket is provided for placing the EPROMs. When a 24-pin EPROM is to be placed, it must be aligned with the bottom row i.e. top two rows of pins are to be left blank. The system uses Intelligent Programming Algorithm whenever possible which reduces the programming time significantly.

Installation
1. Turn off power to ESA-86/88-3 trainer. 2. Attach the hardware module to ESA-86/88-3 over the connector J5 using the 26 core ribbon cable supplied with the module. 3. Connect the black, red, yellow and blue wires coming from the four pin polarized connector on the programmer module, to the corresponding coloured point of ESA power supply as shown below:

Installation(cont)
Colour of wire BLACK YELLOW BLUE Supply to be connected GROUND +12V +30V

4. If a separate supply is used for programmer module, ensure that its common is connected to the common of the power supply used for the trainer. 5. Turn On the power and press the RESET KEY; now the EPROM programming system is ready for operation.

Operations
EPROM programmer can be invoked from serial or the stand-alone monitor. To invoke the programmer system from the Serial Monitor, type P when prompted for a command. On the next line , a command prompt ('*') followed by a list of the commands is displayed as follows: * (P/R/V/B/E) The system is mostly menu driven. As shown above, the available commands are P,R,V,B and E which have the following meaning.
P - Program R - Read V - Verify B - Blank check E - Exit to the System Monitor.

P command
This command is used to program a EPROM. This command requires the following four parameters: Type = EPROM Type : should be one of the types Buffer Start = Starting address of the source of data (can be in segment : offset form or only offset form. If only offset is specified, a default segment value is used which is equal to the value of the user's code segment register). Buffer End = Ending address of the source of data. It can be specified only as offset. No segment values are permitted. EPROM start = Absolute starting address of the PROM (from where programming is to begin)

P command(cont)
For example, suppose EPROM type is 2764. Then its highest absolute address is 1FFF H. Suppose the other parameters are as follows:
Buffer Start = FC00 : 0000 Buffer end = 3FFE EPROM Start = 100

Then 100 + (3FFE-0000)/2 = 20FF > 1FFF so this combination of parameters is invalid. As user enters the parameter values, the above mentioned constraints are checked and if any of the constraints are violated, the error message `What ???' is displayed and user is again prompted for a value for the parameter which resulted in the detection of the error.

P command(cont)
After optional modification of the parameter values by the user, the system checks the EPROM for blank values (0FFH) in the required zone. If the EPROM is not blank, the following prompt appears: EPROM is not blank. OK? (Y/N) If user types N, the command is aborted and control returns to command prompt of the EPROM programmer. If the user enters Y, the system proceeds further. Any other character results in error message and repetition of the same prompt.

P command(cont)
Now the following message appears: Programming in progress... The system proceeds with programming and verification on a byte by byte basis. Intelligent Programming Algorithm is used if the EPROM can support it. This results in considerable reduction in programming time required for such devices.

P command(cont)
If the complete programming is successful, the system will display a 16-bit checksum and control will return to the EPROM programmer command fetch routine. If the programming is unsuccessful, the following information is displayed.
verify Error !!! (EPROM)=XX (Source) = XX @ EPROM address = XXXX

The displayed values indicate the location where programming was unsuccessful (X here indicates any hex digit)

V command
This command is used to verify the contents of a EPROM against a source. The parameters and their interpretation is completely similar to that of the P Command. If the verification is successful, the checksum is displayed and programmer command prompt appears on the next line. If the verification fails, a message and parameters at the point of failure are displayed as in the P command. Further the following prompt appears. Verify Continue ? (Y/N) If N is typed, control returns to start of EPROM Programmer system If Y is typed, verify operation continues with the next byte. Thus the operation of this command is quite similar to the operation of the P command, except that here the EPROM is just verified, not programmed.

B command
This command is used to check if a specified range in the EPROM is blank (contains 0FFH) This command requires the following three parameters:
Type : Same as for P command EPROM Start : The absolute starting address of the EPROM EPROM End : The absolute ending address of the EPROM.

The parameters must satisfy the following relations: I. EPROM start <= Absolute last address of the EPROM II. EPROM End <= Absolute last address of the EPROM and >= EPROM Start. The parameter display and modification procedures are menu-driven and are similar to those of the P command.

B command(cont)
The EPROM is checked for blank values in the specified range and if it is blank then the following message is displayed: EPROM is blank Control returns to EPROM Programmer System. If a location in the specified range is not blank the following message is displayed. EPROM is not blank !!! This message will be followed by the absolute EPROM address of the first non-blank location as shown below:
First non-blank at address XXXX (X is any hex digit)

R command
This command is used to transfer the contents of the EPROM into the ESA 86/88-3 memory space. This command requires the following four parameters:
Type : Same as for P command EPROM Start : Same as for B command EPROM End : Same as for B command Buffer Start : Starting address in ESA 86/88-3 memory space. (can be given in segment : offset form or as offset only if default segment value is to be used).

The parameter display and modification procedures are menu driven and are completely similar to the ones described for P command. The starting and ending addresses of the EPROM must satisfy the relations described for the B (Blank check) command.

R command(cont)
During the transfer, as each byte is written into memory, it is read back and verified. If the write is successful for all the locations, a 16-bit checksum is displayed and control returns to the start of the EPROM Programmer System. If an error occurs during transfer (i.e. unsuccessful write into a location), the following message is displayed. Failure at memory location XXXX (where X is any hex digit) Control returns to the start of EPROM Programmer system.

E command
This command is used to terminate the EPROM Programming software and return control to the Serial Monitor. The sign-on message of the Monitor is again displayed followed by its command EPROMpt on the next line.

References
ES86882 manual

Thank You!!!

Potrebbero piacerti anche