As I mentioned before the blogger from hackup.net has created his own programmer for the ATF1504AS CPLD so when I get the parts I'm going to document building the programmer and how to hook it up to and program my Dev Board.
Please visit the following original source sites first:
Building the Programmer
From reading the blog and the schematic I've sourced the following parts for the build:
Part | URL | NoReq | Notes |
PCB | Hackup Github | 1 | You will need to generate your own gerber and nc drill files to get this manufactured from this file in KiCad : ATF2FT232HQ.kicad_pcb |
FT232H | AliExpress | 1 | |
ATF1504AS-10JU4-ND | Digikey | U1 | IC CPLD 64MC 10NS 44PLC |
ED90008-ND | Digikey | U1 | CONN SOCKET PLCC 44POS TIN |
ED1543-ND | Digikey | J2 | CONN HEADER VERT 10POS 2.54M |
700-MAX662AESA | Mouser | U2 | Switching Voltage Regulators 12V |
80-T491A475K16AT7280 | Mouser | C7, C8 | Tantalum Capacitors - Solid SMD 16V |
220nF | | C5, C6 | 220nF SMD 0805 Capacitors |
0.1uF | C1-4 | 0.1uF (100nF) SMD 0805 Capacitors |
You will also need :
Pin Headers ( for J1 )
Pin Header sockets ( for J1 )
Finally I have all of the parts and I've built my own programmer
Before you start, lets set JP1 to OFF and JP2 to 3.3V.
Setting up Windows 10 with the required software
You will need two pieces of software to run the programmer on Windows 10.
2) OpenOCD v0.10.0-14
Unzip this into C:\OpenOCD
Trying it out
Get the SVF files from Hackup.net : https://www.hackup.net/wp-content/uploads/2020/01/atf1504-svf.zip
Put them in C:\OpenOCD\bin
Plug in your adapter
Run the command from Hackup.net
Lastly, can I program my Dev board with it!
. . . and the answer is yes, it is 100% working!!!
Thank you Hackup.net!