27C256DC-12 duplication and Atmel 80C32 fault finding

Thread Starter

geoffers

Joined Oct 25, 2010
520
Just following it through ,
From the 74hct139
Pin8 goes to pin 1 oe on both the 74hct573's to the 80c32's right and pin 20 on the eprom.

Pin 4 goes to another 74hct573 Which I think is associated with the motor drive
 

MrChips

Joined Oct 2, 2009
35,022
Just following it through ,
From the 74hct139
Pin8 goes to pin 1 oe on both the 74hct573's to the 80c32's right and pin 20 on the eprom.

Pin 4 goes to another 74hct573 Which I think is associated with the motor drive
Look again.
Pin-8 of 74HCT139 is GND.

1678494315318.png
 

MrChips

Joined Oct 2, 2009
35,022
Scan with the ohmmeter to see if /RD pin-17 of the MCU goes to any of the 74HCT573 and any pin on any other IC (with power OFF, of course).
 

Thread Starter

geoffers

Joined Oct 25, 2010
520
I was concerned it was beer goggles last night but can confirm,
Pin 20 of the eprom and oe on both latches between the 80c32 and the eprom are to ground when power off.

I'll have another check but I can't find pin 17 rd goes anywhere else but oe on the 74hct139
 

Thread Starter

geoffers

Joined Oct 25, 2010
520
The only other place I can find rd is pin 20 of the 'missing' ic d12.

I checked the working board, the same connections are to ground so I guess those latches are just operated using the le pin?
 

Thread Starter

geoffers

Joined Oct 25, 2010
520
As it seems pin 17 is only connected to pin 1 of the 74hct139 might the best test be to snip pin 1?

If the signal returns there's the problem if not it's probably the 80c32?

Cheers Geoff
 

Thread Starter

geoffers

Joined Oct 25, 2010
520
Soggy!
Thanks Eric,
Mr chips debugging is teaching me a lot ! I'd have a mess of solder and burnt varnish by now if was just up to me.
No staff today so not so much time to look at it.
Cheers Geoff
 

MrChips

Joined Oct 2, 2009
35,022
When we have to diagnose a stuck node, one option is to cut PCB traces.

How comfortable are you with cutting PCB traces and having to rejoin them later?
 

MrChips

Joined Oct 2, 2009
35,022
Your best case scenario is a bad 74HCT139.

Snip each pin high up on the 74HCT139 and unsolder the pins one at a time.
Replace with a 16-pin DIP socket and a new 74HCT139.

What desoldering tools do you have?
A solder sucker, solder wick, and flux pen would be handy to have.
 

Thread Starter

geoffers

Joined Oct 25, 2010
520
Yes I'm happy to do that, the only place to get to that track is on the under side of the board, have all the tools and am happy replacing IC.

Will put a dip socket in there.
Hopefully get to it today, haven't got any 74hct139's for sure so will scope rd and let you know.

Thanks Geoff
 

Thread Starter

geoffers

Joined Oct 25, 2010
520
I've snipped pin1 on the 74hct139 and rd remains high, no pulse.

I'll check again for another connection and scope rd on the good board again (laptop went flat!)

I guess this points towards the 80c32?

Thanks Geoff
 

Thread Starter

geoffers

Joined Oct 25, 2010
520
Fortunately the processor I ordered from eBay and was expecting on next Wednesday has come in post this morning!

I guess the last bit of diagnosis to do is cut pin 17/rd and scope the stump before I do anything rash!

Cheers Geoff
 

MrChips

Joined Oct 2, 2009
35,022
After disconnecting the driver of a node (pin-17 of the MCU), you can double check for stuck inputs.
A 10kΩ resistor to GND must be able to pull the node LOW.
The 10kΩ resistor to Vcc must be able to pull the node HIGH.
(Power has to be ON.)
 

Thread Starter

geoffers

Joined Oct 25, 2010
520
Quick update.

I removed the old processor, soldered in a socket got all excited and plugged it in!
It's doing something now but not quite what I'd like.

Seems to the untrained eye (mine) like it's trying to go but is send data to the wrong place.

I took the processor back out the checked the 74hct139, oe can be pulled high or low with a resistor.

I resoldered the socket, still much the same, I'm wondering if the 74hct139 is squiffy so I have some on the way.

The reset led is blinking about every 3 seconds now instead of 1.6 so some code must be running!

Cheers Geoff
 

MrChips

Joined Oct 2, 2009
35,022
With the original MCU, the symptom was /RD was always HIGH.
With the replacement MCU, is there a proper /RD signal as shown in this timing diagram?

1678827159867.png
 

Thread Starter

geoffers

Joined Oct 25, 2010
520
There is a signal , but not as well defined as I expected.
Looks more like a spike to 0v, I'll get some pictures of it later.
Having said that it does look similar to rd on the good board.

Cheers Geoff
 
Top