Page 1 of 2
ATF1504AS programming adapter board
Posted: Tue Jan 23, 2018 9:00 pm
by banedon
I recently lost track of my DIY adapter which I put together to allow me to program Atmel (Microchip) ATF1504AS CPLDs for my 65C02 projects, so decided to design my own adapter PCB. It's designed to work with my Atmel ATDH1150USB-K, takes a 10 pin JTAG header, has a 44 pin PLCC socket and is 2 layers (keeps the cost down).
The PCB breaks the pins out from the PLCC socket to two 22 pin headers (pins 1 to 44) for testing purposes, routes all 4 VCC pins toegther and all 4 GND pins together and these route to the JTAG header.
I received the PCBs today (ordered 5 to get the cost down and might sell the others if UK folks at interested in buying - cost price only of PCB, components and postage - let me know).
How it turned out:
1) It works

. I soldered it all together, put it in a breadboard, hooked it up and verified the design in an ATF1504AS.
2) It sort of fits in a bread board (if the two 22 pin pin headers are soldered in down wards), but it only just fits with 1 row of holes down each side and it's a squeeze to get wires in due to PCB over lap. I might go for pin headers up on these ones.
3) The pin numbering and VCC/GND pin marking is visible, but a tad too small. If someone has poor eyesight it could well be too difficult to read.
I might get some more made with the following altered, but it's quite expensive to get PCBs made in the UK so I'll have a think on it:
1) Reduce the width of the PCB to allow more room for access to the breadboard holes running down each side
2) Move the 44 pin PLCC socket down and the orientate the JTAG header by 90 degreess so a 10 pin "quick removal" socket can be used (these are too wide for the current design)
Of course, I found my old DIY adapter after I ordered the above (always the way

). THe forth picture below shows them side by side.
Here're the picys. Any comments/advice welcome (constructive ones only please

)
.
Re: ATF1504AS programming adapter board
Posted: Tue Jan 23, 2018 9:52 pm
by cbmeeks
This is really cool. I thought about doing the same thing for the 1508.
The board looks less than 100mm x 100mm. If so, JLCPCB will do 10 of them for $2 USD. Not sure what shipping would be. Have you priced them?
Re: ATF1504AS programming adapter board
Posted: Tue Jan 23, 2018 10:21 pm
by banedon
This is really cool. I thought about doing the same thing for the 1508.
The board looks less than 100mm x 100mm. If so, JLCPCB will do 10 of them for $2 USD. Not sure what shipping would be. Have you priced them?
I didn't know about JLCPCB. Have you used them yourself? Seem like an incredibly cheap price - I paid roughly £20-£25 per board (got 5) with 5 days lead time.
Putting in my board stats (40mm x 61mm, 2 layer, 1.6mm thickness FR4, Lead free, No Panel, Green, Qty 5) it says $26 - so much cheaper. My main concern would be the PCBs being held indefinitely in UK customs (had that before with other goods from China

) and time in transit. But at $26 it's very tempting...
Re: ATF1504AS programming adapter board
Posted: Wed Jan 24, 2018 2:48 pm
by cbmeeks
I didn't know about JLCPCB. Have you used them yourself? Seem like an incredibly cheap price -
Yes, I've used them once (
viewtopic.php?f=1&t=5023).
I made a bunch of mistakes with my first PCB. But that was on me. The boards I got back are awesome. At least with my amateur eyes.
I paid more than $2 but that's because I was sloppy and my board size was larger than 100m on one axis. But because it was my first order, I got free shipping. I still got 10 boards for under $25 USD. And, it was shipped to my house very quick.
Some of the YouTuber's I watch are now promoting them....well, I imagine JLCPCB is a sponsor for them.
Anyway, I hope to wrap up a pretty large PCB design pretty soon. Hopefully before spring. I'm working on a SBC in the spirit of an Apple II (NOT a clone...but it will have slots). When I do, I plan on giving them a try again.
Re: ATF1504AS programming adapter board
Posted: Fri Jan 26, 2018 11:06 pm
by banedon
I've made some changes to my design and sent the gerbers off to JLCPCB. We'll see what happens

.
Re: ATF1504AS programming adapter board
Posted: Sun Jan 28, 2018 8:13 pm
by cbscpe
This is really cool. I thought about doing the same thing for the 1508.
The board looks less than 100mm x 100mm. If so, JLCPCB will do 10 of them for $2 USD. Not sure what shipping would be. Have you priced them?
For the ATF1508AS in PLCC-84 I use the following.
http://www.technologicalarts.ca/shop/st ... 4-pin.html
Re: ATF1504AS programming adapter board
Posted: Mon Feb 12, 2018 10:02 pm
by banedon
Got the new PCBs from JLCPCB and am very happy so far

. Soldered components to one and tested: All working fine, the footprint is much better for bread boarding and I can fit a 2x5 IDC ZIF-type socket on for the JTAG connection. The resistor and LED are optional.
Here are a few picys:
So great suggestion with regards using JLCPCB cbmeeks

.
Re: ATF1504AS programming adapter board
Posted: Tue Feb 13, 2018 6:47 pm
by cbmeeks
Awesome!! Do you have any extra boards available?
Re: ATF1504AS programming adapter board
Posted: Tue Feb 13, 2018 9:07 pm
by banedon
Sure. I had five made and have constructed one. Are you after one?
Re: ATF1504AS programming adapter board
Posted: Tue Feb 13, 2018 9:59 pm
by Martin_H
I really want to learn about GAL's and CPLD's, but have been somewhat intimidated. I thought they needed a custom programmer, and there's some degree of compatibility issues. So I am curious, what's on the other end of that ribbon cable?
Re: ATF1504AS programming adapter board
Posted: Tue Feb 13, 2018 11:57 pm
by banedon
I really want to learn about GAL's and CPLD's, but have been somewhat intimidated. I thought they needed a custom programmer, and there's some degree of compatibility issues. So I am curious, what's on the other end of that ribbon cable?
Hi Martin
You're right: you do need a programmer and you also need software to write the "design" code. I.e. :
I use
WinCUPL (free program) to write the code and export the design as as .JED file.
I can then use my Atmel (now Microchip)
ATDH1150USB-K programmer/cable in conjunction with my adapter board to write the .JED file to the CPLD. The ATDH1150USB-K drivers are windows 7 & 10 compatible.
For GAL programming I still use WinCUPL to code the design, but use a Genius G540 programmer (purchased on ebay) to write the JED file to the GAL. Unfortunately, it isn't Windows 10 compatible so I'll have to find one which is at some point.
Re: ATF1504AS programming adapter board
Posted: Wed Feb 14, 2018 12:44 am
by Martin_H
Thanks for the information. I think I will give it a try the next time I'm making glue logic.
Re: ATF1504AS programming adapter board
Posted: Sun Feb 03, 2019 10:11 am
by banedon
Hi guys
I've been asked if I'd make the gerber files available for the 2nd version of by adapter board which I'm happy to do. See attached. They are free for anyone to use, but if you modify/copy them then I'd appreciated an acknowledgement

.
banedon
Re: ATF1504AS programming adapter board
Posted: Thu Apr 09, 2020 3:50 am
by djkat
Thanks for the gerber files! I ordered some to test it out for my ATF1504 chips.
Do you have a BOM for the other components?
Cheers,
Daniel
Re: ATF1504AS programming adapter board
Posted: Thu Apr 09, 2020 3:53 am
by djkat
0.1uF caps, 220/330 resistor for the LED?
What is that component close to C28?
Cheers,
Daniel