Commit Graph

67 Commits

Author SHA1 Message Date
ole00
fab07e57fd Sketch: adjust VPP for all GALs
Previously all GALs had their VPP (programming voltage) reduced by 2V.
That was based on old Afterburner design which did not have variable VPP
control. It was trivial to adjust and experiment with VPP by turning the POT.
The software for the new design uses the VPP information encoded in PES
to set the VPP voltage (except Atmel GALs where the VPP value was hardcoded
to be effectively 10V) programmatically. The reduction of VPP by 2V on
the new design works, but is just on the very edge of correct functionality.
For example undervolting the 10V VPP to 9.87V made the Atmel chip programming
unreliable (many verification errors). This change reduces the voltage
by 1V for all GAL chips, so for example Atmel GALs are programmed by 11V VPP
(instead of 10V as it was before). It should improve writing reliability
for all GAL ICs.

I have re-tested all types of GAL IC I have available, all worked OK
with this change. That means all operation worked correctly: erase, info,
read, write and verify. The IC that were tested are as follows:

GAL6001B-30LP
GAL6002B-15LPN
GAL20V8B-15LPN
GAL26V12C-15LPN
GAL22V10B-25LP
GAL22V10D-10LPN
GAL18V10B-15LP
GAL18V10B-20LP
GAL16V8D-25LP
GAL16V8B-15LJI
ATF750C-7PX
ATF22V10C-15PU
ATF22V10CZQ-20PU
ATF16V8BQL-15PU
ATF16V8B-15PU
ATF16V8C-7PU
ATF16V8CZ-15SU
2024-02-05 23:15:12 +00:00
ole00
28c4a104d1 version increased to 0.5.6 2024-02-04 11:26:07 +00:00
HubertH
19662a1939 Fixed B9 command bug
Fixed B9 command bug
Fixed a typo
2024-02-04 08:52:48 +00:00
ole00
24494accde version increased to 0.5.5 2023-11-22 21:39:05 +00:00
rhgndf
5c2cd50d47 Support GAL20RA10 2023-11-22 12:30:52 +08:00
rhgndf
79594dc863 Use library functions for memcpy from flash 2023-11-22 11:45:17 +08:00
ole00
e335ee638f Sketch: increased version to 0.5.4 2023-11-22 00:37:44 +00:00
ole00
4ba672b896 Sketch: reduce RAM usage by moving galinfo array to flash.
Approx. 340 bytes of RAM were freed.
2023-11-22 00:34:40 +00:00
rhgndf
b5a7334d59 Actually fix pinout in the first few rows 2023-11-21 16:17:20 +08:00
rhgndf
c7b7f06f10 Convert to use pinout 2023-11-05 13:43:47 +08:00
rhgndf
f5c05e463d Fix pinout 2023-11-05 13:40:55 +08:00
rhgndf
2275e13091 Fix upload and 26v12 bits 2023-11-05 13:39:53 +08:00
rhgndf
b60f36b144 Support 26(C)V12 2023-11-05 13:39:51 +08:00
ole00
a1fc6bb2f7 sketch: fixed compilation error after merge, removed strncmp dependency 2023-11-04 14:14:46 +00:00
ole00
95e461233e
Merge branch 'master' into atf20v8 2023-11-04 14:00:49 +00:00
ole00
3e0a2ad357 sketch: added gal type value to the error message 2023-11-04 12:39:30 +00:00
ole00
b596f7d9d1 sketch: disabled PED debug 2023-11-04 12:28:23 +00:00
rhgndf
ab9fa88437 Support ATF20V8B 2023-10-30 22:13:25 +08:00
rhgndf
a1bbbdff24 Fix 18V10 UES writing 2023-10-30 19:51:32 +08:00
rhgndf
e7ceab90c1 Move cfg for 18V10 to PROGMEM 2023-10-30 16:47:27 +08:00
rhgndf
5a3e1f7c75 Fix UES bytes on verify 2023-10-30 16:47:27 +08:00
rhgndf
8f995e1c9f Minor fixes 2023-10-30 16:47:27 +08:00
rhgndf
c89331138e Pull down unused pins 2023-10-30 16:47:27 +08:00
rhgndf
b160a49601 Initial GAL18V10 support 2023-10-30 16:47:27 +08:00
ole00
13bc7bdad9 Sketch: compilation fixes 2023-10-15 09:53:25 +01:00
rhgndf
d26234d6ca Add missing case statments 2023-10-07 19:34:03 +08:00
rhgndf
393c03993b Remove unnecessary progmem strings when printing 2023-10-07 19:33:21 +08:00
rhgndf
e9b6eae0ce Change switch statement to array lookup 2023-10-03 20:17:18 +08:00
rhgndf
1f5a856f2a Remove use of line when printing jedec 2023-10-03 20:02:43 +08:00
rhgndf
ae05e4d51b Reduce ram usage 2023-10-03 19:45:38 +08:00
ole00
8b82d0ea0e Increased version to 0.5.3 2023-10-02 22:41:13 +01:00
ole00
4f1a89007b Sketch: reduced RAM allocation
Byte arrays held in RAM were moved to be kept in flash only.
This released ~365 bytes of RAM
2023-10-02 22:22:09 +01:00
rhgndf
7a93bac034 Initial PES writing support for GAL6001/GAL6002 2023-10-02 01:14:22 +08:00
rhgndf
c97f4297c1 Fix write support for GAL6001/GAL6002 2023-10-02 00:04:13 +08:00
rhgndf
78eb638c98 Initial write support for GAL6001/GAL6002 2023-09-30 21:30:49 +08:00
rhgndf
bb8f67fe74 Add verify support to GAL6001/GAL6002 2023-09-28 18:24:17 +08:00
rhgndf
f0c572bc33 Refactor printing the fuse map 2023-09-25 12:18:49 +08:00
rhgndf
534b50518f Add GAL6001/GAL6002 read support 2023-09-23 11:05:12 +08:00
rhgndf
7b08a1a749 Initial GAL6001/GAL6002 support 2023-09-22 23:32:15 +08:00
ole00
5aaa1bdf8c
Merge pull request #34 from rhgndf/stgal
Support ST GAL16V8
2023-09-18 20:37:39 +01:00
rhgndf
87a77ad4af Fix CFG and UES 2023-09-17 12:20:15 +08:00
rhgndf
82b6691bba Support GAL20XV10 2023-09-17 12:20:08 +08:00
rhgndf
5dc3f793f4 Fix indentation 2023-09-16 20:39:02 +08:00
rhgndf
f2ae8e2391 Support ST GAL16V8 2023-09-16 14:05:42 +08:00
ole00
86a4ade9f9 Sketch: support for MCP4151-103 digital pot
Added support and autodetection of MCP4151 digital pot.
If MCP4151 is detected then its wiper resolution is halved
to match the MCP4131 wiper resolution.
MCP4151-103 is now a drop in replacement for MCP4131-103.
2023-05-19 23:00:08 +01:00
ole00
d3acb78576 sketch: fixed typo when printing GAL22V10 PES 2023-05-16 22:37:52 +01:00
ole00
5bcb23f1a2 sketch: GAL20V8 - disable pull-up on DOUT when inactive 2023-04-07 19:16:43 +01:00
ole00
8d12ec9e58 sketch: default VPP for non-Atmel chips set as 12V
Also, the defaults are used if no PES check is requested.
2023-04-07 19:16:43 +01:00
ole00
4db4108d4a Sketch: added support for new board design (v 3.0)
New features:
* unified socket for 20 pin and 24 devices (including GAL20V8)
* variable VPP via digi pot
* VPP measurement via A0 ADC (used for VPP calibration)
2023-04-07 19:15:36 +01:00
ole00
7774c76626 sketch: added support for erase-all and write-pes commands 2023-03-30 23:34:28 +01:00