Author Topic: Can you overwrite an OTP ROM?  (Read 19553 times)

0 Members and 1 Guest are viewing this topic.

Offline ali6x944Topic starter

  • Frequent Contributor
  • **
  • Posts: 567
  • Country: sa
Can you overwrite an OTP ROM?
« on: January 14, 2017, 02:58:35 pm »
hi everyone,
I was playing with ROMs recently and I was wondering if I can overwrite the data in an OTP ROM, which has a UV window like some of 27 series memory EPROMs , could they be erased and rewritten, and for some which don't have a UV window could they be erased or overwritten?   
 

Online PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5127
  • Country: nl
Re: Can you overwrite an OTP ROM?
« Reply #1 on: January 14, 2017, 03:02:53 pm »
OTP means One Time Programmable, so the answer should be no. Why an OTP should have a window I have no idea  :-//
Keyboard error: Press F1 to continue.
 
The following users thanked this post: ali6x944

Online mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13748
  • Country: gb
    • Mike's Electric Stuff
Re: Can you overwrite an OTP ROM?
« Reply #2 on: January 14, 2017, 03:11:50 pm »
You can tyically write '0' values to previously blank locations.
If it has a window it isn't OTP - maybe a part-number mix-up as many of the ceramic windowed EPROMs were also offered in lower-cost plastic packages as OTP version. 
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 
The following users thanked this post: ali6x944

Offline Tandy

  • Frequent Contributor
  • **
  • Posts: 372
  • Country: gb
  • Darren Grant from Tandy, UK.
    • Tandy
Re: Can you overwrite an OTP ROM?
« Reply #3 on: January 14, 2017, 03:15:21 pm »
As there is no context as to where the ROMS come from it is difficult to say. One time programmable don't usually have a window, so it might be that if this is a ROM you have pulled from some hardware that the manufacturer has used UV erasable ROMs, perhaps for a limited run of updated firmware.

Essentially you have...

Mask ROM: custom manufactured with the data onboard.
PROM: Programmable ROM, can be programmed in a ROM programmer once.
EPROM: Erasable Programmable ROM that usually can be erased using UV light exposure to a window.
EEPROM: Electrically Erasable Programmable ROM, as the name suggests can be erased and re-written.
For more info on Tandy try these links Tandy History EEVBlog Thread & Official Tandy Website
 
The following users thanked this post: ali6x944

Offline ali6x944Topic starter

  • Frequent Contributor
  • **
  • Posts: 567
  • Country: sa
Re: Can you overwrite an OTP ROM?
« Reply #4 on: January 14, 2017, 03:18:22 pm »
You can tyically write '0' values to previously blank locations.
If it has a window it isn't OTP - maybe a part-number mix-up as many of the ceramic windowed EPROMs were also offered in lower-cost plastic packages as OTP version. 
it is rather ambiguous and weird with certain manufacturers it is an OTP roms with others it can be reprogrammed,  the question is how to know in this case if it is erasable or not? ???
 

Online PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5127
  • Country: nl
Re: Can you overwrite an OTP ROM?
« Reply #5 on: January 14, 2017, 03:25:10 pm »
it is rather ambiguous and weird with certain manufacturers it is an OTP roms with others it can be reprogrammed,  the question is how to know in this case if it is erasable or not? ???

If it is an EPROM or EEPROM it is erasable. An EPROM has a window, an EEPROM should be recognizable by the part number.
Keyboard error: Press F1 to continue.
 
The following users thanked this post: ali6x944

Offline Howardlong

  • Super Contributor
  • ***
  • Posts: 5319
  • Country: gb
Re: Can you overwrite an OTP ROM?
« Reply #6 on: January 14, 2017, 04:26:15 pm »
I tend to agree with Mike on this one, given the information we have. It is generally recognised that in many cases the only difference between a UV eraseable device and an OTP one wasn't the die itself but whether the package had a window on it.
 
The following users thanked this post: ali6x944

Offline jaromir

  • Supporter
  • ****
  • Posts: 338
  • Country: sk
