6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Apr 28, 2024 4:17 pm

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Sat Jan 04, 2020 5:44 pm 
Offline

Joined: Mon Apr 30, 2018 10:12 pm
Posts: 15
Happy New Year Everyone!

Over my 3 days off, I threw down a WDC6502 onto a breadboard. I did a modified 'Ben Eater', where I was driving the clock with a sketch I had written for Arduino Mega 2560. Unfortunately it didn't work, all I got on Address and Data lines was $FF. I don't have a scope, just a cheap TTL/CMOS logic probe. I haven't had time to get back into it, just I do have time while at work to read all these informative posts.

So, in Ben Eater's 6502 build, he doesn't use any pull-ups. When I read the datasheet for the WDC 65C02, I see this on the RDY line.

Quote:
The RDY pin no longer has an active pull up. It is suggested that a pull up resistor be used on this pin when not being used. The RDY pin can still be wire ORed.


I don't see this warning on any other lines, so... to pull-up or to not pull-up (with a resistor).

And what should the value of said resistor be. I see stuff ranges from 330 to 3.3 K.

Help!

Walter


Top
 Profile  
Reply with quote  
PostPosted: Sat Jan 04, 2020 6:30 pm 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1399
Location: Scotland
Use a pull-up on Rdy. Also on the BE, Reset, IRQ and NMI inputs, as well as the Abort pin too (65c816 though). I use 3.3KΩ - works for me.

And welcome!

-Gordon

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


Top
 Profile  
Reply with quote  
PostPosted: Sat Jan 04, 2020 7:28 pm 
Offline

Joined: Mon Apr 30, 2018 10:12 pm
Posts: 15
What are the chances that I fried some silicon?

Thank you

Walter


Top
 Profile  
Reply with quote  
PostPosted: Sat Jan 04, 2020 7:56 pm 
Online
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8428
Location: Southern California
walter.preuninger wrote:
What are the chances that I fried some silicon?

Probably pretty slim; but it's impossible to know without seeing what you did. With CMOS, (or any kind of MOS), you also have to be careful with static-handling precautions while the inputs are accessible to damage with our little mitts. When you reach for the circuit, touch its ground or power before touching any inputs. (You probably already knew that though.)

_________________
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?


Top
 Profile  
Reply with quote  
PostPosted: Sat Jan 04, 2020 8:16 pm 
Offline

Joined: Mon Apr 30, 2018 10:12 pm
Posts: 15
Oh, yeah. I am amazed when I see people in YouTube just handling chips like anything else.

I leave my chips in their anti static bag, or transfer them from a tube and rest them on anti static foam. I handle them by the edges.

I don't think my cpu was getting power. I used jumper wire, but my strippers are cheap, and was just using a pocket knife to remove the insulation. I bought some real breadboard jumpers on Amazon, hopefully they will work better. Going to try something tonight.

Thanks!

Walter


Top
 Profile  
Reply with quote  
PostPosted: Sun Jan 05, 2020 11:55 am 
Offline

Joined: Mon May 21, 2018 8:09 pm
Posts: 1462
The W65C02S has "bus holding devices" on most of its pins. They'll hold an input line at a proper CMOS logic level, as long as the CPU is powered - either VCC or GND. But if you want it to settle at a *particular* logic level, then you have to drive it externally - at minimum with a resistor to the appropriate power rail. For historical reasons, most control signals have their quiescent state as logic high, hence the prevalence of pull-up resistors.


Top
 Profile  
Reply with quote  
PostPosted: Sun Jan 05, 2020 9:41 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8147
Location: Midwestern USA
Chromatix wrote:
The W65C02S has "bus holding devices" on most of its pins.

That is not correct. All inputs to the C02 and 65C816 must be driven to Vcc or ground at all times.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Sun Jan 05, 2020 10:14 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3348
Location: Ontario, Canada
Doh! You're right, BDD. And, unawares, I just cited this incorrect info in another post. :oops:

It's one of WDC's VIAs that has bus hold. On the W65C22S all pins except PHI2 have the bus hold feature. But WDC's W65C22N and their CPU's do not have bus hold.

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 06, 2020 1:12 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8147
Location: Midwestern USA
Dr Jefyll wrote:
Doh! You're right, BDD. And, unawares, I just cited this incorrect info in another post. :oops:

It's one of WDC's VIAs that has bus hold. On the W65C22S all pins except PHI2 have the bus hold feature. But WDC's W65C22N and their CPU's do not have bus hold.

At one time, the 'C02 had a weak pullup on RDY, but that was removed when WDC switched foundries and went to the .6 µm process.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


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: Google [Bot] and 18 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: