Do I have a faulty 65C02?
-
adrianhudson
- Posts: 169
- Joined: 30 Apr 2022
- Location: Devon. UK
- Contact:
Re: Do I have a faulty 65C02?
I thought I would build a simple NOP tester thingy. I want to prove to myself that I don't have a faulty 65C02.
I decided to forget the LEDs and use my (not very good) 'scope
I expected a square wave on the address lines doubling in wavelength as I work up through the address lines A0-A15.
I further expected A0 to be twice the clock frequency.
I indeed got exactly that - that's good
-but-
Can anyone explain the glitches in voltage in the address lines that go in time with the clock? (Address lines are yellow, clock blue)
Also, why is there a double trace on the Low part of the address?
This is A0 and this is A1 Edit: I forgot to say, the whole idea of the NOP tester was to look for oddities with IRQs. You may remember from above that one of the things I seem to be encountering are spurious (and lots of) interrupts, even though IRQ pin is tied high. With the NOP tester I should get a nice sequence of binary count on the address pins, if this sequence suddenly goes out of sequence that tells me there are spurious interrupts happening. If it counts nice and sequentially then that proves there aren't interrupts happening. Further, the 6502 is out of my main circut, further removing uncertainties.
I expected a square wave on the address lines doubling in wavelength as I work up through the address lines A0-A15.
I further expected A0 to be twice the clock frequency.
I indeed got exactly that - that's good
-but-
Can anyone explain the glitches in voltage in the address lines that go in time with the clock? (Address lines are yellow, clock blue)
Also, why is there a double trace on the Low part of the address?
This is A0 and this is A1 Edit: I forgot to say, the whole idea of the NOP tester was to look for oddities with IRQs. You may remember from above that one of the things I seem to be encountering are spurious (and lots of) interrupts, even though IRQ pin is tied high. With the NOP tester I should get a nice sequence of binary count on the address pins, if this sequence suddenly goes out of sequence that tells me there are spurious interrupts happening. If it counts nice and sequentially then that proves there aren't interrupts happening. Further, the 6502 is out of my main circut, further removing uncertainties.
Re: Do I have a faulty 65C02?
If an interrupt were taken, you'd see three consecutive writes - you should be able to see that clearly on the RnW line.
You have no bypass capacitors, by the look of it, so it's not surprising that each clock edge is causing a bounce seen on other signals.
You have no bypass capacitors, by the look of it, so it's not surprising that each clock edge is causing a bounce seen on other signals.
-
adrianhudson
- Posts: 169
- Joined: 30 Apr 2022
- Location: Devon. UK
- Contact:
Re: Do I have a faulty 65C02?
Ahh, right. Thank you! Simple as that.
I'll look at the R/W line.
I'll look at the R/W line.
- BigDumbDinosaur
- Posts: 9427
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Do I have a faulty 65C02?
As Ed noted, there are no bypass capacitors. Try adding some and see what happens.
x86? We ain't got no x86. We don't NEED no stinking x86!
-
adrianhudson
- Posts: 169
- Joined: 30 Apr 2022
- Location: Devon. UK
- Contact:
Re: Do I have a faulty 65C02?
BigDumbDinosaur wrote:
As Ed noted, there are no bypass capacitors. Try adding some and see what happens.
Re: Do I have a faulty 65C02?
Hi Adrian,
As I was researching my similar problem I came across this:
https://web.archive.org/web/20160410002 ... anding.htm
You might find it helpful.
As I was researching my similar problem I came across this:
https://web.archive.org/web/20160410002 ... anding.htm
You might find it helpful.
"The key is not to let the hardware sense any fear." - Radical Brad
-
adrianhudson
- Posts: 169
- Joined: 30 Apr 2022
- Location: Devon. UK
- Contact:
Re: Do I have a faulty 65C02?
Paganini. Thank you. Very much appreciated.
- BigDumbDinosaur
- Posts: 9427
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Do I have a faulty 65C02?
adrianhudson wrote:
BigDumbDinosaur wrote:
As Ed noted, there are no bypass capacitors. Try adding some and see what happens.
x86? We ain't got no x86. We don't NEED no stinking x86!
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Do I have a faulty 65C02?
adrianhudson wrote:
Garth, I'll be more than happy if I get something working at 1Mhz.
We had a situation in the 1990's at work where we used a particular IC successfully in our products, and then the manufacturer changed the wafer-fab process and increased the slew rate, without notice. Although the operating frequency remained the same, the faster slew rate caused problems that suddenly meant we had a product we couldn't sell until we scrambled to find a solution.
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?
-
adrianhudson
- Posts: 169
- Joined: 30 Apr 2022
- Location: Devon. UK
- Contact:
Re: Do I have a faulty 65C02?
It took ages but I rebuilt the SBC on new breadboard over the last couple of days.
Exactly the same result. A seeming lockup of interrrrrrrrrrrupts even with the IRQ and NMI pins tied high.
Today the new 65C02 arrived. Plugged it in and it worked immediately.
So, it indeed was faulty!
Exactly the same result. A seeming lockup of interrrrrrrrrrrupts even with the IRQ and NMI pins tied high.
Today the new 65C02 arrived. Plugged it in and it worked immediately.
So, it indeed was faulty!
- BigDumbDinosaur
- Posts: 9427
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Do I have a faulty 65C02?
adrianhudson wrote:
It took ages but I rebuilt the SBC on new breadboard over the last couple of days.
Exactly the same result. A seeming lockup of interrrrrrrrrrrupts even with the IRQ and NMI pins tied high.
Today the new 65C02 arrived. Plugged it in and it worked immediately.
So, it indeed was faulty!
Exactly the same result. A seeming lockup of interrrrrrrrrrrupts even with the IRQ and NMI pins tied high.
Today the new 65C02 arrived. Plugged it in and it worked immediately.
So, it indeed was faulty!
From where did you get the old 65C02?
x86? We ain't got no x86. We don't NEED no stinking x86!
-
adrianhudson
- Posts: 169
- Joined: 30 Apr 2022
- Location: Devon. UK
- Contact:
Re: Do I have a faulty 65C02?
Mouser UK.
New one is from a good supplier on eBay. Mouser have a minimum order value that means if you buy something for £1, p&p is £29 (minimum orde value of £30).
New one is from a good supplier on eBay. Mouser have a minimum order value that means if you buy something for £1, p&p is £29 (minimum orde value of £30).
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Do I have a faulty 65C02?
I wonder if the new one is a slower one, even if mismarked (as there are so many counterfeits from China's "refurbishing" industry—see the warning about them in the 65xx parts sources topic head post, and the links there). If the earlier one truly was bad (not just too fast for the build), you probably damaged it with static discharge. I have been responsible for possibly millions of ICs at work, all bought from legitimate manufacturers' distributors, and we have never gotten a DOA one AFAIK. All I can think of is one 65c22 from Rockwell many years ago that seemed to have a bondwire that let go after it was subjected to a lot of vibration in the field. Manufacturers' thorough testing and packing makes sure only good ones reach the market. Members here frequently post that they seem to have gotten a bad one; but my experience says you never will as long as you buy from legitimate distributors.
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?
-
adrianhudson
- Posts: 169
- Joined: 30 Apr 2022
- Location: Devon. UK
- Contact:
Re: Do I have a faulty 65C02?
GARTHWILSON wrote:
I wonder if the new one is a slower one, even if mismarked (as there are so many counterfeits from China's "refurbishing" industry—see the warning about them in the 65xx parts sources topic head post, and the links there). If the earlier one truly was bad (not just too fast for the build), you probably damaged it with static discharge. I have been responsible for possibly millions of ICs at work, all bought from legitimate manufacturers' distributors, and we have never gotten a DOA one AFAIK. All I can think of is one 65c22 from Rockwell many years ago that seemed to have a bondwire that let go after it was subjected to a lot of vibration in the field. Manufacturers' thorough testing and packing makes sure only good ones reach the market.
It did work - well, I never had it working well... probably my coding - but it did work. I suspect very much you are correct with the static theory.
Re: Do I have a faulty 65C02?
adrianhudson wrote:
Today the new 65C02 arrived. Plugged it in and it worked immediately.
-- Jeff
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
https://laughtonelectronics.com/Arcana/ ... mmary.html