Re: Can you overwrite an OTP ROM?
« Reply #7 on: January 14, 2017, 04:26:31 pm »
if I can overwrite the data in an OTP ROM, which has a UV window like some of 27 series memory EPROMs , could they be erased and rewritten, and for some which don't have a UV window could they be erased or overwritten?

Since 80's, vast majority of OTP ROMs were in fact the same chips as EPROMs, only packaged into much cheaper non-transparent plastic package.
EPROMs can be erased by UV light (all cells get into "logic high" state) and those cells can be programmed (brought into "logic low").
PROMs can't be erased easily * but you should be able to bring unprogrammed cells (containing "logic high" states) program into logic low, if it is of any interest to you.  This trick was used in OTP MCUs back in the days, if the program took only part of ROM, you could overwrite it into series of NOPs (all zeros) and write new program into second half of ROM.

* I've heard of experiments of erasing non-windowed PROMs using X-rays or elevated temperature; though theoretically plausible, failed in practice.
 
The following users thanked this post: ali6x944

Offline ali6x944Topic starter

  • Frequent Contributor
  • **
  • Posts: 567
  • Country: sa
Re: Can you overwrite an OTP ROM?
« Reply #8 on: January 14, 2017, 05:38:42 pm »
 https://drive.google.com/file/d/0B5vW-k7HbsL4YkVWaC0yS1BaNkU/view?usp=drivesdk
The middle chip is the only one which says in its datasheet that it is erasable, this is quit annoying sometimes when u are using similar looking and exact pinouts of chips
 

Offline MK14

  • Super Contributor
  • ***
  • Posts: 4539
  • Country: gb
Re: Can you overwrite an OTP ROM?
« Reply #9 on: January 14, 2017, 05:53:43 pm »
The picture seems to show three separate EPROMS, which are UV erasable.
Seems to be all 2764's (8K bytes which of course is 64K bits in some datasheets) from a quick glance.
« Last Edit: January 14, 2017, 05:56:10 pm by MK14 »
 

Offline MK14

  • Super Contributor
  • ***
  • Posts: 4539
  • Country: gb
Re: Can you overwrite an OTP ROM?
« Reply #10 on: January 14, 2017, 06:24:14 pm »
https://drive.google.com/file/d/0B5vW-k7HbsL4YkVWaC0yS1BaNkU/view?usp=drivesdk
The middle chip is the only one which says in its datasheet that it is erasable, this is quit annoying sometimes when u are using similar looking and exact pinouts of chips

The lowest chip datasheet, seems to say it is also an EPROM (as my earlier post says, they all seem to be EPROMS anyway).

http://www.datasheets360.com/part/detail/am2764dc/5400315434036000401/?alternatePartManufacturerId=0

I'm NOT 10% sure about the top chip and it does not seem to have a suitable full part number to easily search for it. But it also looks just like an EPROM, and seems to be numbered in a similar way. Very likely to be an EPROM.
« Last Edit: January 14, 2017, 06:35:53 pm by MK14 »
 
The following users thanked this post: ali6x944

Offline Gyro

  • Super Contributor
  • ***
  • Posts: 9506
  • Country: gb
Re: Can you overwrite an OTP ROM?
« Reply #11 on: January 14, 2017, 06:34:18 pm »
You don't put a window in a chip that isn't UV erasble. They're all EPROMS.
Best Regards, Chris
 
The following users thanked this post: ali6x944

Online wraper

  • Supporter
  • ****
  • Posts: 16864
  • Country: lv
Re: Can you overwrite an OTP ROM?
« Reply #12 on: January 14, 2017, 07:10:51 pm »
It *is* possible if you erase them with radiation which comes through the case, for example, X-rays. Te effect is the same as erasing EPROMs with quartz widow by UV. Actually many OTP PROMs are the very same parts but in plastic package which makes them significantly cheaper.
If ROM has a window, it is not OTP.
 
The following users thanked this post: ali6x944

Online wraper

  • Supporter
  • ****
  • Posts: 16864
  • Country: lv
