Author Topic: Vintage TMS2764 EPROMs acting strange... Schrödinger's EPROM?  (Read 14425 times)

0 Members and 1 Guest are viewing this topic.

Offline SilverSolderTopic starter

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Vintage TMS2764 EPROMs acting strange... Schrödinger's EPROM?
« on: February 12, 2021, 05:42:52 am »
I took two TMS2764 EPROMs out of a piece of equipment, erased them, and programmed them with the latest firmware (with a MiniPro programmer).

So the weird thing is - it verifies 100% OK in the programmer...  I am able to read the code out and compare on the PC, 100% the same.  But the EPROMs don't work in the actual circuit!?!

I tried with some Intel EPROMS instead and they work fine.   All of the 7 TI EPROMs that I have are behaving the same way as described above...


I am struggling to understand how the programmer can read the EPROMS, but the CPU in the equipment they came from cannot?!?   :-//
« Last Edit: February 15, 2021, 01:56:36 pm by SilverSolder »
 

Online MK14

  • Super Contributor
  • ***
  • Posts: 4969
  • Country: gb
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #1 on: February 12, 2021, 06:00:48 am »
If it was a poor quality programmer, e.g. the proper programming voltages were too low, or not enough time was used, to properly program in the bits. I suppose, the programmer casually (relatively slowly) reading/verifying back the bits, might see the correct values.
But a relatively high speed processor (slow, by today's processors), needing rapid from the EPROMS (slow by today's standards, probably) data accesses, might be responding too slowly, because the programming has been done too faintly.

N.B. Above is speculation, there are other possibilities.

Have you covered the EPROM windows ?
Sometimes they can be sensitive to visible light, and stop working properly, without opaque labels on them. Ideal labels, seem to have aluminium (?) strips inside them, for near perfect no light leakage.
« Last Edit: February 12, 2021, 06:02:53 am by MK14 »
 

Offline BrokenYugo

  • Super Contributor
  • ***
  • Posts: 1214
  • Country: us
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #2 on: February 12, 2021, 06:10:04 am »
Maybe the burn profile is wrong, check datasheet vs programmer voltages? I've heard of programming them twice to really make sure the gates are charged fully, maybe try that. 
 
The following users thanked this post: MK14

Online MK14

  • Super Contributor
  • ***
  • Posts: 4969
  • Country: gb
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #3 on: February 12, 2021, 06:19:28 am »
Also, the access times can vary between different chips (datasheets). Are the 'new' ones fast enough ?
 

Offline SilverSolderTopic starter

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #4 on: February 12, 2021, 08:19:09 am »

The voltages and timing all checked out vs. the datasheet. 

I got them working by programming them multiple times with the same data, thanks for the ideas.

Maybe these devices are just getting old and cranky?  They are 30 - 40 years old, after all...

They seem to behave more like analog than digital devices!  :D
 

Online MK14

  • Super Contributor
  • ***
  • Posts: 4969
  • Country: gb
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #5 on: February 12, 2021, 08:25:02 am »

The voltages and timing all checked out vs. the datasheet. 

I got them working by programming them multiple times with the same data, thanks for the ideas.

Maybe these devices are just getting old and cranky?  They are 30 - 40 years old, after all...

They seem to behave more like analog than digital devices!  :D

EPROMS can be quirky/fussy, in all sorts of ways.

My understanding, is they are actually ANALOGUE inside (with digital decoding for the addressing and input/outputs, obviously), with op-amps/comparators, performing the actual readings. There are probably internal reference voltages, for logic '0' and '1', and the comparators then select the most appropriate logic level, based on the analogue voltage from the selected EPROM memory cell.
Similar to modern flash memory, but without the electronic 'erase' capabilities. So they use UV light, instead.
« Last Edit: February 12, 2021, 08:28:50 am by MK14 »
 
The following users thanked this post: SilverSolder, drussell

