6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Nov 01, 2024 12:59 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Sep 07, 2020 2:44 am 
Offline

Joined: Sun Mar 27, 2016 1:48 am
Posts: 11
Aloha! First time troubleshooting a 6502 SBC. I built a RC6502 from a kit I bought online. I have a TL866II Plus, I've used it to test the 138, 04 and 00 ICs. I also made sure the 28C256 contents match what is in the BIN file I pulled down from github. And, I've tested the 6502 in an Apple II Plus. The Aruduino Nano is also working, and it displays "RC6502 Apple 1 Replica" when powered on.

From that point, the TX LED on the Nano is stuck, as the LED stays green. Same thing on the term program end, where the RX is constantly on, and it receives CRs. Resetting both the Nano and the SBC doesn't change anything.

With a logic probe, A12 thru A15 are stuck on HI. I do get pulses on PH0, 1 and 2. RST is HI. It appears to be based on these findings that the CPU is somehow stuck. The photos show the jumper settings. I believe the ROM and RAM are enabled, and A13 and A14 jumpers are set to the 8K window at $0000-$1FFF.

Can anyone pick up on where I may have misconfigured something?


Attachments:
IMG_7294.jpg
IMG_7294.jpg [ 906.37 KiB | Viewed 780 times ]
IMG_7293.jpg
IMG_7293.jpg [ 3.68 MiB | Viewed 780 times ]
IMG_7291.jpg
IMG_7291.jpg [ 2.45 MiB | Viewed 780 times ]
IMG_7290.jpg
IMG_7290.jpg [ 3.18 MiB | Viewed 780 times ]
IMG_7289.jpg
IMG_7289.jpg [ 3.3 MiB | Viewed 780 times ]
IMG_7288.jpg
IMG_7288.jpg [ 3.86 MiB | Viewed 780 times ]
Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 07, 2020 4:01 am 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1385
You've not given us much info... but I managed to locate what appears to be the project:

https://hvetebolle.blogspot.com/2017/08 ... a-sbc.html

Your PCB is a later level than that shown in the link, but hopefully you can verify that the schematic is in fact correct.

Basic troubleshooting:

1- Measure all the chips to make sure they are getting +5 volts and that the grounds for each is also at ground.
2- Make sure the Reset signal is working, i.e., it goes for low for a period of time, then goes high.
3- With power off, make sure none of the address lines are shorted to each other, ditto for the data lines.
4- Check to see of the IRQ or NMI is going low, checl BE to ensure it's at +5V as well.
5- Ensure you have a running 1MHz clock signal.
6- Make sure ALL of the pins are straight and properly inserted into the socket... you might have one that curled under.
7- If all else fails, you'' likely end up metering the PCB to ensure all of the signals are correctly routed and have continuity without any shorts.

Then again, it's always possible that you have a bad chip on the board or the Arduino isn't correctly setup.

_________________
Regards, KM
https://github.com/floobydust


Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 07, 2020 8:28 am 
Offline

Joined: Sun Mar 27, 2016 1:48 am
Posts: 11
floobydust wrote:
1- Measure all the chips to make sure they are getting +5 volts and that the grounds for each is also at ground.
2- Make sure the Reset signal is working, i.e., it goes for low for a period of time, then goes high.
3- With power off, make sure none of the address lines are shorted to each other, ditto for the data lines.
4- Check to see of the IRQ or NMI is going low, checl BE to ensure it's at +5V as well.
5- Ensure you have a running 1MHz clock signal.
6- Make sure ALL of the pins are straight and properly inserted into the socket... you might have one that curled under.
7- If all else fails, you'' likely end up metering the PCB to ensure all of the signals are correctly routed and have continuity without any shorts.


I followed your steps up to #5. For some reason, I was getting funky readings on the scope. So I desoldered X1, installed a DIP socket, and then inserted a different X1. Now everything is working!!!! I didn't imagine an oscillator would be bad right out of the box. Thanks for listing these steps!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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: