Hello:
I need some help debugging my Klyball 600D board which I recently finished assembling. I get video out (random characters) but it does not come up with the boot prompt on reset.
I tried to eliminate all the obvious issues: power supply, wrong chips inserted, solder open or shorts, etc. The CPU has been swapped with a
known good chip.
To debug it I programmed a monitor ROM to just have the reset and interrupt vectors jump to the start of the ROM, read a few memory locations in each ROM and RAM chip and the keyboard and ACIA, and then loop back and repeat. It doesn't require any RAM to run.
It runs instructions, but not consistently. I think it is not reliably reading the ROM. After reset I see the EPROM selected and the reset vector addresses FFFC and FFFD read.
As I understand it, when reading from the EPROM, the steps are:
- CPU puts the address on the bus (e.g F800).
- MCS/ goes low.
- When 02/ also goes low, the EPROM pins 18 and 20 go low and the EPROM is enabled.
- After the access time (e.g 450 nS), the EPROM puts the data on the bus.
- When 02 goes high, the CPU reads the data.
Below is a screen shot from a digital scope. The traces from top to bottom are RES/ (CPU pin 40), 02 (CPU pin 39), the EPROM CS2 (U13 pin 18), and data line D0 (CPU pin33).
I'm not certain, but the data from the EPROM seems to change around the same time that 02 goes high when the CPU reads it.
Is the speed of the EPROM critical? I've tried several 450 nS 2716 EPROMs. I've also tried some 2816 EEPROMs which are 250 nS.
Do these signals look correct? Anything I should look at and report here?
Debugging Klyball 600D
-
- Posts: 72
- Joined: Mon Nov 23, 2015 12:57 pm
Re: Debugging Klyball 600D
Jeff -
Mine works fine with 450ns 2716's.
Wasn't there an early revision of the Klyball 600d that needed a few patches??
- Gary
Mine works fine with 450ns 2716's.
Wasn't there an early revision of the Klyball 600d that needed a few patches??
- Gary
- jefftranter
- Posts: 15
- Joined: Sun Dec 29, 2019 7:32 pm
Re: Debugging Klyball 600D
The PCBs came from Grant Klyball last month and as far as I know there are no mods or jumpers needed. I do know about the "shorting plug" connections on J3. I've fully populated the board with ICs, even the optional ones. I don't think that should cause any issues.
- jefftranter
- Posts: 15
- Joined: Sun Dec 29, 2019 7:32 pm
Re: Debugging Klyball 600D
After reading up on the 6502 a bit more, the timing is not quite as I described. I'll do some more investigation and see what else can find out.
-
- Posts: 217
- Joined: Tue Jul 08, 2014 4:03 pm
- Location: Canada
Re: Debugging Klyball 600D
450ns EPROMs? The slowest I've been able to find for some time are 200ns. In any case, If we are looking at timing issues it might be a good idea to use a cursor to show the specific pulse relationships. From what I can see in what you posted, things seem to look OK. BTW, what did you trigger on? The trigger point looks as though it's off screen.
One thing I see that looks weird is the data bus floating at about 2.2V towards the right of the screen.
One thing I see that looks weird is the data bus floating at about 2.2V towards the right of the screen.
Box stock Superboard II Rev. B
KLyball replica 600D, replica 610 & KLyball Data Separator
OMS SBME and SBME+ memory cards
OMS Digi-Mule expansion bus
KLyball memory card
KLyball replica 600D, replica 610 & KLyball Data Separator
OMS SBME and SBME+ memory cards
OMS Digi-Mule expansion bus
KLyball memory card
- jefftranter
- Posts: 15
- Joined: Sun Dec 29, 2019 7:32 pm
Re: Debugging Klyball 600D
I found a short between two data lines. I have to track down where it is on the board, but I'm confident that is the problem.
- jefftranter
- Posts: 15
- Joined: Sun Dec 29, 2019 7:32 pm
Re: Debugging Klyball 600D
It's up and running! I had a couple of shorts I missed during testing.
-
- Posts: 237
- Joined: Tue Dec 09, 2014 12:53 am
Re: Debugging Klyball 600D
Very Nice Looking , Great work and have fun
Replica 600 Rev D:8K,CEGMON
Replica 610 Rev B: 24k,MPI B-51 with Custom Data separator D-13
510 on the bench/replica 582 backplane/replica 470a /replica 555/original 570B/2 x Shugart 851
Ongoing : 630 ,620 ,510,542c,custom 590,SA1200,592,594,596,598
Replica 610 Rev B: 24k,MPI B-51 with Custom Data separator D-13
510 on the bench/replica 582 backplane/replica 470a /replica 555/original 570B/2 x Shugart 851
Ongoing : 630 ,620 ,510,542c,custom 590,SA1200,592,594,596,598
-
- Site Admin
- Posts: 726
- Joined: Tue Sep 09, 2008 5:24 am
Re: Debugging Klyball 600D
Very nice!