Problem with free-running 65C02...
Posted: Sat May 13, 2017 11:35 pm
So, I have a little 65C02 soldered up on a protoboard.
I am using the address decoding from the primer (16K RAM, 32K ROM).
Here: http://wilsonminesco.com/6502primer/addr_decoding.html

Next, I loaded my ROM with 32K of $EA.
I then have a frequency generator outputting a 1KHz square wave on PHI2.
The wave appears to be perfect going into the CPU.
The data bus shows the correct $EA values on each pin.
However, every pin on the address bus is 5V. All of them. The scope shows no oscillation on the address pins. I would have thought A0 would have shown a square wave of 250 Hz.
Now, the weird part is PHI1O (pin 3) of the CPU is a flat 5V (no oscillation) and PHI2O (pin 39) is a flat 0V (no oscillation).
It's like the CPU isn't running at all.
I have 3.3K pull-ups on: RDY, IRQ, NMI, RESET, SOB and BE.
I have a pretty good reset switch tied between RESET and GND.
The scope shows 5V on the RESET line and when I press the button it has a nice drop to GND. So reset should be good.
Any idea what I'm missing? I've checked the pins with my multimeter and they all appear to be correct.
What would cause the CPU to not step through?
Thanks.
I am using the address decoding from the primer (16K RAM, 32K ROM).
Here: http://wilsonminesco.com/6502primer/addr_decoding.html

Next, I loaded my ROM with 32K of $EA.
I then have a frequency generator outputting a 1KHz square wave on PHI2.
The wave appears to be perfect going into the CPU.
The data bus shows the correct $EA values on each pin.
However, every pin on the address bus is 5V. All of them. The scope shows no oscillation on the address pins. I would have thought A0 would have shown a square wave of 250 Hz.
Now, the weird part is PHI1O (pin 3) of the CPU is a flat 5V (no oscillation) and PHI2O (pin 39) is a flat 0V (no oscillation).
It's like the CPU isn't running at all.
I have 3.3K pull-ups on: RDY, IRQ, NMI, RESET, SOB and BE.
I have a pretty good reset switch tied between RESET and GND.
The scope shows 5V on the RESET line and when I press the button it has a nice drop to GND. So reset should be good.
Any idea what I'm missing? I've checked the pins with my multimeter and they all appear to be correct.
What would cause the CPU to not step through?
Thanks.