Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Richard Erlacher
12/01/12 11:28
Read: 1030 times
Denver, Co
USA


 
#188935 - Yes ... the underlying issue is the flash ...
Responding to: Daniel Contarino's previous message
And what fascinates me is that the issue keeps arising, regardless of the steps people take, though often so seldom they're convinced it's "cured."

Do you have a logic analyzer with enough channels to capture all the pins on the MCU? If so, a "picture" of what happens when you touch the crystal, which action, BTW, may not always cause the flash corruption that you suspect, might shed light on what's really going on.

I've long suspected that there's something in the common architecture that permits the core to run on internally during active RESET when power is out of spec. Now, that may not be the case with your experience, but it would be good to know what RESET, among other signals, are doing during this "blessed event."

My own experience with 805x "RESET issues" began with an MCU using external program store consisting of a BBRAM, and I was able to recreate the event from time to time, but not consistently. There was a "supervisor" chip in the circuit and when it triggered its RESET output probably due to decaying Vcc, it became noticeable that addresses and nRD, nWR, and nPS were occasionally active despite the active presence of RESET. I found that this occurred with old Intel parts, old AMD parts, and newer Maxim/Dallas and Philips parts, as those were what I had on hand, actually, on the work surface.

Not everyone believes that placing a "supervisor? IC in the circuit is a solid fix for the resulting program-store corruption, though most of those you'd be likely to hear from are persuaded that that is a solution to the problem. The consensus is, however, that all that's needed when you have flash corruption is a supervisor that watches the level of Vcc. I am not among their number, however, though I've had little recent opportunity to pursue this matter.

If you can capture, even with your oscilloscope, a picture of the behavior of RESET and Vcc when this sort of thing occurs, it might shed light on the matter. I don't know how much your finger might have loaded the Vcc line. Maybe the flash corruption is something as simple as forcing an accidental brownout.

It's always good to know what sorts of things will cause your system to "break".

RE


List of 33 messages in thread
TopicAuthorDate
C8051F231 experiences      Daniel Contarino      11/30/12 14:43      
   another solution      Erik Malund      11/30/12 15:11      
   The probabilities are low...      Daniel Contarino      11/30/12 18:34      
      think about what happens when you add a finger      Richard Erlacher      11/30/12 22:55      
         The point is ...      Daniel Contarino      12/01/12 03:08      
            Yes ... the underlying issue is the flash ...       Richard Erlacher      12/01/12 11:28      
               Out of my office, but...      Daniel Contarino      12/01/12 14:05      
                  Don't think in Vcc, ESD or hum...      Daniel Contarino      12/02/12 09:24      
   Apparently several C8051F2xx parts have the same pinout      Richard Erlacher      12/01/12 14:25      
   Characteristic for in system programmable flash micros...      Kai Klaas      12/01/12 18:25      
      All too true ... sadly ...       Richard Erlacher      12/01/12 20:13      
         Power-on slope rate...      Kai Klaas      12/02/12 05:31      
            Sorry, my post should be here, no up there...      Daniel Contarino      12/02/12 09:58      
            Have you any basis for that rate?      Richard Erlacher      12/02/12 10:15      
               Vdd ramp time      Maarten Brock      12/03/12 06:15      
               Some datasheets show numbers...      Kai Klaas      12/03/12 07:05      
                  Those aren't the "usual" 805x-core MCU's      Richard Erlacher      12/03/12 17:43      
                     There aren't many "usual" 8051-cores anymore...      Kai Klaas      12/03/12 18:13      
                        How dangerous power ups can be...      Kai Klaas      12/04/12 06:20      
                           I believe it      Richard Erlacher      12/04/12 08:59      
                              (dV/dt) examples      Jim Granville      12/04/12 13:14      
                                 They don't know it either...      Kai Klaas      12/04/12 18:49      
                                    dV/dT etc       Jim Granville      12/04/12 21:39      
                                       reset request...      Kai Klaas      12/05/12 06:21      
                                          That's what disturbs me greatly      Richard Erlacher      12/06/12 00:19      
                                             It IS disturbing!      Kai Klaas      12/06/12 08:02      
                                                Where this began ... at least for me ...       Richard Erlacher      12/06/12 09:43      
                                                   So, you took the hard road...      Kai Klaas      12/06/12 10:41      
                                                      We've all had that experience       Richard Erlacher      12/06/12 16:23      
   probable cause      Brent Wilson      02/04/13 20:32      
      Brent, this is very nice      Erik Malund      02/05/13 06:38      
         forum no longer down      Maarten Brock      02/05/13 07:33      
      Thank you!      Daniel Contarino      02/05/13 15:04      

Back to Subject List