Wonder007, on Thu Aug 17, 2006 7:41 AM, said:
Good question supercat......btw, I don't want to sound dumb ...... what is a cerdip EPROM? what are OTP's?
A cerdip EPROM is an embedded-charge programmable read only memory chip which is packaged in a ceramic dual-inline package with a quartz window on top. Information is written into the memory by depositing charges on the gates of the bits. Bits with charged gates read as "zero"; other bits read as "one". Although it's possible to electrically deposit charges on the gates, they cannot be removed in that way. On the other hand, exposing those gates to ultraviolet light will dislodge the charges, thus erasing the memory (turning all the bits to "1"'s).
An OTP ("one time programmable") is an inexpensive windowless opaque package (typically plastic) containing an embedded-charge programmable read only memory cihp, just like an EPROM. Although the silicon chip would be erasable if somehow exposed to ultraviolet light, there's no quartz window and no way to shine ultraviolet light into the package. Thus, if a bit is programmed as a "zero", it is for all practical purposes stuck that way. Nowadays, OTP chips cost quite a bit less than EPROMs, but the relative price differential was not always so great. Given a choice between an $8 chip that can be erased if the contents become unwanted versus a $7 chip that can't, one might decide to spend the extra dollar as insurance. Even if there's only a 10% chance that it will be necessary to reburn a chip, that extra dollar may be worth it.
If, however, the choice is between a $1 chip and a $2 chip, there's no longer as much reason to use the EPROM. Even if you're looking at burning 100 chips that have a 50% chance of needing to be redone, one would be better off buying 200 OTP chips than buying 100 EPROMs. If the code doesn't work the first time, you'd spend $200 for EPROMs plus the labor of erasing all of them, versus spending $200 for OTPs with no labor required to ready the second set for programming. And if the code does work the first time, your $200 has bought you 100 spare OTPs.