amiga.org
     
iconAll times are GMT -6. The time now is 05:49 AM. | Welcome to Forum, please register to access all of our features.

» Amiga.org » Amiga computer related discussion » Amiga Hardware Issues and discussion » GAL programming help

Amiga Hardware Issues and discussion This forum is dedicated to the discussion and resolution of issues related to Classic and Next Generation Amiga hardware. Got a problem with a piece of hardware? Click to speak.

Reply
 
Thread Tools Display Modes
Old 10-08-2007, 04:08 PM   #1
Iggy_Drougge
Technoid
Points: 5,102, Level: 45 Points: 5,102, Level: 45 Points: 5,102, Level: 45
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2003
Posts: 328
Default GAL programming help

Does anyone here have experience programming GALs? I bought an NS GAL22V10-15 as a replacement for a Lattice GAL22V10-25. When I put it into my ALL-07 programmer, the first "blank check" works fine, but programming it with a JEDEC file fails miserably, and after that, the software just reports that manufacturer number doesn't match. Checking the GAL in another programmer gives no better results; after programing with the same JEDEC file, the verify fails and the GAL is just filled with 11111111111.
__________________
A4000/25MHz/64MB/20GB/RetinaBLTZ3/FastlaneZ3/CatweaselMKIII/Ariadne/A2301
A3000/40MHz/32MB/6GB/Merlin/Buddha/X-Surf/FrameMachineII+Prism24
Draco60/50MHz/128MB/15GB/Altais/DracoMotion/DV/IOblix+net
Iggy_Drougge is offline   Reply With Quote
Old 10-08-2007, 11:24 PM   #2
Castellen
Cult Member
Points: 9,898, Level: 66 Points: 9,898, Level: 66 Points: 9,898, Level: 66
Activity: 1% Activity: 1% Activity: 1%
 
Join Date: Feb 2002
Location: Antarctica
Posts: 936
Default Re: GAL programming help

I've programed the Lattice devices on my universal programmer at work. Including replacement GAL devices for the A3640, etc. I only had to make a suitable PLCC to DIL adaptor, which was easy enough.

Haven't tried the NS versions and I'm not familiar with the ALL-07 programmer.

The Lattice devices are of couse flash based, so they're re-programmable. Surely the NS devices would be the same?

Perhaps your programmer has blown the security fuses, which basically means you can no longer read/write to the device. Might explain why you can no longer read the manufacturer ID. The default for some programmers is to blow the security fuses, but I would have expected this data to be read from the JEDEC file?

Before programming a device, can you view the buffer contents? With CPLDs you usually get a large table of O and X indicating cell states. Doesn't mean much, but you can get a good idea if the JEDEC file appears to have been read or not.

Are you using the correct adaptor? If you get the Lattice datasheet, you can quickly work out the pin conversion between the PLCC and DIL devices. It's industry standard, not a Lattice specific thing.


Just for the record, the GAL22V10B-10 devices (as used in a lot of C= stuff) is no longer available, but the readily available GAL22V10D-10LJ devices work fine as replacements and are of course compatible with 22V10 JEDEC files.
The Farnell part number for these is 413-9793.
Castellen is offline   Reply With Quote
Old 10-09-2007, 10:34 AM   #3
Iggy_Drougge
Technoid
Points: 5,102, Level: 45 Points: 5,102, Level: 45 Points: 5,102, Level: 45
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2003
Posts: 328
Default Re: GAL programming help

Yes, surely the NS devices would be the same? I'm sure I read that they had an EEPROM mask and could handle a hundred programming cycles.

I certainly haven't blown the fuses willingly (there is a command to do so, but I haven't heard that a JEDEC file can enforce it).

I have checked the buffer contents, they look good, and the checksum given by the software matches up.

The NS GAL22V10-15LNC are DIL packages, so I just put them with the notch in the direction indicated on the ZIF socket on both programmers.
__________________
A4000/25MHz/64MB/20GB/RetinaBLTZ3/FastlaneZ3/CatweaselMKIII/Ariadne/A2301
A3000/40MHz/32MB/6GB/Merlin/Buddha/X-Surf/FrameMachineII+Prism24
Draco60/50MHz/128MB/15GB/Altais/DracoMotion/DV/IOblix+net
Iggy_Drougge is offline   Reply With Quote
Reply

Bookmarks

Tags
gal , programming

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gal Pal programming trekiej CH / General 32 05-15-2008 12:22 PM
C/C++ programming jonssonj Amiga OS -- Development 10 11-09-2005 03:19 AM
RTG Programming Sidewinder Amiga OS -- Development 1 04-18-2004 03:41 AM
C Programming and MUI + MOS TheMagicM Amiga Software Issues and Discussion 1 08-11-2003 06:42 AM
MUD programming Desolator Amiga Software Issues and Discussion 6 02-12-2003 03:17 PM