Yet another 65C02 SBC
Yet another 65C02 SBC
Hello,
My goal was to have a compact 65C02 SBC (PI form factor) I can use from my sofa. So this is a tty only setup. I was inspired by plasmo designs with CompactFlash. I started with the 6502 utilities he did for its frugal 6502 board.
Without CompactFlash and MMU, the board was tested at 30-35Mhz without any problems. But compact flash and CPLD design forced me to slow down my expectations. But I think I should clock the board at 20+Mhz
Briefly :
65c02@14Mhz
512K RAM
FT245 chip for USB
PCA9564 chip for I2C
RV3129 chip for RTC
EPM7128 (softswitches, address decoding, wait states, MMU, leds, headers)
Fuzix is currently working fine (I still have some troubles with RTC stability). The 64 bytes bootstrap load a full 512 bytes sector containing the Fuzix Bootloader.
Christophe
My goal was to have a compact 65C02 SBC (PI form factor) I can use from my sofa. So this is a tty only setup. I was inspired by plasmo designs with CompactFlash. I started with the 6502 utilities he did for its frugal 6502 board.
Without CompactFlash and MMU, the board was tested at 30-35Mhz without any problems. But compact flash and CPLD design forced me to slow down my expectations. But I think I should clock the board at 20+Mhz
Briefly :
65c02@14Mhz
512K RAM
FT245 chip for USB
PCA9564 chip for I2C
RV3129 chip for RTC
EPM7128 (softswitches, address decoding, wait states, MMU, leds, headers)
Fuzix is currently working fine (I still have some troubles with RTC stability). The 64 bytes bootstrap load a full 512 bytes sector containing the Fuzix Bootloader.
Christophe
- Attachments
-
- Board_4.4.pdf
- Full board schematics
- (59.95 KiB) Downloaded 160 times
Re: Yet another 65C02 SBC
Welcome! A fast clock, lots of RAM, solid state storage, and Fuzix - very impressive indeed!
Re: Yet another 65C02 SBC
Beautifully done!
Welcome. I assume the 4-pin header next to CF disk is the I2C connector? Do you plan to drive graphic display with I2C? The 128x64 OLED display works well with I2C. The larger 128x128 grey level or color OLED display are do-able, but slow. I've also found 30MHz as the upper limit of CF interface.
Bill
Welcome. I assume the 4-pin header next to CF disk is the I2C connector? Do you plan to drive graphic display with I2C? The 128x64 OLED display works well with I2C. The larger 128x128 grey level or color OLED display are do-able, but slow. I've also found 30MHz as the upper limit of CF interface.
Bill
Re: Yet another 65C02 SBC
plasmo wrote:
I assume the 4-pin header next to CF disk is the I2C connector? Do you plan to drive graphic display with I2C? The 128x64 OLED display works well with I2C.
plasmo wrote:
I've also found 30MHz as the upper limit of CF interface.
- floobydust
- Posts: 1394
- Joined: 05 Mar 2013
Re: Yet another 65C02 SBC
Wow, very nice project! Hoping you share more details on the hardware design (MMU, etc.) and your configuration for Fuzix.
Regards, KM
https://github.com/floobydust
https://github.com/floobydust
Re: Yet another 65C02 SBC
Is the FT245 acting as virtual com port or native USB connection?
Re: Yet another 65C02 SBC
tokafondo wrote:
Is the FT245 acting as virtual com port or native USB connection?
Re: Yet another 65C02 SBC
kris92 wrote:
tokafondo wrote:
Is the FT245 acting as virtual com port or native USB connection?
and i agree, if you already use USB for power, then also using it for Serial data seems like a no-brainer, the chips are very easy to program for and even easier to hook up to all the logic required to interface them compared to a regular UART+FT232 combo.
also if you want to experiment with some displays, take a look at some Arduino TFT Shields (320x240)... they are pretty cheap and use an 8 bit Parallel Interface that is easy to connect through a single VIA (D0-7 on one port and RD, WR, RS, CS, RST on the other port). though they are a bit of a pain to initialize they are still very capable screens (kinda a shame the 6502 primer never mentions them, only their Serial cousins)
here a post on reddit where someone connected one of these to the Ben Eater 1MHz 65C02 Computer, so just imagine what you could do at +20MHz!
https://www.reddit.com/r/beneater/comments/ndoncl/
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Yet another 65C02 SBC
Proxy wrote:
also if you want to experiment with some displays, take a look at some Arduino TFT Shields (320x240)... they are pretty cheap and use an 8 bit Parallel Interface that is easy to connect through a single VIA (D0-7 on one port and RD, WR, RS, CS, RST on the other port). though they are a bit of a pain to initialize they are still very capable screens (kinda a shame the 6502 primer never mentions them, only their Serial cousins)
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
Re: Yet another 65C02 SBC
I read the datasheet, and found four control pins besides the data bus.
And that's where I stopped because I can't tell where to connect that control pins in the 6502. In your design I see the FT240 connected to a CPLD.
And that's where I stopped because I can't tell where to connect that control pins in the 6502. In your design I see the FT240 connected to a CPLD.
Re: Yet another 65C02 SBC
I used FT245 the first time a few weeks ago. I like it; it is simple to interface, very very fast, and you can boot from it so a simple computer made of FT245, RAM and 6502 is possible. The FT245 interface is at lower left of the schematic. One thing to watch out is its read strobe is active low, but its write strobe is active high.
Bill
Bill
- Attachments
-
- Prog65_rev0_Experiment_2_sch.pdf
- (35.99 KiB) Downloaded 192 times
Re: Yet another 65C02 SBC
Thank you. I will study this to try to adapt it to something I'm trying to achieve: make the w65c265s work as a '816. And that means not using internal ports at all, but everything external as in usual SBC designs.
Re: Yet another 65C02 SBC
tokafondo wrote:
I read the datasheet, and found four control pins besides the data bus.
And that's where I stopped because I can't tell where to connect that control pins in the 6502. In your design I see the FT240 connected to a CPLD.
And that's where I stopped because I can't tell where to connect that control pins in the 6502. In your design I see the FT240 connected to a CPLD.
Re: Yet another 65C02 SBC
plasmo wrote:
I used FT245 the first time a few weeks ago. I like it; it is simple to interface, very very fast, and you can boot from it so a simple computer made of FT245, RAM and 6502 is possible. The FT245 interface is at lower left of the schematic. One thing to watch out is its read strobe is active low, but its write strobe is active high.
Bill
Bill
Yes, the read strobe cost to me a faulty pcb to a few months ago…
-
boondaburrah
- Posts: 2
- Joined: 06 Oct 2021
Re: Yet another 65C02 SBC
I had to read the FT245R datasheet multiple times regarding the strobe pins. Both are described as taking their action (either putting data from the FIFO onto the bus or taking the contents of the bus and putting them into the FIFO) when the RD# or WR pin transitions from high to low, even though one is technically negative logic and the other positive? In any case, I just hooked it up as if they were !R and !W pins (though I had to OR them with !CS because the chip doesn't have a separate one) and everything works fine. I hooked the other status pins up to the bus over a 74HC245 that I read from some other address to see if the FIFO has data or not. I'm only running at ~3.58MHz so that might be why I'm getting away with it.
A simple XMODEM receiver in ROM and I was off to the races
A simple XMODEM receiver in ROM and I was off to the races