Erasing a GAL chip

rcantor77

Candy Kid
Feedback
11 (100%)
Credits
224CR
Can anyone give me some useful suggestions as to why I cannot erase a GAL20V8A chip in my Wellon VP-390.

When I run Erase it says it has erased ok, but the Blank Check fails and as expected so does a subsequent Program.

Am I doing something wrong or can I just not erase and program GALs with my programmer..?

rcantor772014-08-17 17:45:28
 

pulstar

Active member
Feedback
41 (100%)
Credits
459CR
The GAL20V8A chips are supported by the programmer so it should be fine. Do you have the PSU connected as well or just running off USB power?
 

rcantor77

Candy Kid
Feedback
11 (100%)
Credits
224CR
I had the PSU connected... tbh, I never use it without.

And yes, I have tested it with more than one chip, in fact 5 in total now and all of them are doing the same.

rcantor772014-08-17 21:14:28
 

Elgen

Newbie
Credits
90CR
Hmmm, I've never actually tried to erase a salvaged GAL; only new ones I've bought on eBay (usually they are $1/pcs incl shipping if you buy 10+ at a time).
 

pulstar

Active member
Feedback
41 (100%)
Credits
459CR
If they are pulls from an old board it may be worth trying with a brand new one just in case all of them are bad (pretty slim chance I'd imagine, though). I have the same programmer but haven't tried programming any GALs with it to confirm that it works fine, everything else works as expected though so I would expect this would as well.
pulstar2014-08-17 22:01:32
 

ben76

Hunts Spies
Feedback
7 (100%)
Credits
1,136CR
Only 1 is needed and as I can't burn GAL's Rog kindly offered. So I got a few off a SF2 boot and passed them over. They may all be faulty as they are off a scrap pcb but then again that is why I removed more than one. So 4 or 5 is possible (forgot how many I removed!)

- Ben
 

guddler

Busting vectors like it's 1982!
vacBacker
Feedback
10 (100%)
Credits
4,058CR
Do GALs have a protection bit? And would that being set / blown prevent re-use?

I'm away on hole so can't really go digging for data sheets at the moment...
 

cmonkey

Active member
vacBacker
Feedback
4 (100%)
Credits
1,659CR
Yes they do have a protection bit, but that's only used to prevent the equations being read from the GAL. It won't stop the GAL being erased and when you erase it the protection bit gets reset.
 

guddler

Busting vectors like it's 1982!
vacBacker
Feedback
10 (100%)
Credits
4,058CR
OK, not that then
smiley1.gif


Worth knowing though as I have some GALs I salvaged and just haven't got round to erasing them yet.
 

pulstar

Active member
Feedback
41 (100%)
Credits
459CR
As far as I can see in the datasheet there isn't any protection bit that will stop it from erasing. There is a security cell but that is to stop reading the chip back.

Edit: Too slow
smiley1.gif


I think I have a GAL20V8 on a scrap board, I can take that off and see if I got any different results.
pulstar2014-08-18 10:42:03
 

Mitchell Gant

Active member
vacBacker
Feedback
2 (100%)
Credits
888CR
I have a cheap G540 programmer that claimed to program GAL20V8's, but it would not work properly with Atmel GAL20V8's.

I got a Lattice GAL20V8 and managed to program that after a few attempts (was for a ZX Spectrum DivIDE).

Since then I spent a lot more money on a Dataman 48UXP and that programs Atmel and plenty of other GALs no problem.

So the G540 programmer did not work for all Atmel GALs'. Nor does it's advertised TTL chip tester work for me either.
 

pulstar

Active member
Feedback
41 (100%)
Credits
459CR
Right, so I pulled 2 from a duff board, both does the same thing.

It blanks ok, programs ok, but has an error following a verify. Would this be correct as the Security Cell should stop it from reading back. Output below.

>>.Erase......
>Erase OK
>>.Program.....
>>.Verify......
>>Device Address:000120 Device Data: 1 Buffer Data: 0
>>.Verify......
>>Device Address:000521 Device Data: 1 Buffer Data: 0
>>Program fail!
>> 7.55Sec
----------------------------!

Does yours throw up the same error or something different?
 

cmonkey

Active member
vacBacker
Feedback
4 (100%)
Credits
1,659CR
It depends whether the JED that you programmed to the GAL had the security bit set in it or not. If it did, then the results above are in line with what I'd expect to see, if it didn't then it's potentially a duff GAL.
 

pulstar

Active member
Feedback
41 (100%)
Credits
459CR
Well the file I used came from Jammarcade.net, not sure if the security bit is set or not (never programmed one until this one and don't know a lot about them). Thing is it seems to program and verify fine on my TOP programmer and the TOPWin software with the same GALs.
pulstar2014-08-18 15:13:00
 
Top