Strange failure mode - anyone seen anything like this?
Hi All,
I've been away a while working on other things, but got a chance to work on a prop based project recently (museum exhibit). Now this has arrived back on my doorstep because it's broken...! I used a prop protoboard in this design, having a look at it this morning, it will load / verify both RAM and EEPROM no problem - but subsequently doesn't seem to want to do anything at all. Won't even flash an LED. So it's not booting up it seems - I checked things like the reset line and the integrity of the crystal, but all seems to be in order.
Has anyone seen a failure mode like this before by any chance? It might help me figure out what went wrong in the first place.
-CF
I've been away a while working on other things, but got a chance to work on a prop based project recently (museum exhibit). Now this has arrived back on my doorstep because it's broken...! I used a prop protoboard in this design, having a look at it this morning, it will load / verify both RAM and EEPROM no problem - but subsequently doesn't seem to want to do anything at all. Won't even flash an LED. So it's not booting up it seems - I checked things like the reset line and the integrity of the crystal, but all seems to be in order.
Has anyone seen a failure mode like this before by any chance? It might help me figure out what went wrong in the first place.
-CF
Comments
From memory the failure usually comes about because of improper grounding plus switching heavy or inductive loads.
*Peter*
Yep, that looks like the problem. Great..
Well now, I'm quite aware of how ground loops and spikes can cause trouble. This prop controls a set of relays through standard npn transistor drivers; all relays are provided with clamping diodes, of course. The other ports on the prop go to serial ports or are inputs switched by phototransistors. As far as I can see, there's nothing in this design that could cause a problem of this sort, the unit has been operating continuously for about three weeks, yet this has in fact happened! I've been reading around the forum on PLL failure and as you say there's a fair bit of info there.
Obviously I need to look at my design more closely... but I'm still confused
-CF
if only 2 cents worth.(grin)run the relay power on it's own supply link so any load spikes don't kill the prop.
Cheers Dennis
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://people.delphiforums.com/cocokiwi/Image/picture.jpg
The protoboard is just that, it can't take everything into account so some thought needs to go into how the loads are connected and powered. I wouldn't use the +5V for the relays or any non-logic load as the CPU depends upon a clean supply.
Carlos, would you happen to have a diagram or photos of your layout because it would be worthwhile gathering information about these board failures.
Is there an any diagram showing the copper layers on the protoboard, anyone?
*Peter*
Diagrams attached (relevant parts). The processor board is a proto board, I just reproduced the essential parts of the diagram here.
I'm afraid these diagrams may not be too clear as there at first glance does not seem to be any direct way of connecting them. That's because there is a loom which goes from the 25 way plug on the processor board and the 15 way plug on the relay board, and this isn't shown here.
Also, the relay board has a power plug supplying the relays separately. Nothing is supplied directly from the proto board.
I'm thinking that I am going to rebuild this processor board separately using a 40 dip prop, that way I can swap the chip out if it goes bang again.
No they're not, but I'm thinking something similar myself...