Offline perieanuo

  • Frequent Contributor
  • **
  • Posts: 914
  • Country: fr
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #6 on: February 12, 2021, 08:31:49 am »
hi,
it happened to me with AT24C01 eep once before 2000, the programmer said "program ok, verify ok", the eep didn't work in the machine.
well, the programmer was right, the machine was right.
why? cause programming algo for at24c01 (in fact, atmel and xilinx versions of 24c01 are differents from st24c01 mainstream eep's) is different for ST24C01 algo.
you can check datasheets :)
test with some really serious programmer and we will see after, minipro is for hobby, maybe it' somehow the same problem
 
The following users thanked this post: MK14

Offline CJay

  • Super Contributor
  • ***
  • Posts: 4136
  • Country: gb
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #7 on: February 12, 2021, 08:43:11 am »

I took two TMS2764 EPROMs out of a piece of equipment, erased them, and programmed them with the latest firmware (with a MiniPro programmer).

So the weird thing is - it verifies 100% OK in the programmer...  I am able to read the code out and compare on the PC, 100% the same.  But the EPROMs don't work in the actual circuit!?!

I tried with some Intel EPROMS instead and they work fine.   All of the 7 TI EPROMs that I have are behaving the same way as described above...


I am struggling to understand how the programmer can read the EPROMS, but the CPU in the equipment they came from cannot?!?   :-//

Sounds like they needed a slower programming cycle, I'm curious to know if you tried verifying them again after they'd failed in circuit?
 
The following users thanked this post: MK14

Online MK14

  • Super Contributor
  • ***
  • Posts: 4969
  • Country: gb
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #8 on: February 12, 2021, 08:50:39 am »
Sounds like they needed a slower programming cycle, I'm curious to know if you tried verifying them again after they'd failed in circuit?

My partly vague recollection, was that there was essentially 2 extremes of programming algorithms for EPROMS.

The original VERY SLOW, but reliable/robust program every memory location, properly. It was something huge like 50mS per location, hence rather/very slow.

Various 'fast' algorithms, that did something on the lines of programming a location for 1mS, and immediately reading it back. If it was correct, moving to the next byte, if not, programming it for another 1mS, until it is correct, then moving on and doing that for all the bytes that need programming.

So, the wrong algorithm (or a poor quality programmer), wouldn't work out too good.

Also, maybe the chips have deteriorated over the decades ?
« Last Edit: February 12, 2021, 08:52:34 am by MK14 »
 
The following users thanked this post: SilverSolder

Online MK14

  • Super Contributor
  • ***
  • Posts: 4969
  • Country: gb
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #9 on: February 12, 2021, 09:06:37 am »
hi,
it happened to me with AT24C01 eep once before 2000, the programmer said "program ok, verify ok", the eep didn't work in the machine.
well, the programmer was right, the machine was right.
why? cause programming algo for at24c01 (in fact, atmel and xilinx versions of 24c01 are differents from st24c01 mainstream eep's) is different for ST24C01 algo.
you can check datasheets :)
test with some really serious programmer and we will see after, minipro is for hobby, maybe it' somehow the same problem

A while ago, I was reading an article, about the differences between cheap/hobby programmers, and very expensive professional/production ones. I think it was for PIC chips.

It was something like the professional/production programmer, used an accurate 5.5V to program, then an accurate 4.5V to read the verification data back, or something like that. To ensure the programming would be robust/reliable for 10+ years, and at differing ambient temperatures, etc etc.

So the cheaper hobbyist equipment, can appear to 'work'. But will the device it just programmed, still be working in 10+ years time and/or at min or max allowable operating temperatures, supply voltages, etc.
 

Offline CJay

  • Super Contributor
  • ***
  • Posts: 4136
  • Country: gb
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #10 on: February 12, 2021, 09:30:40 am »
Sounds like they needed a slower programming cycle, I'm curious to know if you tried verifying them again after they'd failed in circuit?

My partly vague recollection, was that there was essentially 2 extremes of programming algorithms for EPROMS.

The original VERY SLOW, but reliable/robust program every memory location, properly. It was something huge like 50mS per location, hence rather/very slow.

Various 'fast' algorithms, that did something on the lines of programming a location for 1mS, and immediately reading it back. if it was correct, moving to the next byte, if not, programming it for another 1mS, until it is correct, then moving on and doing that for all the bytes that need programming.

So, the wrong algorithm (or a poor quality programmer), wouldn't work out too good.

Also, maybe the chips have deteriorated over the decades ?

From memory some were faster than 1mS as well, they'd hammer the cells with charge until it read correctly then 'overburn' it with a few more for good measure and move on to the next byte, tended to be only lower voltage devices and was generally pretty reliable but I did have a few occasions with second hand chips where it wouldn't be 100% reliable, I rarely ever had a problem with slow programming that I couldn't attribute to a faulty part but some second hand chips (Seem to recall Fujitsu were the worst offenders) would pretend to be erased and then suddenly have remnants of their old contents or just refuse to take new data.
 
 
The following users thanked this post: MK14

Offline drussell

  • Super Contributor
  • ***
  • Posts: 1855
  • Country: ca
  • Hardcore Geek
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #11 on: February 12, 2021, 10:14:10 am »
They seem to behave more like analog than digital devices!  :D

Well, yeah...  They are more like analog devices than digital.  :D
 
The following users thanked this post: SilverSolder, MK14

Offline Gyro

  • Super Contributor
  • ***
  • Posts: 10083
  • Country: gb
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #12 on: February 12, 2021, 11:05:09 am »
I do vaguely remember that there was something a bit different about TMS27xx devices. I can't remember what it was -  different Vpp / more programming failures, /OE access time or something, but there was some reason that we used to dodge them when grabbing blank devices from the communal eraser tray. Best to find the specific datasheet and check it very carefully against something like a Hitachi or Fujitsu. Sorry, it really is a very vague memory.
Best Regards, Chris
 
The following users thanked this post: MK14

Offline perieanuo

  • Frequent Contributor
  • **
  • Posts: 914
  • Country: fr
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #13 on: February 12, 2021, 12:45:27 pm »
hi,
it happened to me with AT24C01 eep once before 2000, the programmer said "program ok, verify ok", the eep didn't work in the machine.
well, the programmer was right, the machine was right.
why? cause programming algo for at24c01 (in fact, atmel and xilinx versions of 24c01 are differents from st24c01 mainstream eep's) is different for ST24C01 algo.
you can check datasheets :)
test with some really serious programmer and we will see after, minipro is for hobby, maybe it' somehow the same problem

A while ago, I was reading an article, about the differences between cheap/hobby programmers, and very expensive professional/production ones. I think it was for PIC chips.

It was something like the professional/production programmer, used an accurate 5.5V to program, then an accurate 4.5V to read the verification data back, or something like that. To ensure the programming would be robust/reliable for 10+ years, and at differing ambient temperatures, etc etc.

So the cheaper hobbyist equipment, can appear to 'work'. But will the device it just programmed, still be working in 10+ years time and/or at min or max allowable operating temperatures, supply voltages, etc.
I used in the past programmers better than tl866, like wellon one if I recall right, then smartprog ii  and now batego
I recall I had devices bad programmed with wellon, including eproms, then erased and succesful done with smartprog
for me, it's either the programmer either the algorithm, like I said first time.things like tl866 have some flash/eep/eproms in the list they don't really get written with the correct algo specs from memory datasheet imho (but they report verify done)
 
The following users thanked this post: MK14

Offline SilverSolderTopic starter

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #14 on: February 12, 2021, 02:41:29 pm »

I took two TMS2764 EPROMs out of a piece of equipment, erased them, and programmed them with the latest firmware (with a MiniPro programmer).

So the weird thing is - it verifies 100% OK in the programmer...  I am able to read the code out and compare on the PC, 100% the same.  But the EPROMs don't work in the actual circuit!?!

I tried with some Intel EPROMS instead and they work fine.   All of the 7 TI EPROMs that I have are behaving the same way as described above...


