Daryl's 6502 SBC help

For discussing the 65xx hardware itself or electronics projects.
User avatar
BigDumbDinosaur
Posts: 9428
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: Daryl's 6502 SBC help

Post by BigDumbDinosaur »

beholder wrote:
Ok! Got my first serial data sent back and forth between my computer and the SBC!!!!!
Hurray!

The bad news... it only works if I have my arduino providing the clock :(
If you want some help with this how about posting a schematic?
x86?  We ain't got no x86.  We don't NEED no stinking x86!
beholder
Posts: 63
Joined: 02 Sep 2015

Re: Daryl's 6502 SBC help

Post by beholder »

Sorry but I don't have a schematic :cry:

My SBC is a copy of Daryl's SBC 2.5 (http://sbc.rictor.org/info2.html) I tried to keep as close as possible.
I wire wrapped/soldered on a protoboard following his schematics.

The only differences from his schematics:
Not using max232, but an FTDI breakout board (https://www.sparkfun.com/products/9716)
Im only using RX & TX

EEPROM only
I have only 1 x 100uFarads electrolytic capacitor on the power supply.

I'll be posting pics soon :)
Thanks!
User avatar
Dr Jefyll
Posts: 3526
Joined: 11 Dec 2009
Location: Ontario, Canada
Contact:

Re: Daryl's 6502 SBC help

Post by Dr Jefyll »

beholder wrote:
Ok! Got my first serial data sent back and forth between my computer and the SBC!!!!!
Hurray!
I bet that feels good. Congrats! :)
Quote:
It's so bizarre, all I have to do is switch the oscillator with the arduino and it works! I can see in my terminal window the word "OK"
At least now I know is something to do with my 1MHz can oscillator.
Is it still the same oscillator with the TTL output? The 74HC541 you're using as a buffer actually isn't appropriate, as its inputs aren't rated to accept TTL levels -- just as the inputs on the 'C02 aren't rated to accept TTL levels. (It's more or less a fluke that the 74HC541 made any improvement. But it's not unusual to see bizarre stuff in circumstances like this.)

Do you have a 74HCT541 -- or some other 74HCT chip -- that you could use as the buffer? 74HCT chips do accept TTL levels at their inputs.

Alternatively, you could try adding a pullup resistor (say 2.2 or 3.3K) from the osc. output to VCC. Better yet, get rid of that darn oscillator and replace it with the proper part! :)

-- Jeff
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
beholder
Posts: 63
Joined: 02 Sep 2015

Re: Daryl's 6502 SBC help

Post by beholder »

Hi Jeff.
Indeed, it was very satisfying when I saw the words "OK" on my monitor :D

I only have the 74hc541, but I'll be ordering a new oscillator today from digikey!
Will try using a resistor, thanks for the tip!
Allmost there! Soon I'll have my own 6502 sbc :twisted:
Thanks
User avatar
cbscpe
Posts: 491
Joined: 13 Oct 2013
Location: Switzerland
Contact:

Re: Daryl's 6502 SBC help

Post by cbscpe »

If it is a problem with the TTL output level a pull up should show if this is the case. A TTL output can sink approx 16mA so if you add a 680-2200Ohm pull up to VCC to the output of your canned oszillator you should see if the level is the issue. The pull up will overwrite the high output level of the oszillator and bring the level at almost VCC level if you have only CMOS inputs connected to PHI2. At the low level the TTL output is strong enough to pull the output to approx 0.5V even with the load of the pull-up
Post Reply