ATF1504AS programming adapter board

Topics relating to PALs, CPLDs, FPGAs, and other PLDs used for the support or creation of 65-family processors, both hardware and HDL.
User avatar
banedon
Posts: 742
Joined: 08 Sep 2013
Location: A missile silo somewhere under southern England

ATF1504AS programming adapter board

Post 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 :roll: :lol:). THe forth picture below shows them side by side.
Here're the picys. Any comments/advice welcome (constructive ones only please :P)
.
20180123_182004.gif
20180123_182101.gif
20180123_201054.gif
20180123_200601.gif
User avatar
cbmeeks
Posts: 1254
Joined: 17 Aug 2005
Location: Soddy-Daisy, TN USA
Contact:

Re: ATF1504AS programming adapter board

Post 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?
Cat; the other white meat.
User avatar
banedon
Posts: 742
Joined: 08 Sep 2013
Location: A missile silo somewhere under southern England

Re: ATF1504AS programming adapter board

Post by banedon »

cbmeeks wrote:
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...
User avatar
cbmeeks
Posts: 1254
Joined: 17 Aug 2005
Location: Soddy-Daisy, TN USA
Contact:

Re: ATF1504AS programming adapter board

Post by cbmeeks »

banedon wrote:
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.
Cat; the other white meat.
User avatar
banedon
Posts: 742
Joined: 08 Sep 2013
Location: A missile silo somewhere under southern England

Re: ATF1504AS programming adapter board

Post by banedon »

I've made some changes to my design and sent the gerbers off to JLCPCB. We'll see what happens :).
User avatar
cbscpe
Posts: 491
Joined: 13 Oct 2013
Location: Switzerland
Contact:

Re: ATF1504AS programming adapter board

Post by cbscpe »

cbmeeks wrote:
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
User avatar
banedon
Posts: 742
Joined: 08 Sep 2013
Location: A missile silo somewhere under southern England

Re: ATF1504AS programming adapter board

Post 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:
20180212_195534_001.gif
20180212_195556.gif
20180212_204221.gif
So great suggestion with regards using JLCPCB cbmeeks :).
User avatar
cbmeeks
Posts: 1254
Joined: 17 Aug 2005
Location: Soddy-Daisy, TN USA
Contact:

Re: ATF1504AS programming adapter board

Post by cbmeeks »

Awesome!! Do you have any extra boards available?
Cat; the other white meat.
User avatar
banedon
Posts: 742
Joined: 08 Sep 2013
Location: A missile silo somewhere under southern England

Re: ATF1504AS programming adapter board

Post by banedon »

Sure. I had five made and have constructed one. Are you after one?
Martin_H
Posts: 837
Joined: 08 Jan 2014

Re: ATF1504AS programming adapter board

Post 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?
User avatar
banedon
Posts: 742
Joined: 08 Sep 2013
Location: A missile silo somewhere under southern England

Re: ATF1504AS programming adapter board

Post by banedon »

Martin_H wrote:
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.
Martin_H
Posts: 837
Joined: 08 Jan 2014

Re: ATF1504AS programming adapter board

Post by Martin_H »

Thanks for the information. I think I will give it a try the next time I'm making glue logic.
User avatar
banedon
Posts: 742
Joined: 08 Sep 2013
Location: A missile silo somewhere under southern England

Re: ATF1504AS programming adapter board

Post 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 :).
gerbers.zip
(55.24 KiB) Downloaded 163 times
banedon
djkat
Posts: 15
Joined: 30 Mar 2020

Re: ATF1504AS programming adapter board

Post 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
djkat
Posts: 15
Joined: 30 Mar 2020

Re: ATF1504AS programming adapter board

Post by djkat »

0.1uF caps, 220/330 resistor for the LED?
What is that component close to C28?

Cheers,
Daniel
Post Reply