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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/20/09 18:29
Read: times


 
#170992 - You should learn how to spell those words you like
Responding to: ???'s previous message
Erik Malund said:
Now, I don't deny that RESET problems exist. I am, however, disappointed that, among all the talented engineers who frequent this site, not one has tracked down their "RESET problem" to something related to RESET. Instead, they simply add a component or two and go on their merry way.

For the umpteenth time I tell you that I have "tracked down my "RESET problem" to something

"Something" is not "tracked down." What is the "something"? Which signals were out of specified limits? How are they related to 805x RESET function?

related to RESET". In those discussions you also keep babbeling

that's not how it's spelled! Look it up!

about power UP, which, to my reasoning,

or, possibly, lack thereof. The principal complaint about the RESET issue when I took an interest in it, years ago, was that there were related oscillator startup problems. I don't know how this tied in to the RESET discussion, but if Vcc rises slowly, and RESET relies on Vcc, what do YOU think happens to RESET? Likewise, if Vcc rises and falls slowly, how would you mitigate the risks? A supervisor doesn't respond quickly to slowly decaying Vcc, no matter how well-regulated it may be. Linear regulators stop regulating at some point. You have to stir that into the mix at some point. Further, switchers don't regulate all that well in the first place, and people are tempted to filter their output with excessive capacitance. That goes into the mix too. Am I barking up the wrong tree? Well, maybe, but I've done some research. I suspect it's more than you've done.

is not a problem.

Every time you post this BULLSHIT, CRAP, IDIOCY, BALONEY I post that with a RC reset you do not have reset active during power DOWN and thus, for a brief period have the uC running outside the spec (of min Vcc). This, probably, will never show up as a problem if there is no possibility of modifying PROGRAM memory, but all (most?) modern chips have the ability to do so (on chip flash)

Erik

With an electronic power switch activated by a push-on/push-off switch (probably with others too) you can control the behavior of Vcc quite precisely and at no more cost than one of the popular supervisors. The difference is that the electronic switch absolutely prevents the usually excessive capacitance on the circuit board, due to inadequate power supply, from slowing the decay of Vcc. If you stop your MCU oscillator, or pull down Vcc within fewer than ten machine cycles, you should have little "RESET problems." If you raise Vcc within a millisecond of adequate available input to your linear regulator, you should have little startup or "RESET trouble." If Vcc has slow rise and fall times, all bets are off. Don't take my word for it, though. Find one of those boards that gave you all that trouble and try driving it with a moderately powerful external linear supply of, say, 20 amperes. Remove all decoupling caps larger than 0.1 microfarads from Vcc-to-Gnd. There's probably only one. If you now have lots of power-to-gnd noise, the large caps' absence isn't the cause. I'll bet you can't find any RESET problems with that setup.

You once described a problem with a board that the customer complained required power be cycled twice before it would operate properly. That's typical of exactly what I'm addressing. What happens is that an ultra-weak supply, often a switcher, can't drive the on-board Vcc rail up fast enough to give the on-chip oscillator a "kick-start." It also holds the Vcc up when powered down, and if it's powered up again within a short time, it is high enough to allow the oscillator to start because there's already plenty of charge in the big cap's, but less than enough to run the oscillator. I can't guarantee that this is what was going on in your case, but I'll be you didn't check for that.

Unfortunately, that risky voltage interval lies between the specified limits of the MCU and the trip point of the typical supervisor. I've done a little experimentation and found that the circuitry doesn't mind if you take down Vcc to below 0.25 volts within a microsecond of the first bounce on the power-down switch or drop below specified Vcc.

I've also observed run-on of the MCU during active RESET when the supervisor drove RESET after the MCU Vcc was out-of-spec.

I'm not sure what the problem is, but it's certainly not just RESET. I think it's all more dependent on power supply behavior. I've had code-space corruption occur with a power supply that decays slowly, but not with one that decays quickly (< 10 microseconds). This, of course, has to be done with a switch or with something a bit more sophisticated.

I once fiddled with all this stuff when it was convenient to do so, but, since MCU makers don't care, I don't see why I should expend time, resources, and effort on it. After all, you guys don't mind just sticking a finger to the wind and using whatever add-ons the industry salesmen recommend. I don't have RESET problems because, in new designs for my clients, I don't use MCU's that reference RESET to Vcc. If I have an old design that uses an 805x MCU, I control Vcc with an electronic switch. RC reset works just fine under those conditions.

RE