I am struggling to understand how the programmer can read the EPROMS, but the CPU in the equipment they came from cannot?!?   :-//

Sounds like they needed a slower programming cycle, I'm curious to know if you tried verifying them again after they'd failed in circuit?

Yes, I did try that - they verified 100% directly after failing in circuit!  -  Perhaps the programmer loads the lines less than the (35 year old) circuit?
 

Offline SilverSolderTopic starter

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #15 on: February 12, 2021, 02:55:02 pm »
hi,
it happened to me with AT24C01 eep once before 2000, the programmer said "program ok, verify ok", the eep didn't work in the machine.
well, the programmer was right, the machine was right.
why? cause programming algo for at24c01 (in fact, atmel and xilinx versions of 24c01 are differents from st24c01 mainstream eep's) is different for ST24C01 algo.
you can check datasheets :)
test with some really serious programmer and we will see after, minipro is for hobby, maybe it' somehow the same problem

A while ago, I was reading an article, about the differences between cheap/hobby programmers, and very expensive professional/production ones. I think it was for PIC chips.

It was something like the professional/production programmer, used an accurate 5.5V to program, then an accurate 4.5V to read the verification data back, or something like that. To ensure the programming would be robust/reliable for 10+ years, and at differing ambient temperatures, etc etc.

So the cheaper hobbyist equipment, can appear to 'work'. But will the device it just programmed, still be working in 10+ years time and/or at min or max allowable operating temperatures, supply voltages, etc.
I used in the past programmers better than tl866, like wellon one if I recall right, then smartprog ii  and now batego
I recall I had devices bad programmed with wellon, including eproms, then erased and succesful done with smartprog
for me, it's either the programmer either the algorithm, like I said first time.things like tl866 have some flash/eep/eproms in the list they don't really get written with the correct algo specs from memory datasheet imho (but they report verify done)


Not only did the programmer (TL866CS - supports 21V) report verify done.   I was able to put one of the programmed chips into it, read it into a file on the PC, and compare that file with the original...   100% match.

So, it seems that perhaps the amount of loading on the data bus is different on a modern programmer made with modern ICs, compared with the loading that the EPROM sees in the actual circuit?  So a "marginal" EPROM works fine when not loaded too much, but fails when some older circuits need more current on the data bus, or some other signal lines?

The programming algo for the EPROM appears to be mostly in line with the data sheet:



Here are the settings chosen by the programmer:




If I try to increase Vdd (write) to 6V as implied by the data sheet, the programming fails immediately with corrupt data, and the chip has to be erased and "done over".  It also fails at 5.5V -  so I am wondering if this data sheet may have been superceded...

In any event, all 6 EPROMs are still working fine in the actual circuits this morning.

I did not have these problems with Intel EPROMs,  I may source some more Intel ones if any of the TMS ones lose their data...


« Last Edit: February 12, 2021, 03:00:26 pm by SilverSolder »
 

Offline wraper

  • Supporter
  • ****
  • Posts: 17818
  • Country: lv
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #16 on: February 12, 2021, 02:59:45 pm »
Those EPROMs might be simply faulty/degraded due to their age. There was a thread discussing EPROM outputting some weird reduced high level voltage occasionally.
« Last Edit: February 12, 2021, 03:03:29 pm by wraper »
 
The following users thanked this post: SilverSolder

Offline SilverSolderTopic starter

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #17 on: February 12, 2021, 03:01:26 pm »
Those EPROMs might be simply faulty/degraded due to their age. There was a thread discussing EPROM outputting some weird reduced high level voltage occasionally.

Yes, I think they have gone half deaf.  But by shouting at them long enough, they got the message!  :D
 

Online CaptDon

  • Super Contributor
  • ***
  • Posts: 2099
  • Country: is
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #18 on: February 12, 2021, 03:01:42 pm »
I have a hand built programmer and I use the full program time allowed per byte. It takes MUCH longer to program but they will always work and retain their data through the worst conditions.
Collector and repairer of vintage and not so vintage electronic gadgets and test equipment. What's the difference between a pizza and a musician? A pizza can feed a family of four!! Classically trained guitarist. Sound engineer.
 