Re: Can you overwrite an OTP ROM?
« Reply #13 on: January 14, 2017, 07:17:02 pm »
https://drive.google.com/file/d/0B5vW-k7HbsL4YkVWaC0yS1BaNkU/view?usp=drivesdk
The middle chip is the only one which says in its datasheet that it is erasable, this is quit annoying sometimes when u are using similar looking and exact pinouts of chips
Then you had read datasheets for ICs which have different suffix and not for the parts you have. Guess this one for bottom IC : http://bg-electronics.de/datenblaetter/Schaltkreise/AM27128A3DC.pdf
Nowhere it says in the datasheet DC or D suffix.
 
The following users thanked this post: ali6x944

Offline JacobPilsen

  • Regular Contributor
  • *
  • Posts: 140
  • Country: cz
Re: Can you overwrite an OTP ROM?
« Reply #14 on: January 14, 2017, 07:59:44 pm »
You don't put a window in a chip that isn't UV erasble. They're all EPROMS.
What about laser unpacking, and than apply UV ???
« Last Edit: January 14, 2017, 08:01:50 pm by JacobPilsen »
 
The following users thanked this post: ali6x944

Offline ali6x944Topic starter

  • Frequent Contributor
  • **
  • Posts: 567
  • Country: sa
Re: Can you overwrite an OTP ROM?
« Reply #15 on: January 15, 2017, 03:07:03 am »
https://drive.google.com/file/d/0B5vW-k7HbsL4YkVWaC0yS1BaNkU/view?usp=drivesdk
The middle chip is the only one which says in its datasheet that it is erasable, this is quit annoying sometimes when u are using similar looking and exact pinouts of chips
Then you had read datasheets for ICs which have different suffix and not for the parts you have. Guess this one for bottom IC : http://bg-electronics.de/datenblaetter/Schaltkreise/AM27128A3DC.pdf
Nowhere it says in the datasheet DC or D suffix.
U r right maybe it is because of the suffix :-+
 

Offline ali6x944Topic starter

  • Frequent Contributor
  • **
  • Posts: 567
  • Country: sa
Re: Can you overwrite an OTP ROM?
« Reply #16 on: January 15, 2017, 03:36:21 am »
You don't put a window in a chip that isn't UV erasble. They're all EPROMS.
What about laser unpacking, and than apply UV ???
Interesting, what if this happened? I think the laser would by it self erase the rom
 

Offline ali6x944Topic starter

  • Frequent Contributor
  • **
  • Posts: 567
  • Country: sa
Re: Can you overwrite an OTP ROM?
« Reply #17 on: January 16, 2017, 10:45:33 am »
But what it can't be...
The laser is of different wavelength to the erase uv wavelength required?
 

Online BrianHG

  • Super Contributor
  • ***
  • Posts: 7738
  • Country: ca
Re: Can you overwrite an OTP ROM?
« Reply #18 on: January 16, 2017, 08:05:07 pm »
But what it can't be...
The laser is of different wavelength to the erase uv wavelength required?

Yes, many years ago, I tried different UV lights in an effort to erase an eprom, including sunlight.  Only the official eprom eraser fluorescent tube would actually erase the eproms.
 
The following users thanked this post: ali6x944

Online mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13748
  • Country: gb
    • Mike's Electric Stuff
Re: Can you overwrite an OTP ROM?
« Reply #19 on: January 17, 2017, 12:16:18 am »
But what it can't be...
The laser is of different wavelength to the erase uv wavelength required?

Yes, many years ago, I tried different UV lights in an effort to erase an eprom, including sunlight.  Only the official eprom eraser fluorescent tube would actually erase the eproms.
It needs a very particular wavelength - from memory around 250nm. The only thing that will do it is a germicidal lamp - I think that's what UV erasers generally used. Bright sunlight might do it after a very long time but I think a lot of that wavelength is filtrered by the Ozone layer
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 
The following users thanked this post: ali6x944