List of 77 messages in thread
TopicAuthorDate
a simple 89s52 based led circuit on the breadboard            01/01/70 00:00      
   22uF?            01/01/70 00:00      
      He's probably wondering what GNG is            01/01/70 00:00      
         Yep, I also wonder.... Already edited!            01/01/70 00:00      
      yes my bad, its 22pf not uf            01/01/70 00:00      
         Lots of nice info in datasheets and application notes            01/01/70 00:00      
         your problem identified            01/01/70 00:00      
         Yes...            01/01/70 00:00      
   I see no decoupling            01/01/70 00:00      
   Some hints...            01/01/70 00:00      
   similar problems when i was an infant enthusiast            01/01/70 00:00      
      NO!            01/01/70 00:00      
         a simpler solution            01/01/70 00:00      
            Of course...            01/01/70 00:00      
   Will post results in a week or soo            01/01/70 00:00      
      Maybe it is your program            01/01/70 00:00      
         How would that happen?            01/01/70 00:00      
            wandering into Enchanted Forest            01/01/70 00:00      
               about those test spec's            01/01/70 00:00      
                  Thorough testing? Often an illussion!            01/01/70 00:00      
                     testing is an illusion            01/01/70 00:00      
                        Agreed, with caveats            01/01/70 00:00      
                           Still same problem - no problem seen doesn't prove anything            01/01/70 00:00      
                              I've been saying that for years ...            01/01/70 00:00      
                                 for the umpteenth time            01/01/70 00:00      
                                    You should learn how to spell those words you like            01/01/70 00:00      
                                       I quoted you            01/01/70 00:00      
                                          Yes, but you "tracked down" nothing!            01/01/70 00:00      
                                             I recall the previous occasions ...            01/01/70 00:00      
                                                Focus on the circumstances            01/01/70 00:00      
                                                   'investigation' vs 'reasoning'            01/01/70 00:00      
                                                      Reasoning vs. investigation was popular for millenia            01/01/70 00:00      
                                                         Reasoning            01/01/70 00:00      
                                                            Ptolemy and Eratosthenes...            01/01/70 00:00      
                                                               seek to find game: facts, evidence, philisophy            01/01/70 00:00      
                                                                  Reasoning works fine if you don't omit/ignore the evidence            01/01/70 00:00      
                                 I only do what the manufacturer urged me...            01/01/70 00:00      
                                    Yes, Kai, you did that            01/01/70 00:00      
                                       can't you read            01/01/70 00:00      
                                          That's not what you were complaining about!            01/01/70 00:00      
                                       Please read this document...            01/01/70 00:00      
                                           I read that the first time you mentioned it.            01/01/70 00:00      
                  not perfect and never perfectly debugged            01/01/70 00:00      
                     It's the difference between "good" and "good enough"            01/01/70 00:00      
            Not necessary...            01/01/70 00:00      
               Neither way fixes anything.            01/01/70 00:00      
                  it might not be 'harmless'            01/01/70 00:00      
                     Watchdog should be used for anything semicritical            01/01/70 00:00      
                  Of ourse, illjumping must not happen!!!            01/01/70 00:00      
                     What "depending on"?            01/01/70 00:00      
                        Relax, not you...            01/01/70 00:00      
                           What do you use to "pet" the dog?            01/01/70 00:00      
                              hw timer isr för watchdog kick is dangerous            01/01/70 00:00      
                              Different instructions in different parts of the code!            01/01/70 00:00      
                              why use ALE?            01/01/70 00:00      
                                 Why indeed?!            01/01/70 00:00      
                                    The REAL problem lies in what it tells you.            01/01/70 00:00      
                                       please find just one that ...            01/01/70 00:00      
                                          the typical switcher ripple is too much            01/01/70 00:00      
                                             Have you ever observed            01/01/70 00:00      
                                                ... glad you asked that ...            01/01/70 00:00      
                                                   Only you, Richard            01/01/70 00:00      
                                                      that's not what you were asked, Erik!            01/01/70 00:00      
                                                         Nothing much            01/01/70 00:00      
                                                            We can let others conclude what they will            01/01/70 00:00      
                                 because ...            01/01/70 00:00      
                                 It's what the mfg tells us to use ...            01/01/70 00:00      
   Problem solved!            01/01/70 00:00      
      correction            01/01/70 00:00      
      Driving car with closed eyes...            01/01/70 00:00      
         sleep driving            01/01/70 00:00      
            Of course!!!            01/01/70 00:00      
      thanks for WHAT            01/01/70 00:00      
      No ... You only THINK it has been solved.            01/01/70 00:00      
         question for wire wrapping and some clarification            01/01/70 00:00      
            Rectangular pins that cuts into the wire            01/01/70 00:00      
            If you were to adopt this technique ...            01/01/70 00:00      

Back to Subject List