PromDevice27
The PromDevice27 driver supports Flash, EEPROM, and EPROM chips that use a variety of programming algorithms.
Most, if not all, 27C series chips are not 5V-only and require a higher voltage to program or erase. This driver supports chips that need the voltage constantly applied while programming or erasing. The programming voltages are provided by an external power supply and manually switched before starting a write or erase operation. See the TommyPROM32 hardware for a diode circuit that allows the programming voltage to be switched between Vcc and a higher voltage.
Check the chip details below for the high voltage connections for a particular chip or consult your data sheet. Also note the warning in that section about issuing other commands while the programming voltage is asserted.
Chips that use high voltage pulses for each byte are not supported. For those chips, some elements of the 8755A hardware may be leveraged to build a version of the programmer that is able to provide high voltage pulses.
Verified Chips
Model | Manufacturer | Type | Module | Notes |
---|---|---|---|---|
M27256 | ST Micro | EPROM | 27 | VCC=6V, VPP=12.5V to pgm |
M27C256 | ST Micro | EPROM | 27 | VCC=6.5V, VPP=12.75V to pgm |
W27C257 | Winbond | EEPROM | 27 | Continuous 12V or 14V for program/erase |
SST27SF020 | SST | Flash | 27 | 12V continuous for pgm/erase |
27C and 27E Series EPROMs and Flash
WARNING: Some chips in this series use the CE and OE pins in non-standard ways when the high voltage is asserted on VPP. Because the programming voltage is switched manually, care needs to be taken when using chips that pulse the CE pin for programming. The programming code itself knows how to manage this, but other commands, like the DUMP command, will also toggle CE. If the programming voltage is asserted, these other commands can inadvertently cause a write operation. Be sure to assert the programming voltage, issue the needed write commands, and then remove the high voltage before issuing any additional commands that may corrupt the data.
M27C256
The M27C256 is a 32Kx8 byte UV-erasable EPROM. It needs two special voltages for programming. VPP must be raised to 12.75V and VCC must be raised to 6.25V. Be sure to isolate the chip’s VCC pin from other Vcc connections so that the 6.25V is not fedback into the Adbuino or into the shift registers.
This chip does not have a dedicated PGM or WE pin, so programming and verify are controlled by the E (Chip Enable) and G (Output Enable) pins. The CE pin is pulsed to program bytes into a location. To verify, the OE pin is asserted, but the CE pin is not.
Note the warning in the section above about data corruption from issuing other commands while the programming voltages are present.
This chip can only be erased with UV light, so the erase command is not supported.
M27256
This is an older version of the M27C256. Pin connections are the same, but for programming Vcc=6V and Vpp=12.5V. The programming pulse width is 1ms instead of 100us, and the programming algorithm uses an overwrite pulse equal to 3ms * the number of program pulses written.
W27C257, W27E257, W27C512
The Winbond W27C257 and W27E257 appear to be identical 32Kx8 EEPROMs. The 27C version has been tested. The Winbond W27C512 is a 64Kx8 EEPROM with no dedicated VPP pin.
The 257 EEPROMs have a VPP pin that needs a constant 12V during programming. Unlike the newer 28C EEPROMs, these chips do not automatically erase before writing to a location. Instead, the entire chip is erased by applying 14V to VPP and A9 and then pulsing CE. To erase the chip, assert the voltages on VPP and A9 and then issue the Erase command from the terminal.
Unlike the 257 chips, the W27C512 does not have a dedicated pin for the programming voltage and instead uses 12V on the OE pin to place the chip in programming mode. The verify operation requires that the OE pin be switched to LOW and there is no hardware support for this, so the current code supports the 512 chip by doing a single write cycle with no verify.
Because the chips use a constant high voltage for programming instead of a pulse, an external power supply and two diodes can be used to supply either 5V or 12V to the pins for programming and erasing.
Note that the W27x257 chip are almost a drop-in replacement for the 28C256. The WE, VPP, and A14 pins are the only differences. For reading, the VPP pin should be connected to 5V.
SST27SF020
The Silicon Storage SST27SF0x0 are programmed similarly to the 27C257 in that a constant voltage is applied for program and erase operations. Unlike the 27C257, these have a dedicated WE pin that controls programming and erasing. Another difference is that they do not have a verify operation to read back the programmed data.
These Flash chips have a VPP pin that needs a constant 12V during programming. Unlike the newer 28C EEPROMs, these chips do not automatically erase before writing to a location. Instead, the entire chip is erased by applying 12V to VPP and A9 and then pulsing WE.
Chips to be Tested
Model | Manufacturer | Type | Module | Notes |
---|---|---|---|---|
TMS2564 | TI | EPROM | VPP=25V, 50ms low pulse on PGM | |
AM2716 | AMD | EPROM | ||
B2732 | Intel | EPROM | VPP/OE=25V, 50ms low pulse CE | |
MBM2732A | Fujitsu | EPROM | ||
2764 | SEEQ | EPROM | VPP/OE=21V, 50ms low pulse CE | |
AM2764-2 | AMD | EPROM | VPP=21V, 50ms low pulse PGM | |
M5L2764K | Mitsubishi | EPROM | VCC=6V, VPP=21V, 1ms low pulse PGM 4x overwrite | |
D2764 | Intel | EPROM | VCC=6V, VPP=12.5V, 1ms low pulse PGM 3x overwrite | |
D27128 | Intel | EPROM | VCC=6V, VPP=12.5V, 1ms low pulse PGM 3x overwrite | |
W27C512 | Winbond | EEPROM | 27 | Continual 12V or 14V for program/erase,VPP on OE |
M27C2001 | ST Micro | EPROM | VCC=6.5V, VPP=12.75V to pgm | |
M27C4001 | ST Micro | EPROM | VCC=6.5V, VPP=12.75V to pgm | |
MCM68766 | Motorola | EPROM | PGM pulse is 25V |