The following users thanked this post: SilverSolder, perieanuo

Offline wraper

  • Supporter
  • ****
  • Posts: 17818
  • Country: lv
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #19 on: February 12, 2021, 03:03:36 pm »
Also it's not clear what the circuit is. Maybe it needs faster of slower EPROM to work properly.
Quote
I took two TMS2764 EPROMs out of a piece of equipment, erased them, and programmed them with the latest firmware (with a MiniPro programmer).
So did it work properly before with the same EPROMs?
 

Offline SilverSolderTopic starter

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #20 on: February 12, 2021, 03:06:02 pm »
Also it's not clear what the circuit is. Maybe it needs faster of slower EPROM to work properly.

It is an 8080 CPU, it runs at a leisurely pace and can add wait states if necessary.  These EPROMS are much faster than it needs, so there will be no waits.
 

Offline SilverSolderTopic starter

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #21 on: February 12, 2021, 03:09:39 pm »
Also it's not clear what the circuit is. Maybe it needs faster of slower EPROM to work properly.
Quote
I took two TMS2764 EPROMs out of a piece of equipment, erased them, and programmed them with the latest firmware (with a MiniPro programmer).
So did it work properly before with the same EPROMs?

Yes, exactly.  The recently purchased "new old stock" TMS2764  chips behave exactly the same way as the TMS2764 devices that were in the device originally.

All of them respond to being "shouted at" repeatedly.  I've programmed 6 of them now,  each one repeated 8x over for good measure...  they appear to work reliably after such a therapy session.
 

Online CaptDon

  • Super Contributor
  • ***
  • Posts: 2099
  • Country: is
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #22 on: February 12, 2021, 05:12:01 pm »
I did my programming using just one cycle of maximum allowable length per address/byte. I think the old 2716's were 60ms max, apprx 2 minutes to program, and the 2732/2532 max was around 50ms or nearly 4 minutes to fully program. I think I was hitting my 2764 27C64 at around 25ms single pulse. Never killed one and never had it read or function incorrectly. They have been in several systems for over a decade and still running. I never liked the 'Program it just enough and move on', my stuff was way to critical in its mission.
 
Collector and repairer of vintage and not so vintage electronic gadgets and test equipment. What's the difference between a pizza and a musician? A pizza can feed a family of four!! Classically trained guitarist. Sound engineer.
 
The following users thanked this post: SilverSolder

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #23 on: February 12, 2021, 05:19:25 pm »
I've encountered several situations where a programmer would read an EPROM fine but it wouldn't work in the actual circuit. In one case the ROM in a vintage terminal got corrupted and I was able to read it and then re-write the exact same chip and reinstall and it fixed the problem. Access time can also be an issue and they seem to get slower some time after programming. I once repaired a vintage arcade game board and it looked fine but then after about 30 minutes or so increasing amounts of noise started to show up in the sprite graphics. Eventually I figured out the EPROMs I used were too slow, they would work fine fresh off the programmer but after some time they showed lots of random pixel noise.
 

Offline SilverSolderTopic starter

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Vintage TMS2764 EPROMs acting strange... Shrodinger's EPROM?
« Reply #24 on: February 12, 2021, 05:35:46 pm »
I did my programming using just one cycle of maximum allowable length per address/byte. I think the old 2716's were 60ms max, apprx 2 minutes to program, and the 2732/2532 max was around 50ms or nearly 4 minutes to fully program. I think I was hitting my 2764 27C64 at around 25ms single pulse. Never killed one and never had it read or function incorrectly. They have been in several systems for over a decade and still running. I never liked the 'Program it just enough and move on', my stuff was way to critical in its mission.

The max on this particular programmer is 1ms, it doesn't allow any higher setting as far as I can tell.  So, repeated runs is the only way to increase the exposure time with this programmer.  At least it is able to do that, so there is a solution! :D
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf