Odd SX failure...
peterj
Posts: 24
I haven't been playing with the SX recently, but one of my breadboards has been running a little LED sequencer for the past few months -- just as a little curiosity sitting on my desk. When I sat down this morning it was "stuck" with just one LED lit. I hit reset pin and a few LEDs flickered. It it it again and then everything went blank. Additional power cyclings, resets, and wiggling of components all had no effect.
Then I decided to try to re-program it, and after doing so it is working just fine again.
Any ideas as to what might have happened here?
-p.
Then I decided to try to re-program it, and after doing so it is working just fine again.
Any ideas as to what might have happened here?
-p.
Comments
·· Is this being powered by battery or Wall supply?· The only time I have ever had a system lock up was when there was a brownout in the power that day.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
It is quite rare for this to happen, but clearly not impossible. It can be attributed to any number of possibilities, including alpha particles, and once it happens, there is no history log to track the occurrence of events.
It is for reasons like this why the designers included a watchdog timer; and I presume that for your little curiosity program you had not activated that. If you had, then I would become quite concerned.
Peter (pjv)
While I can understand the SX locking up as a result of power glitch, it should recover from a reset, or at the very worst case by power-cycling. This I would completely understand. It was the fact that the program area alone seems to have gotten trashed that has me concerned. And after a re-programming, it seems to be working just fine.
-p.
·· It's entirely possible that something similar happened to you, except that maybe an option fuse or memory locations were affected.· Perhaps the oscillator?· Which reminds me, were you using the internal osc?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
I know it is too late this time but in case you come across the same effect in the future, it might be an idea to use the SX-Key "Run - Device" option, and then do a verify before re-programming the chip. This might tell you if and what data has changed in the EEPROM.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G