Babasha wrote on 2026-02-25, 07:56:I’m finally ready to share how I solved the problem of erasing UV EPROMs. I initially considered several options, but in the end […]
Show full quote
I’m finally ready to share how I solved the problem of erasing UV EPROMs. I initially considered several options, but in the end, I settled on what I believe is the most optimal solution.
Options I Considered
Factory UV Erasers from China: I ruled this out immediately. Too expensive, bulky, and likely unreliable with an unknown bulb lifespan.
UV Medical Lamps: These could be adapted, but buying one specifically for this purpose is impractical and way too pricey.
DIY Erasers using broken DRL (mercury-vapor) lamps: Honestly, this is last-century tech. I didn't want to mess around with something that clunky and dangerous.
DIY Eraser using a Chinese UV bulb for refrigerators: This was my favorite option. It’s a clone of a Japanese bulb and is perfect for a small, compact box that holds a couple of chips. I even bought all the necessary components. It’s easy to assemble—here is a great guide, for example: https://radiokot.ru/artfiles/6467/ (sorry for the .ru link).
Why I Never Built the UV Eraser
The reason is simple: a friend of mine who works at a scrap metal yard hooked me up with a mountain of Winbond W27E512 (W27C512) electrically erasable PROMs. They are perfect replacements for the old 64KB UV EPROMs used in 386 and 486 systems.
There are also convenient analogs for more modern boards. For example, if I need a 128KB ROM, I use the W27C010. For even newer boards, I go with Intel 28 or SST 29 series flash chips (like the 28F001BX-T or SST29EE010), which can be programmed directly on the motherboard without an external programmer. And for XT-IDE, you can easily find the W27E257 (a 32KB electrically erasable ROM) for cheap.
Ultimately, the need for a UV eraser just vanished. My 386, which we restored together, is currently running a Winbond W27E512. Experimenting with UV EPROMs is a total hassle, given the constant cycle of erasing and reprogramming.
My advice to you: Don't torture yourself. Just buy a few Winbond EEPROMs and save yourself the headache!
This definitely makes sense. Especially if you have a near endless supply of electrically erasble PROMs on hand.
Still, if someone has the old ones on hand and they want to reuse them, it is good to have some options for doing so. Also, they tend to look a lot different so if someone is a stickler for keeping really old devices looking mostly original inside, they may want to stick to old ceramic EPROMs. I don't think I'm that guy most of the time, but if I had blank old-school EPROMs on hand I would definitely use them when working with old devices that are unlikely to need wiped\flashed ever again.
Tiido wrote on 2026-02-25, 08:46:
The right way is a dedicated EPROM eraser. The chips need a specific dose of correct wavelength light to actually properly erase. The cells that hold data are basically buckets of electrons with programming emptying the bucket for a 0, and the erasing process fillsingthat bucket up again to 1... but *only* if done under specific wavelength of light for specific amount of time.
One can use some UV LED or sunlight and get what appears to be an erased EPROM, as in the programmer says it is done, but you hav no real way of knowing if the chip is truly erased since you do not have access to the actual analog value level the sense amps in the chips work with to estimate how full or empty that cell is... and this is important because of data retention time. You can have a chip appear as erased in as little as 5 minutes in a dedicated eraser but when you go into the datasheet of a particular chip you'll find timeframes as long as 45 minutes. This 5 minute EPROM will have data retention time that is far lower than what spec says, maybe just a few years (or even less) instead of decades that a full 45 minute erase will give. In any case the data will not last forever and will fade. It also should be noted that the OTP EPROMs without a window are erased in factory prior to packaging and cannot be erased again without preserving chip reliability afterwards (i.e xrays can recharge a cell, but also cause enough damage the chip becomes essentially unusable afterwards), and the implication is that if that part was made 20 years ago, it has maybe 20 years of data retention life left. (I also received a bunch of OTP EPROMs from my work as part of their cleanup process, I'll put these chips to use but I know they are ticking timebombs).
Also like flash chips, the erasing process actually damages the chip which is why there's a limit to many times the chip can be erased before it becomes too unreliable to function proper. A good EPROM can take a hundred erases, a bad one maybe 10 and the data retention time decreases with each erase as the cells become more leaky. Electrons tunnel out and eventually you're left with a chip that is all zeros... But unlike all the modern SSDs, the cells are ginormous and it'll take a while before the tunneling process has finsihed 🤣
Wow, I'll be honest I had no idea it was that complex. So you can erase an EPROM and then write to it, but if it wasn't erased "well" then the data written to it won't last as long? That's pretty crazy.
That makes me think the following isn't a great solution... I kinda wish I'd seen your post first. 🤣 I had just typed this right before you posted:
---
While looking around online just now, I stumbled upon this article:
https://blog.j2i.net/2023/08/29/erasing-an-ep … native-devices/
According to this person, by far the best (cheap) method they found was a clam shell UV sanitizer for cell phones. They said that it runs on a 5 minute timer, so it isn't quite long enough, but if you do it twice that seemed to reliably wipe the EPROM he was working with. He said that the one he had is no longer available, but you can now get what looks like an identical device under the brand "Phonesoap".
If you look on Amazon these stupid things are $60-$90 brand new. But, in post COVID19 pandemic world, there are now hundreds of them available for almost nothing on ebay. I just bought one for less than $9 shipped. I am willing to give one a shot for that price. It looks like it could easily hold several EPROMs at once too, it just depends how good the coverage is I guess. The article above said that it ran on a 12v power adapter, but these ones are all 5v, so I'm thinking maybe that was a typo.
Once I get it, I will test it out and post here. If someone else wants to do the same, just search your favorite marketplace\auction site for "Phonesoap" and you'll find scads of them for practically nothing. If it doesn't work at all or works very unreliably, oh well. Not a huge investment and it technically can still be used for its intended purpose.
---
Anyway, order is already placed, so I guess I'll be the guinea pig. Knowing what you said Tiido, I will probably not use this for anything real critical, so thank you for the info. I am curious though, has anyone here ever experienced this personally? Using sunlight or other sources to wipe an EPROM and then having the data later programmed on those chips not last?