Search

GB3US d2716d EPROM program ART EPP-2 Advanced Research Technology DOSBox Linux

GB3US d2716d EPROM program ART EPP-2 Advanced Research Technology DOSBox Linux

Today I was finally ready to program the D2716D EPROM for the GB3TC repeater using the GB3US firmware (or more accurately my modded version of the firmware).

I never expected to be able to get the EPROM programmer (Advanced Research Technology ART EPP-2) working correctly under Linux but it was surprisingly straightforward.

Required parts:
ART EPP EPROM programmer
USB Serial device
9 pin serial to 25 pin serial adapter
PC power cable (kettle lead)
ppdos.exe from http://download.artbv.nl/programmers/epp2/ppdos.exe
ffcdos.exe from http://download.artbv.eu/programmers/epp2/ffcdos.exe
DOSBox installed

To configure DOSBox so it can use the USB serial device we need to change a line in ~/.dosbox/dosbox-*.conf (where * is the version number):
serial1=directserial comport=1 realport:ttyUSB0
You also need to allow any user to access the serial port, open a terminal window and type the following:
sudo chmod a+rw /dev/ttyUSB0
Do not close the terminal window.
run DOSBox:
dosbox
In the DOSBox window type in:
mount c ~
which will allow you to access your home folder within DOSBox.

Change directory to wherever you downloaded ppdos.exe and ffcdos.exe earlier.
Both files are self extracting. To make life a little easier make a directory to keep the extracted files together:
mkdir eprog
cd eprog
..\ppdos.exe
..\ffcdos.exe

This will extract the files.
ppdos is the EPROM programming software and ffcdos is the file converter to turn a binary file into a file suitable for programming to the EPROM.

We now have the programming software (PROMPROG.EXE) and the conversion software (FFC.EXE).
For now we will assume the EPROM binary file you wish to program is called EPROM.BIN and is in your ~ directory.
FFC C:\EPROM.BIN EPROM.S1F
This will create a new file EPROM.S1F in the current directory (C:\EPROG).
Time to program the EPROM :)

We need to know a few things before we start:
The EPROM manufacturer (NEC)
The EPROM size (2KBytes, 8 bits)
The EPROM type (D2716D – 2716)

PROMPROG.EXE

The 2716 is not known by the programming software, but there is a similar EPROM available – the 2732.

Manufacturer: NEC
Size: 2x8KBit (2K)

Insert the EPROM into the programmer. One end of the EPROM has a notch, this indicates pin one.
To insert the EPROM, lift the handle up and rotate the EPROM so the end with the notch is towards the end with the handle and the flat end is to the right hand side. The flat end goes into the last set of pins

EPROM inserted into programmer. Note the notch is on the left hand side and the EPROM is inserted into the right hand side.

The first thing we need to do is verify that this is a working EPROM. We can do that by reading the EPROM contents directly into the software:

Buffer-Read PROM into buffer
EPROM size
Reading EPROM into buffer
EPROM read into buffer
Edit-View buffer

As we can see the buffer is full of FF bytes. This is what is expected from a blank EPROM.
Compare that to the next image which contains a previously programmed EPROM:

Previously programmed EPROM

We now know that the EPROM is inserted correctly, can be read and is blank, ready for programming. Time to program the EPROM.
To program the EPROM we first have to clear the existing buffer, load the EPROM.S1F file we created earlier and finally program it.

Buffer-Clear buffer
Buffer-Load file into buffer
I know I said EPROM.S1F :P
Status: READY
Program-Program PROM
Keep pressing Enter to program the EPROM

When it completes, you can verify the EPROM

Verify-Verify PROM
Status: Ready !

We have now verified the EPROM is programmed correctly. Take the EPROM out of the programmer by lifting the handle vertically and then lifting the EPROM straight up. It will be loose and will easily come out of the ZIF holder.

As the EPROM is UV erasable it may be a very good idea to cover the window with a sticky label, and write the contents of the EPROM on the label.

Related posts

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.