6502.org
http://forum.6502.org/

VGA6448, text-based VGA in ATF1504AS CPLD
http://forum.6502.org/viewtopic.php?f=10&t=6502
Page 5 of 5

Author:  plasmo [ Sun Jul 25, 2021 6:55 pm ]
Post subject:  Re: VGA6448, text-based VGA in ATF1504AS CPLD

Well, this is embarrassing: I finished the PS2 keyboard state machine and ready to test it out, but the board current-limited at 1amp when the PS2 CPLD is inserted. Poke around a bit and realized the PS2 CPLD's VCC are connected to ground and grounds are connected to VCC! It turns out I've rotated the symbol 180 degree to facilitate the hooking up of the JTAG programming signals, but didn't realize ground terminals are now at the top and VCC terminals are at the bottom. Oops. Probably fried the CPLD and definitely need a new revision of pc board. In the meantime I'll cut out the VCC/GND connections and rewire them so I can continue testing.
Bill

Attachments:
wrong_power_gnd_connections.jpg
wrong_power_gnd_connections.jpg [ 163.4 KiB | Viewed 2046 times ]

Author:  BigDumbDinosaur [ Mon Jul 26, 2021 1:45 am ]
Post subject:  Re: VGA6448, text-based VGA in ATF1504AS CPLD

plasmo wrote:
Poke around a bit and realized the PS2 CPLD's VCC are connected to ground and grounds are connected to VCC!
Ouch! :D

Author:  plasmo [ Mon Jul 26, 2021 3:10 am ]
Post subject:  Re: VGA6448, text-based VGA in ATF1504AS CPLD

Ouch is right. This is worse than reversing power leads to a board, which I've also done a few times. I need to cut several traces and patch twice as many wires to undo the power reversal. At least it is a two-layer board with exposed power/ground traces that I can cut into.
Bill

Author:  plasmo [ Mon Jul 26, 2021 7:10 pm ]
Post subject:  Re: VGA6448, text-based VGA in ATF1504AS CPLD

I'm able to swap VCC and ground connections with 5 cuts and 9 jumpers. The CPLD actually survived the reverse voltage, setting current limit at 1amp probably had saved it from destruction. The PS2 keyboard controller appears to be working. I'll start a new topic about CPLD-based PS2 keyboard controller.
Bill

Attachments:
DSC_66170726.jpg
DSC_66170726.jpg [ 1.44 MiB | Viewed 1980 times ]

Author:  plasmo [ Tue Oct 26, 2021 3:05 pm ]
Post subject:  Re: VGA6448, text-based VGA in ATF1504AS CPLD

Received rev2 of VGA6448 from JLCPCB. It fixed the power/ground mix up, but still has one missing connection which can be easily patched with a jumper wire. It is working well. I now have a 2-board standalone 6502 computer using CRC65 + VGA6448 on a RC2014 backplane driving a VGA monitor and PS2 keyboard. I'll create a separate topic for the standalone 6502 project.
Bill

Attachments:
DSC_66411026.jpg
DSC_66411026.jpg [ 1.26 MiB | Viewed 1587 times ]
DSC_66421026.jpg
DSC_66421026.jpg [ 1.4 MiB | Viewed 1587 times ]

Author:  BigDumbDinosaur [ Tue Oct 26, 2021 3:40 pm ]
Post subject:  Re: VGA6448, text-based VGA in ATF1504AS CPLD

plasmo wrote:
Received rev2 of VGA6448 from JLCPCB. It fixed the power/ground mix up, but still has one missing connection which can be easily patched with a jumper wire. It is working well. I now have a 2-board standalone 6502 computer using CRC65 + VGA6448 on a RC2014 backplane driving a VGA monitor and PS2 keyboard. I'll create a separate topic for the standalone 6502 project.

What is that large chip to the right of the two CPLDs?

Author:  plasmo [ Tue Oct 26, 2021 5:06 pm ]
Post subject:  Re: VGA6448, text-based VGA in ATF1504AS CPLD

It is 4K dual port RAM, IDT71342. Available from utsource for about $2.50 each in small quantity. One side of the dual port RAM connected to 6502 as write-only memory and the other side is connected to CPLD as read-only video data and font.
Bill

Author:  plasmo [ Sat Jan 29, 2022 5:14 am ]
Post subject:  Re: VGA6448, text-based VGA in ATF1504AS CPLD

I showed a "piggyback VGA" prototype on May 26, 2021 post of this thread. I like the way it looked and thought about how to make pc board version. This is what I come up with after 7 months.

It is two board assembly. The bottom board is 128Kx8 RAM base that plugs into 128Kx8 DIP RAM socket. The top board is CPLD, 4K dual port RAM, 25.175MHz oscillator, and VGA connector. It works, but sadly I still like the prototype better, but at least the pc board version is more producible.
Bill

Edit, I'm working on a new 128Kx8 RAM base that has another CPLD in quad flat pack format. That CPLD will handle the PS2 keyboard interface. This way the 2-board assembly can generate text VGA output and receive PS2 keyboard input.

Attachments:
DSC_67640128.jpg
DSC_67640128.jpg [ 1.45 MiB | Viewed 1320 times ]
DSC_67650128.jpg
DSC_67650128.jpg [ 1.14 MiB | Viewed 1320 times ]
DSC_67670128.jpg
DSC_67670128.jpg [ 1.2 MiB | Viewed 1320 times ]
DSC_67680128.jpg
DSC_67680128.jpg [ 1.25 MiB | Viewed 1320 times ]

Author:  Dr Jefyll [ Sat Jan 29, 2022 1:47 pm ]
Post subject:  Re: VGA6448, text-based VGA in ATF1504AS CPLD

plasmo wrote:
I still like the prototype better
I totally get it, Bill. The new version is a lovely piece of work. But I, too, prefer the original. "Who says I can't just do it like this...!" :P

-- Jeff

Attachments:
VGA piggyback on RAM.jpg
VGA piggyback on RAM.jpg [ 23.45 KiB | Viewed 1298 times ]

Author:  plasmo [ Sat Jan 29, 2022 7:38 pm ]
Post subject:  Re: VGA6448, text-based VGA in ATF1504AS CPLD

The prototype harks back to the earlier days when I did lots of prototyping. Those were the Wild Wild West days when we had tried many different ideas, some even worked. That's how innovations came about--trying a lot of ideas. I remembered your initial comment was:
Dr Jefyll wrote:
Whoa -- it's hideous and gorgeous at the same time! :lol:

I got that a lots, especially the "hideous" part. :P
Bill

Page 5 of 5 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/