Offline ali6x944Topic starter

  • Frequent Contributor
  • **
  • Posts: 567
  • Country: sa
Re: Can you overwrite an OTP ROM?
« Reply #20 on: January 17, 2017, 04:08:36 am »
Could it be erased by the light of electric arcs ?
 

Online BrianHG

  • Super Contributor
  • ***
  • Posts: 7738
  • Country: ca
Re: Can you overwrite an OTP ROM?
« Reply #21 on: January 17, 2017, 05:43:34 am »
Could it be erased by the light of electric arcs ?
Make sure all the IO pins are shorted.  You are more likely to destroy the IC itself.

Q: Are you looking for EProm erasers?  Or just want to experiment around trying to erase them in an alternate way?
 
The following users thanked this post: ali6x944

Offline JacobPilsen

  • Regular Contributor
  • *
  • Posts: 140
  • Country: cz
Re: Can you overwrite an OTP ROM?
« Reply #22 on: January 18, 2017, 05:25:35 pm »
He is looking for erasing "non-window" EPROM.

Experiment with UV LED:
http://rayer.g6.cz/elektro/eprom.htm

Laser decapsulation machine use InfraRed 1064 nm (and stop everytime when beam is reflected from chip).
http://www.radiantoptronics.com/baublys
 
The following users thanked this post: ali6x944

Offline DBecker

  • Frequent Contributor
  • **
  • Posts: 326
  • Country: us
Re: Can you overwrite an OTP ROM?
« Reply #23 on: January 18, 2017, 08:32:08 pm »
This question reaches back 35-40 years, which is almost the stone age in integrated circuits.

40 years ago the only viable choice for high density memory was a mask-programmed ROM.  A memory chip was fabricated up to the final metal layer, which contained the links to encode the program.  A customer would provide the programming, a final mask was made, and the chips would be finished and packaged.

The was way less involved than you might imagine.  The difficult and risky steps are creating the semiconductors with deposition and diffusion.  These steps can take weeks.  Specifically each diffusion step can take up to a day of high temperature baking, and an entire batch can be ruined by an impurity.  In contrast a metal deposition layer can be done in a few minutes.  It's just exposing the photoresist (under a minute), cleaning, flashing the metal layer (five minutes to pull a vacuum, a few seconds to flash) and cleaning again. If you screw up, you can etch off the metal and try again.

And the mask wasn't expensive.  The feature sizes were relatively huge, and masks could be made in-house.  Sometimes it was as simple as rubylith film dots laid out by hand.  A pair of clerical-level staff would call and lay out the rubylith dots in an hour or so.

The other approach was fused PROMs.  They had thin metal strips at each matrix point that could be vaporized.  The downside was that the chip had to be physically larger, and the voltage and impulse energy had to be carefully managed to vaporize the fuse completely without damaging the chip structure.  PROMs were usually limited to low capacity chips that held configuration information rather than program memory.

Once EPROMs arrived, the game changed completely.  They die was more expensive than mask ROM, but masks were getting expensive.  Decreasing feature size and increasing memory size meant that making masks was outsourced to specialty companies.  That increased cost and turn-around time.  Pretty quickly OTP EPROMs in cheap plastic packages dominated, with mask-programmed ROMs only used for large-volume parts (primarily game cartridges).

On a personal note, I built my first EPROM programmer in 1980 or 1981 using three "precision discharged" 9V batteries for the 24V power supply needed for programming (25-26V volts supplied).  I was extremely careful because I didn't want to waste the then-expensive parts.  Luckily for my student budget it worked the first time.
 
The following users thanked this post: ali6x944, MK14

Offline mash107

  • Contributor
  • Posts: 24
  • Country: us
Re: Can you overwrite an OTP ROM?
« Reply #24 on: January 19, 2017, 03:39:54 am »
theoretically, yes.

most PROMs use the same die as UV erasable PROMs, but packaged in a plastic DIP without a window. I know Atmel did this for decades until they obsoleted their ceramic DIP with a window.
 
The following users thanked this post: ali6x944


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf