Cheap logic analyser.

Lurch666

Active member
Feedback
21 (100%)
Credits
4,517CR
I am getting my butt kicked by an astro fighter rom board.

I have replaced a couple of defective chips and am seeing activity on the roms but the game still refuses to run.

Roms are good,the selects seem to be working and I've checked continuity and connections but the board just won't run.

I have a working rom board for reference but still can't figure out why this one won't work.

So now I'm looking into seeing if the code is being read properly and for that I would need a logic analyser.

Now I have a slice that is a sort of logic analyser and was going to try and make use of that but since the roms are 2708 they have +12V and -5V so a wrong move could break my slice and I don't want that happening.

I was mulling the problem over when my mind went to the first episode of 'halt and catch fire' (the only episode I ever watched) and go to thinking about how they reverse engineered the processor.

So I thought what if I wired up a bunch of LEDs to the address,data and chip select lines of the first eprom I could see the data activity as a set of binary lights.

Of course the big problem is that they would all just be flashing too fast to be any sort of use so I thought that if I could disable to system clock and manually advance it myself then I could see how the address and data was being accessed on that eprom.

I have done a proof of concept by removing the crystal from the CPU board and using a 10K resistor to ground the clock signal on pin 10 of the IC at 6H on the CPU board. I then just have to put +5V to the same pin to give a high clock signal to advance the CPU.

I put an son the A0 and A1 pins of the first eprom and by manually clicking the system I got the expected sequence of LEDs.

I am now going to use some veroboard to make something with LEDs for all the required pins then use pin headers into a 24 pin socket that I can hopefully piggyback onto the eprom I want to test.

If this is successful I can make bigger ones for larger eproms and have a simple way of checking for address and data problems. The only possible problem could be watchdogs but they can be disabled as well.
 

GadgetFreak

Active member
vacBacker
Feedback
7 (100%)
Credits
963CR
Neat solution!
But for bigger roms you will be able to just use Slice
smiley2.gif
as none of them use silly voltages.
I often do this when I am having unexplained issues just to check the main code is executing correctly. I have a board at the moment with a blown surface mount CPU and I can clearly see that it isn't going to the right places to run code.
 

Lurch666

Active member
Feedback
21 (100%)
Credits
4,517CR
The thing with slice is sorting out the extra leads and bigger clip which isn't cheap.

I will upgrade my slice sometime but for now this will do for the 2708s.
 

GadgetFreak

Active member
vacBacker
Feedback
7 (100%)
Credits
963CR
Yes, the clips are not cheap, as you know I buy from WarwickTS.com. I have and use:-
0.3" 16 pin (£15.35 exvat)
0.3" 20 pin (£21.15 exvat)
0.6" 24 pin (£32.10 exvat)
0.3" 28 pin (£32.40 exvat)
0.6" 32 pin (£32.50 exvat)
Using this selection I can pretty much cover all the chips as I use the 28pin narrow for 24 pin devices and I use the 32pin wide for 28 pin devices.
The good thing about Warwick is that if you keep the order under £50 they have a cheap postage option.
 
Top