6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Sep 28, 2024 5:21 pm

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Sat Dec 21, 2019 9:07 am 
Offline
User avatar

Joined: Sun Oct 13, 2013 2:58 pm
Posts: 491
Location: Switzerland
Hi,

After a long time dedicated to my PDP-11 systems I plan to return to the 6502 world for some fun projects. And I'm planning to use again CPLDs for the Glue logic of course, it's just so easy. First I wanted to test some ideas on a breadboard. Up to now I was using a generic TQFP-44 to DIL adapter to bring the small ATF1504 CPLDs to the breadboard which always required to connect all power pins correctly and use a 10-Pin IDC adapter and wires for the JTAG to program the CPLD. Many times this was a source of error. Therefore I decided to come up with my own, ATF1504 specific, breadboard adapter

Attachment:
File comment: ATF1504 TQFP-44 Breadboard Adapter
IMG_3975.jpeg
IMG_3975.jpeg [ 1.37 MiB | Viewed 1869 times ]


This adapter includes a wired JTAG interface and has the option to add some test pins for GND and VCC and there is also a place to put a power indicator LED to inform me when power is applied to the breadboard. At the bottom there are 4 decoupling capacitors to make the breadboard life easier. The adaptor has the size of a DIL-44 package. If interested I can provide Eagle and Gerber files.

P.S.: I'm planning to do the same for the AVR Atmega1284P with an ISP AVR interface and a crystal with load capacitors, as I will probably use this as the bootloader for the 6502 system.


Top
 Profile  
Reply with quote  
PostPosted: Sat Dec 21, 2019 9:38 am 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1467
Location: Scotland
cbscpe wrote:
P.S.: I'm planning to do the same for the AVR Atmega1284P with an ISP AVR interface and a crystal with load capacitors, as I will probably use this as the bootloader for the 6502 system.


I did this for my Ruby system, although I used the standard 40 pin DIL version of the 1284p and a can oscillator. https://projects.drogon.net/6502-ruby/ It's used for bootstrap, OS loading and filesystem interface as well as serial.

Cheers,

-Gordon

_________________
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/


Top
 Profile  
Reply with quote  
PostPosted: Sat Dec 21, 2019 12:57 pm 
Offline
User avatar

Joined: Sun Oct 13, 2013 2:58 pm
Posts: 491
Location: Switzerland
I see, you had the same issues, fast ROM is not available, and used the Atmega1284P to preload the RAM with a boot image. I solved it as well with the help of an Atmega in my ROMulus projects (not yet on my homepages https://www.5volts.ch/, but comming soon now). Some information you can find in this forum. The difference is, that I control RESET and PHI2 for the boot process and not BE and RDY as you do. And that's why I will have a Atmega1284P adapter to get ROMulus V3 on a breadboard.


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 02, 2020 10:11 pm 
Offline

Joined: Wed Mar 02, 2016 12:00 pm
Posts: 343
An alternative to using a full microcontroller is to program a small cpld to copy the code from ROM to ram at startup. Easiest is to set it up to emulate a small rom with a copy routine.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 03, 2020 9:09 am 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1467
Location: Scotland
kakemoms wrote:
An alternative to using a full microcontroller is to program a small cpld to copy the code from ROM to ram at startup. Easiest is to set it up to emulate a small rom with a copy routine.



Or even a GAL acting as a ROM - as was posted on the forum recently (can't find the link right now, sorry). I think they said it could hold about 49 bytes which might be just about enough for e.g. a serial bootloader.. It might be an interesting challenge..

Ah, here we are: viewtopic.php?p=71973#p71973

-Gordon

_________________
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 03, 2020 2:07 pm 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1228
Location: Soddy-Daisy, TN USA
That board looks amazing! I would love the gerbers if they are available.

Also, are you using WinCUPL or something else to program that CPLD?

_________________
Cat; the other white meat.


Top
 Profile  
Reply with quote  
PostPosted: Fri May 29, 2020 4:39 pm 
Offline
User avatar

Joined: Fri Aug 03, 2018 8:52 am
Posts: 746
Location: Germany
no idea if anyone asked for this, but i also made an adapter. mostly because i wanted to experiment with the ATF1504 before putting it into my SBC.
Attachment:
20200519_201132.jpg
20200519_201132.jpg [ 2.68 MiB | Viewed 1499 times ]

it doesn't have a key'd JTAG connector and obviously is a lot wider than cbscpe's design (which means you likely need 1 breadboard per side).
but therefore has the pin number written on it (and what it does, IO, GCLK, etc), uses the PLCC version of the chip, and combines all Vcc and GND lines together into one, to save wiring them on a breadboard.

i tested it myself and it works perfectly fine. (kinda hard to screw up a breakout board but i had to be sure)

in case anyone is interested here are the gerber files, you can just straight up upload this ZIP file to a PCB manufacturer, for example JLCPCB and it should work, since i did the exact same thing to get mine.
DROPBOX


Top
 Profile  
Reply with quote  
PostPosted: Wed Jun 03, 2020 2:44 pm 
Offline

Joined: Tue Mar 27, 2018 8:20 am
Posts: 20
Proxy wrote:
no idea if anyone asked for this, but i also made an adapter. mostly because i wanted to experiment with the ATF1504 before putting it into my SBC.
Attachment:
20200519_201132.jpg

it doesn't have a key'd JTAG connector and obviously is a lot wider than cbscpe's design (which means you likely need 1 breadboard per side).
but therefore has the pin number written on it (and what it does, IO, GCLK, etc), uses the PLCC version of the chip, and combines all Vcc and GND lines together into one, to save wiring them on a breadboard.

i tested it myself and it works perfectly fine. (kinda hard to screw up a breakout board but i had to be sure)

in case anyone is interested here are the gerber files, you can just straight up upload this ZIP file to a PCB manufacturer, for example JLCPCB and it should work, since i did the exact same thing to get mine.
DROPBOX


I'm considering an ATF1504 for a future build, so that would be just the sort of thing I'm after for prototyping and experimentation. Thanks!


Top
 Profile  
Reply with quote  
PostPosted: Sat Jun 06, 2020 11:56 am 
Offline
User avatar

Joined: Sun Oct 13, 2013 2:58 pm
Posts: 491
Location: Switzerland
I finally found the time to update my webpage with the information about my own breadboard adapters. There you can also download the GERBER files

https://www.5volts.ch/posts/adapters/

Have fun

Peter


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: