Skip to content
Mark Clegg edited this page Nov 11, 2021 · 7 revisions

Welcome to the GAL-Programmer wiki!

This is a simple Arduino UNO based GAL Programmer for use with GALasm and afterburner. It has been tested with Lattice GAL22v10's but should also woth with 16v8's.

GAL Programmer

Pre-Requisites

GALasm

Fuse map compiler
Available from: https://github.com/daveho/GALasm

AfterBurner

Arduino sketch to program the pre-compiled jed files into the GAL
Available from: https://github.com/ole00/afterburner

Basic Instructions

  1. Write the image map.pld file for the target device

  2. Compile using GALasm to produce the map.jed

    $ galasm map.pld
    
  3. Erase the target device

     $ afterburner e -t GAL22V10 -d /dev/ttyACM0
    
  4. Program the target device

     $ afterburner wv -t GAL22V10 -d /dev/ttyACM0 -f map.jed