Close
0%
0%

Realtime EPROM eraser

We can see the EPROM eraser status in realtime! Which is the first bit change till the last bit change. Starting to End till all blank [FF]

Similar projects worth following
We can see the EPROM Erasure status from the starting to end in realtime. Which address location changed the first bit flip to the last bit change till complete erasure. The moment the EPROM is erased or "Blank" then all the bits will be read as "1" or byte value as "FF" or word as "FFFF".
In this demonstration a blank M27C4002 (256 x 1024 x 16 = 4,194,304 bits) is written with alternative bits as '0s or '1' or in HEX value "5555".
Then the EPROM is exposed to a UV-C 1W LED with a wavelength of 275nm.
We can see in realtime at what time the first bit change occurs. We can also see at what time all the bits became '1' or the EPROM is blank.

Some time we may come accross to delete the old EPROM or Microcontroller with EPROM and reprogram the device due to CRC or check sum error. We may also want to upgrade the firmware.

If we do not have any EPROM eraser, we can easily build a EPROM eraser using just 2 components.

We need a UV-C LED and a current limiting resistor. 

EPROM erasure
UV DOSE and wavelength requirement

If you refer to any EPROM datasheet, it will be all the same original Intel datasheet with Cut and Paste.

I am not able to procure the 253.7nm UV-C LED. But I am very easily able to get 3535 size SMD275nm/1W UV-C LED for $1. The UV-C comes in diode or diode mounted on a Al base plate along with polarity marking and soldering pads. This one is much easier to handle the LED in our application.

UV-C LED
275nm UV-C LED with Al sheet with double sided tape

CONNECTION:

Just connect the UV-C LED along with a series current limiting resistor so that we are operating with in the UV-C LED power rating and there is no excess or thermal issue due to large current flowing through the LED.

For 12V DC source with a 150 Ohm resistance is good enough and working. In this case the Diode drop measured is 6.17V DC for the Supply voltage of 12.11 V DC.

The current through the UV-C LED is 0.0396666666666667A

The power dissipated by UV-C LED is 0.2447433333333333W

We are well below the power rating of the UV-C LED and does not require any additional cooling.

Just place the UV-C LED above the quartz window of the EPROM. Do not look at the LED without anh proper eye protection. I have used the Double sided tape to hold the LED above the EPROM window.

OBSERVATION:

Tested this setup with 2716, 2732, 2764, 27128, 27256, 27512, 27C010, 27C4002 from different year of manufacturing and different vendor. Also tested intel 87C51 with 4kB and 8kB EPROM versions.

OLD EPROM manufactured many years ago with larger micrometer technology erases faster.

There are GROUP of bytes behaves the same way as nearby bytes. Location and structure effect. 

There is no major time difference between isolated device with UV-C LED or keeping the EPROM on EPROM programmer. Periodical reading and verifying does not have much effect on EPROM eraser. When we place the EPROM on the programmer, the programmer provides supply voltage to the EPROM during read, verify operation.

CONCLUSION:

Capable of erasing between 20 to 45 minutes.

Using 253.7nm UV-C LED may be more effective than currently used 275nm. We can have multiple UV-C LED in series or parallel for more devices or more power.

Increase in current through the UV-C LED may result with faster erasure. Hope with a pulsed LED with few kHz using a 555 astable with smaller duty cycle may be more effective.

Additional log will be updated and added after testing the pulsed version.

m27c4002.pdf

ST EPROM datasheet

Adobe Portable Document Format - 230.28 kB - 01/28/2026 at 14:47

Preview

  • 1 × UV-C LED 253.7nm / 1W
  • 1 × 150 Ohms Resistor 1W or above
  • 1 × 12V DC source 12V DC source rated 500mA or above
  • 1 × Double Sided Tape Optional to hold the LED above EPROM window
  • 1 × DC JACK Compatible with DC power source

View all 9 components

  • 1
    WRITE THE EPROM

    Write the EPROM with known and simple pattern. In this case the data written HEX value of "5555" . This value is selected since the alternative bits are '1' 

    HEX 5555 =  0101 0101 0101 0101 in binary

    So the Whole of the EPROM, it contains 524288 Bytes. All the Bytes are written with the same value of "5555"

    The erased or blank EPROM will have all bits changed to '1' or "FFFF" is the destination value. So we are only writing half of the bits with '0'. 

    So it is only 50% work load. Worst case DATA is "0000". Changing all the bits to '0' is the 100% work to flip all the 0's to 1's.  But some times it sucks. 

  • 2
    READ and VERIFY the EPROM

    After writing the "5555" data into all of the EPROM, read the content of the EPROM and VERIFY the content of the EPROM.

  • 3
    TURN ON UV-C LED

    READ and VERIFY the content. The programmer will report Verify operation are OK.

    Now Turn ON the UV-C LED  and wait to 5 to 9 minutes. 

    Do not change anything. There are multiple parameter governs the time taken to flip 1 bit in the whole EPROM.

    Die size, Manufacturer, process( cell size nm), etc

View all 9 instructions

Enjoy this project?

Share

Discussions

Does this project spark your interest?

Become a member to follow this project and never miss any updates