Amidar - Reset Circuit stuck

RGP

Meeter & Greeter
Feedback
5 (100%)
Credits
2,039CR
I have an Amidar PCB which has decided it doesn't want to work anymore. Switching it on boots to garbage on the screen - not even the cross-hatch.

I've printed the schematics out and had a poke at the obvious places first - i've got voltage to the CPU for a starter and the clock signal is good to it so next up is to look at the reset line usually.

I noticed on the probe it was stuck low - as this is only my first few boards my experience is usually if the reset line is toggling then the watchdog circuit is trying to reset the CPU but in this case its not so my assumptions are that the problem is before the CPU, not after.

amidar-reset.png


Schematics are here

So, /RESET for the Z80 is given by pin 10 of 4D, we need this to go HI in order for the CPU to come out of reset.

Being an amateur I reckoned as the signal wasn't changing i'd see what would happen if it went HI so I connected pin 10 of 4D to a HI signal (the +5v of the IC) - bingo the game comes out of reset and works.

So that proves that there's nothing wrong on the other side of the CPU, its all on the reset circuit.

Now, powering off and back on it doesn't work and you get some strangeness as the reset of the board isn't ready for the CPU immediately so I disconnect the cable, reset, re-connect and the game starts.

Working my way back I look at pins 8 and 9 of this IC, i've heard that LS393's can go duff so I take a look there first.

Pin 12 is LO constantly and checking the 5C its getting the right signal, pin 13 is high constantly from /VBLANK and so the 393 is counting constantly - I don't understand this chip so what i'm seeing come off pin 8 (QD) is a hi/lo signal in a constant timing. Consulting the TTL databook suggests this chip is running properly.

So I work back to pin 8 of 4D which comes from pin 6 of 5C, the LS00 is a NAND gate - pins 4 and 5 which are part of this gate are both HI so the output at pin 6 is correct and LO.

This is where i'm stuck, all the IC's check out so something isn't right coming towards pin 4/5 of 5C - arggh, we're into discrete components now.

I don't understand how this part of the circuit works, what i'm guessing is that I need one of those transistors to not be closed so that the inputs at pins 4,5 of 5C are LO meaning I get a HI out on pin 6 which will then pass along the chain to the RESET pin and make it come live normally.

The 10K, 1K and 470ohm resistors all check fine, the diode 1001 and 1S1588 both check fine.

I "think" the problem is the 2SC2320 transistor, my scope doesn't look right for its activity at the base as it looks like its oscillating - only very slightly.

Looking at the circuit, at power on i'd expect this gate to be closed and then open up later, with it closed, the other components after it are all pulled HI - or is this where i'm reading it wrong.

Any explanation of what should happen around these components will help.

Thanks
smiley4.gif
 

Muppz

Active member
Feedback
6 (100%)
Credits
362CR
My first port of call would be on the 10uF cap, that's the 'timing' cap for the reset circuit. The 10K charges the cap over a period of a few mS. The diode in parallel with the resistor discharges the cap when you power off. So look to see if you have low ohms across the cap.

Muppz
 

Equites

Chief Sheesher®
vacBacker
Feedback
35 (100%)
Credits
3,332CR
Muppz said:
My first port of call would be on the 10uF cap, that's the 'timing' cap for the reset circuit. The 10K charges the cap over a period of a few mS. The diode in parallel with the resistor discharges the cap when you power off. So look to see if you have low ohms across the cap.

Muppz

I'd second that, I had the exact same problem with a Terra Cresta, it was the cap in the reset circuit which had shorted.

It was a 68K though and not Z80, which are a bit more awkward because the Reset pin must stay low for a longer period than a Z80 before going high, otherwise the CPU never initialises properly.

Equites2014-05-27 13:31:40
 

RGP

Meeter & Greeter
Feedback
5 (100%)
Credits
2,039CR
Continuing the investigation.... the 10uf/16v seemed ok, in circuit its reading was 9.7kOhm - this was identical to the value of the 10k resistor adjacent to it, I didn't like the look of the cap so pulled it and measured it out of circuit, it wasn't exceptionally bad with an ESR of 1.67ohm but I decided since it was out and was 30+ years old, a replacement wasn't out of the ordinary.

Next I looked at the 220uf/10v at the start of the reset chain this had a very low ESR of 0.01ohm, capacitance read at 240uf - within its margin - again, didn't like the look of the cap after 30 years so replaced anyway so it now has 2 brand new caps - no problem with that.

Game still stays stuck in garbage pre-reset.

I figure i'm still looking at the transistors then.

I looked at the 2SA697 next to the 220uf/10v and at the emitter there's 4.02v as you'd expect, at the base there's 4.55v, but on the collector, leading down to the 1K there's only 1.16v - I would have thought that i'd see a bit more coming through there.

The 4D is an LS02 just for reference

RGP2014-05-28 01:12:34
 

guddler

Busting vectors like it's 1982!
vacBacker
Feedback
10 (100%)
Credits
4,058CR
Regarding the transistor, have you pulled it and testing it out of circuit? As far as I know, it's the only way to know for sure if a transistor is good or bad.
 

RGP

Meeter & Greeter
Feedback
5 (100%)
Credits
2,039CR
No but i'm happy to and give it to my atlas to play with
smiley1.gif
i'm not suspicious of solder joints all look good.

just wreaks to me of that junction not closing properly especially at that base voltage, I haven't looked at the darasheet yet so with it being a PNP there could be something i'm not fully understanding.
 

Muppz

Active member
Feedback
6 (100%)
Credits
362CR
Hmm, seems that the 2SA697 should be turned off at that point as Vbase is higher than Vemitter, the transistor may be leaky. Pull one end of the 1k and see if the reset works as the whole transistor bit seems a bit superfluous to me.
 

