DIY编程器网

标题: Simple GAL Programmer [打印本页]

作者: liyf    时间: 2014-9-16 19:01
标题: Simple GAL Programmer
比较古老的gal编程器,利用并口的,还在提供原理图和源代码,喜欢的研究下

动动板做的,作者布局挺整齐的
支持芯片
Supported DeviceLattice Semiconductor Corp. GAL
GAL16V8A/B/C/D
GAL20V8A/B/C/D
GAL22V10B/C/D
Microchip PICmicro
PIC16C84
PIC16F84
Programming SpecsGAL: VEDIT = 15.0V, STR P/W = 40ms
PIC: Vpp = 13.5V
Control InterfaceIBM AT compatibles: Parallel Port
NEC PC9800: Printer Port
Power SupplyDC7.5 to 15V, 100mA(max)
or a 6LR61(9V) battery
Cost$40 (parts)


gal的结构图

原理图,不是很复杂

和并口的接线图

还可以用这个烧写pic芯片
bom列表
pgal_list1e.txt (2.88 KB, 下载次数: 7)
pgal_list2e.txt (3.08 KB, 下载次数: 4)
上位机程序
pgaltool.zip (27.79 KB, 下载次数: 7) ,里面有源代码,汇编的哦
GAL assembler (16V8, 20V8 and 22V10)
fgal.zip (31.62 KB, 下载次数: 6)

操作命令,英文的
Programming a GALConfirmed DevicesDeviceABCD
GAL16V8OKOKOKOK
GAL20V8?OK??
GAL22V10-OKOK?
PGAL <jedec file>

Run pgal.com with a JEDEC file, then a message that request to put a GAL device will displayed. Put a GAL on the socket and type any key, start to program. When the programming was finished with successful, remove the GAL from socket. A 20-pin GAL is put on the socket with adjust GND pin. RIght list shows the devices that confirmed to program.
Reading a GALPGAL /R
PGAL /R > <file>

Run pgal.com with /R switch and dislpays a GAL type selection menu. Select a required device, display a message that request to put a GAL. Put a GAL on the socket and then type any key, starts to reading, output fuse data and terminates program. Fuse map is output to console, so that please redirect to a file.
Erasing a GALPGAL /E

To erase a GAL, run pgal.com with /E switch. But GAL is erased before program so that this command is not used normaly.
Read and Write PICPICW84.COM is a control program for program to the PIC. Its usage is same as GAL programming. Hex-file format must be INHX8, and it must includes a configuration word.



作者: dawenxi    时间: 2014-12-12 15:24
正是我需要的谢谢。。
作者: harry26    时间: 2021-5-7 10:41
好资料,谢谢楼主分享




欢迎光临 DIY编程器网 (http://diybcq.com/) Powered by Discuz! X3.2