I've seen eproms program correctly, and then verify without fault...
But as soon as you take them out of the programmer they loose their contents like ram...
Turns out it was a faulty batch...![]()
![]()
![]()
I've seen eproms program correctly, and then verify without fault...
But as soon as you take them out of the programmer they loose their contents like ram...
Turns out it was a faulty batch...![]()
![]()
![]()
The thing about this is that it's been running non-stop without incident for a couple of months so I doubt this was a bad batch. I'm thinking it might have had something to do the storm and the close proximity lightning strike we had or perhaps the fact that most of the pins are left hanging tied to nothing. Maybe there was a build up or something.
Thanks
David
I've seen that happen several times.
Most of my stuff is on Yachts and Oil rigs, so they take a lot of lightning strikes.
Occasionally, a few bit's in both Flash (program memory) and/or EEPROM will get erased (to a 1). Not whole bytes, just random individual bits. Depending on which bits get erased, almost any problem imaginable can happen. Sometimes only one function doesn't work right anymore, other times it's just dead, locked up in a loop somewhere. Sometimes other components are black and crispy, other times all components are fine and only the memory got changed.
Too bad you didn't save the download, a comparison with the original hex could have confirmed the hypothesis.
I originally started out with Basic Stamps, which were a lot worse than PIC's. Their program corrupts if a butterfly farts nearby. And lightning usually takes them out completely.
The PIC's were always fine, just reload and go.
I've tried all kinds of MOV's, and Transient suppressors, and gas discharge tubes, but it still happens. Since a nearby strike normally enters through the "ground" on a boat, there's nowhere to shunt it to. So I stopped using them all together, because they create problems of their own as well.
It's amazing that the lightning strike seems to affect the boat captains memory too. It's not till he finds out that there won't be any repair cost, that he suddenly remembers, oh yeah, it must have been that lightning strike we took. (lightning damage isn't covered by the warranty).
<br>
DT
Darrel, do you have your devices in metal enclosures?
I had similar effects on devices placed in the car parkings and were exposed in the open. But were built in plastics...
I wonder why the other electronics on-board still work, or not?
Ioannis
Nope, they're in a NEMA4 PVC enclosure, although that enclosure is inside a metal frame.
And when they do fess up, I've heard that Radar and navigation were knocked out too, but the radio's still work fine. (but who knows for sure)
<br>
DT
I have had similar problems in machine shops around welders
and plasma cutters. A metal enclosure with a good earth ground
normally helps. Have to add another ground rod a lot of times.
How do you earth ground a boat?![]()
Dave
Always wear safety glasses while programming.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
run it up onto the beach...
Sorry, couldn't resist...
Seawater is conductive (depending on voltage) but also very corrosive...
i think their is a metal (possibly zinc) strip to the bottom of a boats keel...
As for using the anchor, you can't... corrosion on each individual chain loop will cause insulation...
The fun comes when you try to figure out how to earth a plane...![]()
Bookmarks