Hardware design, control software and interface firmware
are © Copyright 1998 by Lewin A.R.W. Edwards. They are licensed as
FREELY DISTRIBUTABLE software.
Please direct all queries to:
Lewin A.R.W. Edwards
Tel +1 (914) 645-9098
Email sysadm@zws.com
WWW http://www.zws.com/
I am a contract programmer (embedded systems, device drivers,
and other low-level code for a variety of operating systems) currently
working from Port Chester, NY, USA. Please refer to my online
resume if you are looking for some quality Windows, MacOS, OS/2 or
embedded controller code (many CPUs/MCUs).
The DOS software bundle comprises two executable files:
the DOS/4GW runtime, DOS4GW.EXE, and the EPROMr control program, EPROM.EXE.
Note: If running this software
inside OS/2, your CONFIG.SYS file must specify IOPL=YES, and the DPMI_DOS_API
property of your DOS box must be set to ENABLED.
Command-line options are:
-b
Check EPROM is blank.
-d
Run hardware diagnostic (requires external test hardware).
-f
Use software timing (NOT recommended; but may be necessary
on some PCs).
-h
Use special timing to fix problems with certain Pentium(r)-class
PCs. Do not use this switch unless it is necessary for your system; refer to the FAQ.
-paddress
Use LPT port at base I/O address (default is 378h,
LPT1). There should be no space between the -p switch and the address,
and the address should be specified in hexadecimal.
-n
(Used in conjunction with -w) Do not verify after write
operation. The use of this switch is strongly discouraged, for reasons
which are documented in the EPROMr
FAQ.
-q
Quiet mode - no switch setting confirmation or detailed
failure messages.
-ttype
Select chip type, where type is one of 2764, 27128,
27256, 27512, 27010, 27020, 27040, 834000, or generic. If you specify -tgeneric,
you must also specify the size of your generic device with the -vsize
parameter.
-vsize
Specify size of generic device in bytes (decimal), or
override programmed size of one of the default chip types. This parameter
should be specified after the -ttype parameter.
-w
Write EPROM (if this parameter is not specified, a read
operation is assumed).
Some example command lines are shown below:
Write "myfile.bin" to a 27020 chip:
eprom -t27020 -w myfile.bin
Read a 27040 chip to "dump.bin":
eprom -t27040 dump.bin
Read a 16MByte device (using a customized EPROMr) to
"16meg.bin":
eprom -tgeneric -v16777216 16meg.bin
Run hardware diagnostic on EPROMr attached to port
278h (LPT2):
eprom -p278 -d