Afterburner - GAL chip programmer for Arduino
This is a GAL IC programmer software that allows to program GAL IC chips from various manfucaturers. It is based on work of several other people:
Bruce Abbott: http://www.bhabbott.net.nz/atfblast.html
Manfred Winterhoff: http://www.armory.com/%7Erstevew/Public/Pgmrs/GAL/_ClikMe1st.htm
who did the most of the hard work of deciphering and publishing the programming protocol of these chips. Their programs were Windows based and relied on presence of parallel port (LPT). Afterburner was written for Linux OS (also works on Win32/64, Mac OSX64), and requires serial connection to Arduio UNO, which does the programming of the GAL chip.
Supported GAL chips:
Atmel ATF16V8B, ATF22V10B, ATF22V10CQZ
Lattice GAL16V8A, GAL16V8B, GAL16V8D
Lattice GAL22V10B
National GAL16V8
Please note that ATF16V8C or ATF16V8CZ are not currently supported. Yes the B/C at the end of the part designator seems like a minor thing but in fact the programming protocol seems to be different compared to the B version (which is supported). Keep it in mind when ordering parts.
Setup:
Upload the afterburner.ino sketch to your Arduino UNO.
Connect the pins of the GAL chip to Arduino UNO according to the schematics images. Ideally use a PCB (ether etched or made in a fab) that's provided in 'pcb' and 'gerbers' directory. You can also hardwire on protoboard or breadboard.
Compile the afteburner.c to get afterburner executable. Run ./compile.sh to do that.
Set the programming voltage (VPP) on the voltage up-converter module (MT3608) depending on the GAL chip
Atmel ATF16V8B: 10V
Lattice GAL16V8: 10V, also works with 12V
Others - between 10 - 14V - untested
Check the programming voltage (VPP) without the GAL chip being inserted / connected to Arduino UNO. Test the voltage on MT3608 module VOUT- and VOUT+ pins while running the following command:
./afterburner s
Check the chip identification by runnig the following command:
./afterburner i -t [GAL_type]
If you get some meaningfull GAL chip identification like:
PES info: Atmel ATF16V8B VPP=10.0 Timing: prog=10 erase=25
then all should be well and you can try to erase the chip and then programm it to contain your .jed file.
If you get an unknown chip identification like:
PES info: 3.3V Unknown GAL, try VPP=10..14 in 1V steps
then look at the troubleshooting section
Read the content fo your GAL chip. This only works if the contents of the chip is not protected. Use the following command:
./afterburner r -t [GAL_type]
or to save the printed .jed fuse map to a file use:
./afterburner r -t [GAL_type] > my_gal.jed
Erase the GAL chip. Before writing / programming the chip it must be erased - even if it is a brand new chip that has not been used before. Use the following command:
./afterburner e -t [GAL type]
Program and verify the GAL chip via the following command:
./afterburner wv -t [GAL type] -f my_new_gal.jed
How aferburner works:
PC code reads and parses .jad files, then produces a binary which can be then uploaded to Arduino via serial port. By default /dev/ttyUSB0 is used, but that can be changed to any other device by passing the following option to afterburner:
-d /my/serial/device
PC code of afterburner communicates with Arduino UNO's afterburner sketch by a trivial text based protocol. You can also connect directly to Arduino UNO via serial terminal of your choice and issue some basic commands manually.
Arduino UNO's afterburner sketch does 2 things:
parses commands and data sent from the PC afterburner code
toggles the GPIO pins and drives programming of the GAL content
more information about GAL chips and their programming can be found here:
http://www.bhabbott.net.nz/atfblast.html
http://www.armory.com/%7Erstevew/Public/Pgmrs/GAL/_ClikMe1st.htm
PROJECT PAGE: https://github.com/ole00/afterburner/
Afterburner - GAL chip programmer for Arduino
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(1)
- Likes(7)
- Francisco Meza Mar 12,2024
- Francisco Candelas Nov 18,2023
- DrkZ May 27,2023
- Artem Yanov Jan 27,2023
- Engineer Nov 23,2022
- cytor67 Dec 10,2021
- (DIY) C64iSTANBUL Dec 10,2021
- 1 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
5design
-
6usability
-
8creativity
-
10content
More by Alexiev
- Afterburner - GAL chip programmer for Arduino This is a GAL IC programmer software that allows to program GAL IC chips from various manfucaturers....
- ATFBlast - ATF16V8, GAL16V8, ATF22V10 and GAL22V10 chips programmer ATF16V8, GAL16V8, ATF22V10 and GAL22V10 chips programmer.This is custom PCB variant of ATFBlast proj...
- ArduTrx Attenuator or Dummy load IntroductionTo test the ArduTrx or transceivers in general a dummy load is a handy device (https://e...
- ArduTrx Open Source Hamradio Transceiver for Arduino The ArdTrx project consists of two parts: the ArduTrx shield and the software. Both parts can be use...
- MonochromeVGA MonochromeVGA is a product to enjoy the charm of those monochrome monitors of the time but in the cu...
- NES64 Make Your Own Joystick The NES64 is a replacement PCB for use in an existing controller for the Nintendo Entertainment Syst...
- AY-3-8912 Emulator (AVR-AY) AY-3-8912 Emulator (AVR-AY)used in many old computers as Amstrad CPC, Oric-1, Colour Genie, Elektor ...
- 4116 dram tester project by : Muttley Black
- Covox Speech Thing Sound Card SMD version he Covox Speech Thing is an external audio device attached to the computer to output digital sound. ...
- Covox Speech Thing Sound Card for Parallel Port LPT with resistor DAC - Short version Covox Speech Thing Sound Card for Parallel Port LPT with resistor DAC - Short verionThe short versio...
- Covox Speech Thing Sound Card for Parallel Port LPT with resistor DAC - Long version Instead of using two types of resistors with 1/2 relation, I just used all the same types, but doub...
- 8bit ISA IBM XT, 286, 386, 486 Analog input card - Game control adapter Recreation of IBM Analog input card 99.1 mm* 79.4 mmAn 8-bit ISA card with gameport. It avoids the...
- Customizable crystal oscillators Half size - can style Customizable crystal oscillators Full size - can style The ClockInACan is a small circuit board that...
- Customizable crystal oscillators Full size - can style The ClockInACan is a small circuit board that is the same size as the oscillator and duplicates the...
- OCTOBAND – 8 Band PA+LPF Board For uSDX TriBand (An All Mode HF QRP Transceiver) OCTOBAND – 8 Band PA+LPF Board For uSDX TriBand (An All Mode HF QRP Transceiver) - designed by BAR...
- C64 Video Enhancement, Analog Only C64 Video Enhancement, Analog OnlyThe analog circuit that was just meant as a simple replacement to ...
- Raspberry Pi 360K floppy drive Project by Scott BakerRaspbian is not a real-time OS, and the FDC is absolutely intolerant of bytes ...
- APPLE II ProDOS ROM Drive This is a peripheral card for the Apple ][ series computers that acts as a read-only solid state dis...
-
-
-
-
-
-
3D printed Enclosure Backplate for Riden RD60xx power supplies
154 1 1 -
-