NT Lab Information

These are directions to assist you in writing
code to EPROMs, and reading those EPROMs. In order
to write to an EPROM, you must have a couple of things;
an empty EPROM ( in this case it should be a 27C128 ),
and a file which contains the code you wish to write
to the EPROM. Your code file should be placed in the
directory from which you intend to start the EPROM
burning program, "shooter".

Erasing your EPROMs:
In order to ensure that you are starting with an
empty EPROM, you should first erase your EPROM. This
is true even if you obtained a new part, as some EPROMs
come from the chip manufacturers and suppliers with code
already written on them. The EPROM eraser is located
on the table near the south wall of the DSL student
lab, room 3133 MEB. EPROMs are placed in the tray
of the burner, with the clear window of the part facing
up and the pins resting on the black conductive carpet.
They are then erased by turning the timer handle to
15 minutes after closing the tray. The erasing process
can be momentarily interrupted to place more EPROMs in
the eraser without disturbing the process, but any sub-
sequently added EPROMs should also be erased for at least
15 minutes, and care should be taken to ensure that you
know which ones are which. After 15 minutes of erasing
time has elapsed, the EPROMs can be removed and assumed
to be erased.
Inserting an EPROM:
An EPROM can be inserted into /dev/eprom1 or /dev/eprom2
by moving the lever on the respective device to the upright
(open) position, inserting a 27C128 part with pin 1 on
the lever end (pin orientation is also written on the
EPROM machines), and then moving the lever to the horizontal
position thereby clamping the pins. Next, you should push
the RESET button, and wait for the green LED labeled "READY"
to illuminate.

Writing and reading EPROMs:
In order to write to or read from an EPROM, you must
first log into the machine named "boxelder" which is
located in the northeast corner of 3133 MEB on the
east end of the table. You must login using your CS
account, which is also required for the labs in 210
EMCB. Then, after changing to the directory in which
your code file resides, type "shooter" at the command
prompt ( without the quotes). The program is very easy
to use, and has recently been rewritten and tested.
After typing "shooter", the following interface should
Please select the operation you want from the options listed below.
S,s --> Save Save EPROM to a file
D,d --> Download Burn a new EPROM
X,x --> eXit


Writing an EPROM:
You would type "d" at the prompt in order to write your code to
an EPROM. After typing "d", you will receive the following

Please specify source file name:


Here you enter the file name where your code resides, or you enter
the full path if you did not enter the shooter program from the
directory where your code file resides. After typing the filename
or path and hitting , the following prompt will appear:
Which device (1)Eprom1 or (2)Eprom2
You must specify which EPROM interface you wish to use, /dev/eprom1
by entering a 1, or /dev/eprom2 by entering a 2 ( they are labeled
as to which one is which ). The EPROM interface machines are located
on top of boxelder. After entering your preference, the shooter program
will take over, and scroll messages to the screen about the progress of
the process, and any error messages if the process is unsuccessful.
It takes several minutes for any process to be completed, so please
be patient. The yellow "BUSY" light will illuminate as the EPROM
machine processes data to or from the EPROM. A red LED labeled
"ERROR" will illuminate if you have installed the EPROM backwards,
if you have installed the wrong EPROM, or if the shooter program
encounters any of a number of other errors. If this happens,
you can clear the error by hitting the RESET button, and then
correct the cause of the error.

Using both EPROM devices at once:
Two EPROMs can be written and/or read simultaneously by using multiple
sessions, and by using both /dev/eprom1 and /dev/eprom2. Another session
can either be started by using another terminal window in X, or by changing
virtual terminals by entering , where
can be any of F1 through F6 ( F7 is reserved for an X server). This feature
also allows more than one user to write or read EPROMs at the same time, so
if someone else is waiting, please allow them access to boxelder while yours
is in process.

CAUTION: Only 27C128 parts may be used in the EPROM interfaces, please j
verify that you are inserting the correct part in the machine.