RGP

Meeter & Greeter
Feedback
5 (100%)
Credits
2,039CR
Muppz said:
Hmm, seems that the 2SA697 should be turned off at that point as Vbase is higher than Vemitter, the transistor may be leaky. Pull one end of the 1k and see if the reset works as the whole transistor bit seems a bit superfluous to me.

This is the bit that I didn't fully understand about the PNP vs NPN.

Lifted one end of the 1K and ....



Out of reset and working like a charm.

(Note the use of the old-school floppy cable with an A and a B drive on it to allow the board to be laid flat)

I did have a scary moment, graphics were corrupted, d'oh! i'm thinking get near the end of one problem and come up against another - arrrgh....

... turned out to be the solder wire off the reel had gotten under the far end of the board causing some ram to short.

So, is there a good modern substitute for the 2SA or are they readily available. I have a spare Amidar board doing similar stuff so might be good to get a couple in just in case.
 

Muppz

Active member
Feedback
6 (100%)
Credits
362CR
a quick google seems to say an NTE290A should do it but I haven't done an indepth comparison but then again its only acting as a switch so as long as the pinout is ok it should be fine.
 

RGP

Meeter & Greeter
Feedback
5 (100%)
Credits
2,039CR
Thanks very much Muppz, i'm guessing then that any PNP with a roughly equivalent gain and voltage characteristics above 5v should do the trick in this situation.

Just done a quick search around for NTE290 and NTE289, which seem to come either from USA or Greece and are >£2 each, according to one of the alltransistors.com another equivalent is a BC327-025 which has the same characteristics and is about 16p each.

I'll order a few to add to my growing collection of oddball transistors.
smiley4.gif


I did lift out the 2SA afterwards and it reckoned of course using a standard DMM that the transistor junctions were consistent with a non-shorted transistor.

I will find the DCA55 later and see what it says. I'm determined to crack transistors - thinking about it, when I checked on the scope, if i'd remembered how PNP's worked I would have likely figured this out as you rightly said, the transistor should be off whereas I found voltage at the collector.
 

Muppz

Active member
Feedback
6 (100%)
Credits
362CR
RGP said:
Thanks very much Muppz, i'm guessing then that any PNP with a roughly equivalent gain and voltage characteristics above 5v should do the trick in this situation.

No worries, as its not being used an amplifier you could probably get away with any common or garden pnp that meets the voltage specs as it has no bias just drive, gain won't really be coming into it.

Muppz2014-05-29 14:22:46
 

RGP

Meeter & Greeter
Feedback
5 (100%)
Credits
2,039CR
Had transistors arrive, only problem was that the pinout was different from the 2SA/2SC so i've had to carefully re-arrange the pins for now and ordered some BC638/639's which are also comparable and in the right pin config to drop in.

I try to do videos of these repairs for my own reference so my explanation of what the actual fault was may not be quite right.

[tube]9lxz4KN4K2E[/tube]

I did find that the issue was also dry-joints around the 4D chip too as when I was pressing the probe against pin 8 the game came out of reset with the 1K resoldered in place.

But the PNP did look a bit dodgy on my Atlas tester so a few combination issues in the end.

Thanks Muppz, Equites and Guddler for the help on this.
 

guddler

Busting vectors like it's 1982!
vacBacker
Feedback
10 (100%)
Credits
4,058CR
Glad you got it sorted, I'd have just put some heat shrink on the legs and swapped them over if it was me. I wouldn't read too much into the dry joint / logic probe thing. Sometimes touching pins with logic probes, fluke probes or scope probes can do that so it probably wasn't really a dry joint. I don't know the technical reason but it's like the probe acts as a pull up/down.
 

Muppz

Active member
Feedback
6 (100%)
Credits
362CR
Glad its working, I need to get me another amidar at some point its a great game.

As guddler says probes can cause all sorts of funnies, I worked on a board last week where I could clock a counter if I put the probe on the clock pin, possibly a capacitance thing, I don't really know.

Muppz2014-06-09 21:36:28
 

RGP

Meeter & Greeter
Feedback
5 (100%)
Credits
2,039CR
I know i'm decades late in learning but the more I get involved with this side of the scene, the more it fascinates me and these little quirks make me want to delve deeper.

I have a battlezone aux board which i cannot find a single bad chip on at the moment, i'm having to trace each pin in the schematic as the only thing left is connectivity issues between them. I've exhausted all the scientific methods so far.
 

guddler

Busting vectors like it's 1982!
vacBacker
Feedback
10 (100%)
Credits
4,058CR
Look up signature analysis for battle zone aux boards. It's all detailed in the schematics and can be done with an HP signature analyser, doesn't need a CAT box (or a Fluke 9100 but I know you don't have one of them). I'm pretty sure you could make a signature analyser out of something like an Arduino as well but I don't even want to go there or before i know it, that will be another month of my life gone
smiley36.gif


[EDIT] Probably not an arduino, actually due to the requirement to sample on an external clock, but I'm sure you could create one out of something modern...
guddler2014-06-09 23:37:37
 

guddler

Busting vectors like it's 1982!
vacBacker
Feedback
10 (100%)
Credits
4,058CR
I have bucket loads of BZ PCBs to fix and I just found myself musing over building a modern signature analyser. I do have a bit of a drive over the last year or so to miniaturise as much of my test kit as possible but I have to force myself and say no in this instance. I've got a damn HP5004 signature analyser on the shelf that works perfectly well enough
smiley36.gif


I do like building projects though.
 
Top