
		Parallel Port Eprom Programmer



PPEP has several components:

hardware	The hardware board that you plug on the PC parallel port.
		This is a double sided board with a few TTL chips, a TL 497
		and a 28-pins programming slot.  The hardware supports only
		one programming voltage (either 12.5 or 12.75).  It can
		program a 2764/27C64, 27128/27C128 or 27256/27C256.

drivers		A GNU/Linux driver that is loaded in the kernel and which
		controls the hardware through the parallel port.  More
		drivers may be added in the future.  The Linux driver
		is written in C.

tools		A tool that allows programming/reading the eproms supported
		by the hardware.  The tools are written in ADA.  They must
		be compiled with GNAT.


To build the drivers and the tools, you must do the following:

  1/ Run the configure script:

	./configure

     This will configure 'make.defs' and setup the path of you Linux includes
     Verify the flags that are used for building the driver and
     make sure they are compatible or the same as the ones used
     when building your kernel.

     Note: The path of Linux includes is hard-coded to /usr/src/linux/include

  2/ Build everything with make:

	make


To install the driver do:

  1/ Log as root

  2/ Copy the PPEP module in /lib/modules/<kernel>chars

	cp drivers/linux/ppep /lib/modules/2.2.19/chars/ppep

  3/ Update the module dependencies using depmod

	/sbin/depmod

  4/ Create the ppep devices using mknod
     This step is necessary only for Linux 2.2.  It is not necessary for
     Linux 2.4

	mknod /dev/ppep0 c 120 0

  5/ You can also load the module

	/sbin/insmod ppep

To read a 27128 eprom:

   epprg -r file.bin -t 27128

   the file 'file.bin' will contain the binary dump of the 27128 eprom.

To write a 2764 eprom:

   epprg -w file.bin -t 2764


I've tested PPEP hardware, driver and tools on a Linux 2.2.17, 2.2.19
and 2.4.8 kernel with the following eproms:

2764A-2		Intel	Vpp 12.5V
27128-25		Vpp 12.5V
27256-1			Vpp 12.5V
27256-2			Vpp 12.5V
27256-25		Vpp 12.5V
