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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/03/07 05:26
Read: times


 
#145280 - Clearly, we see things differently
Responding to: ???'s previous message
Kai Klaas said:
Richard said:
As Lynn Reed once pointed out, the 805x has no RESET, but, rather, has an NMI that's labeled RESET. What guarantees that it executes that NMI correctly once the voltage has fallen out of specifications?

That's only half the story. The original '51 was a dynamically working micro, the clock frequency must not go under a certain limit. The reset also was dynamically working, means worked like a NMI. But today's CMOS clones show a fully static operation.

Well, Lynn Reed wasn't describing the the "original" NMOS parts when he said that, was he? His company, TEKMOS, builds CMOS.

Many even have an asynchronous reset, which immediately resets the port outputs when bringing the RESET pin high, independently of the oscillator and all this dynamically working stuff.

Yes, there are even some with negative reset, which I like a lot better. I've not encountered a datasheet that clearly states that the reset is asynchronous and what it does, though. Where did you encounter that?

So, why shouldn't be there an internal section, which is statically working and which stops all the internal flash code memory changing micro routines, whenever the RESET pin is brought high? A section which later was added, when the micro learned to write to its own flash code memory??

I'd be the last one to say there shouldn't be such a thing. I've seen no indication anywhere, yet, that suggests that there is, however. Logical as it may seem, I have to wonder, "Why do you believe that?"

For me the situation is entirely simple: There's an internal section, which disables all the ISP micro routines, whenever the RESET pin is brought high. This section works statically and behaves as intended up to a certain minimum supply voltage, let's say 2...3V. Down to this level the reset controller must guarantee a stable high at RESET pin,

Yes, if it were so, but then, what is a stabile "high" when Vcc is changing, and where is it generated?

but which is no problem at all. When then the supply voltage further goes down, and this internal section of micro tends to behave improperly, then still nothing bad will happen, because the built-in charge pump is no longer able to generate the burning voltage needed to write a byte into the code memory. That's the way it works in the discrete flash memory chips, so why shouldn't the microcontroller people be able to embed a similar logic to prevent the internal flash code memory of micro from being erroneously written??

My concern is based first on my own observation of "things" happening when Vcc is below 4.5 volts with RESET true, if Vreset a bit below Vcc can be considered a true RESET under those conditions.

Why are you so possessed from the idea, that this micro thing will become entirely chaotic, whenever the supply falls under 4.5V?? That only a forced instantaneous collapse of supply voltage with all its disadvantages will "solve" the "problem"?

As for me being possessed, maybe I am, but I'm much more disturbed by the fact that nobody has traced a "RESET" problem down to any signal sequence that's abnormal to the extent that they can tell about it and indicate why the problem was caused by a RESET fault.

Engineers perform failure mode and effects analyses when things go wrong. They analyze the circuit based on theory and specified conditions, determine what effects each behavioral deviation might cause, and then attempt to show that that set of conditions exists, and, further, that that is what caused the failure. It doesn't appear that anyone has attempted to isolate or verify this "RESET" fault. I find that disappointing.

That the datasheet does not contain information about such an internal section does not need to mean that something like that isn't built-in. Are you really thinking a micro is as simple constructed as the simplicity of datasheet will make you believe? The hell is going on in these beasts, and believe me, the manufacturer have found a way to prevent this damned flash code memory from being eroneously written or changed, if yes, if you only follow the recommendations of the manufacturer and keep this shitty RESET pin high during power-up and power-down.

You might have read this once or even multiple times, but you insist so intensively that ATMEL is a shitty firm, that you will not notice that they have written a plenty of brilliant application notes about this topic, wherein, yes, they recommend you to use a reset chip or circuitry, which, yes, has to guarantee that the reset pin is held high during all undervoltage situations.

Not one manufacturer says that a supervisor is mandatory in order to ensure orderly operation. They hint around the notion that it might be helpful and recommend it in app-notes. I don't say that ATMEL is a "shitty" firm, to use your words, but I do not use their products under any circumstances, unless specifically directed to do so.

The reason I believe that holding RESET=Vcc while Vcc decays won't stop erratic or undesired operation is because of what I've observed, and not because of any conjecture.

Richard, the needed information of how to make a micro successfully work is here, but you must read it and follow the manufacturers' recommendations.

I've read lots of these datasheets, even ATMEL's, and, in fact, that's why I don't use ATMEL products unless I'm forced to do so.

Richard said:
Has even ONE 805x-clone manufacturer stated that you must use a supervisor in order to ensure valid reset?

Yehesssss!!
But I'm tired to show you the link, because 1. you won't read and believe it, and 2. the next discussion you will bring the same statement again, as if we never had discussed these things. I become tired to defend my stand-point again and again and again..

The key word here is MUST. I've seen no datasheet that clearly states that the product will not work reliably without a supervisor. I've seen app-notes that discuss them. I've seen references, in cases where the manufacturer also builds RESET IC's, but, sadly, none of theirs will work with their 805x product.

Richard said:
What? The MAX1232 works at Vcc = 0 volts?.

Not the MAX1232, but the whole scheme, as explained above.

I'm not sure what you mean.

Richard said:
Why do they all still claim that the old 10 uF cap to Vcc and external or internal 8k2 pulldown is all that's needed?

No, not all do that. The datasheet of AT89S52 is free from such claims. But, I forgot, you hate ATMEL and won't ever read this datasheet.


Richard said:
Are you saying that the circuit you've provided will always provide a valid reset, regardless of +5 supply behavior, and the AT89S52 will never corrupt its flash if that circuit is used?

That's my best approach to solve this reset issue. Show me a better if you can and I will adopt it, immediately.


Regards,

Kai


As time allows, I'll be preparing a testbed within which I can observe various parameters during fluctuating Vcc, various rise and fall times, etc.

Then we'll have a long-term test on which to base conclusions. Until such time as I have precise observation data of purported RESET faults, though, I have nothing to test. What that means is that I'll be looking in further detail at that situation with the decaying Vcc with RESET=Vcc, and Vcc decaying below 4.5 volts, resulting in corrupted BBRAM. That will probably lead to some lively discussion.

I don't hate ATMEL ... they're not worth the energy. I just don't use 'em, nor do I suggest them to my clients, thanks to the terrible treatment we got from them when we attempted to do that. Of the two ATMEL products, one CPU and one RF component we thought we were using, neither turned out to be useable.

RE

List of 189 messages in thread
TopicAuthorDate
Reset Accuracy            01/01/70 00:00      
   Read This            01/01/70 00:00      
   throw it away!            01/01/70 00:00      
   That is the nature of RC resets!            01/01/70 00:00      
   Inhereted design            01/01/70 00:00      
   1st Lesson            01/01/70 00:00      
      P.S. Welcome            01/01/70 00:00      
      is IS an iteresting question, isn't it?            01/01/70 00:00      
         more on supervisor            01/01/70 00:00      
            same thing            01/01/70 00:00      
            Extendec ASCII Characters            01/01/70 00:00      
               That's cool Joe            01/01/70 00:00      
               Not ASCII            01/01/70 00:00      
               Beware - Your results may vary            01/01/70 00:00      
         Thoughts on RC Resets            01/01/70 00:00      
            Schmitt leaves problems?            01/01/70 00:00      
               even at startup you can get into trouble            01/01/70 00:00      
                  the decline and f.. naah rise of the \'51            01/01/70 00:00      
                     the lpc9xx is the glaring BAD example...            01/01/70 00:00      
                        it's not about NXP, though I woldn't forgive them            01/01/70 00:00      
                           it's far past that time...            01/01/70 00:00      
                     only partially so            01/01/70 00:00      
            not quite            01/01/70 00:00      
            Lynn ... can you see anything wrong with ...            01/01/70 00:00      
               how about shooting a sparrow with a RPG?            01/01/70 00:00      
                  You've got to ask yourself ...            01/01/70 00:00      
                     Which manufacturers?            01/01/70 00:00      
                        everybody is            01/01/70 00:00      
                           errare humanum est...            01/01/70 00:00      
                        It's up to us to see that they fix it!            01/01/70 00:00      
                  What's the point?            01/01/70 00:00      
                     I do noy 'believe' I KNOW.            01/01/70 00:00      
                        You can't prove a negative ...            01/01/70 00:00      
                           when it's been gone for 100,000 "unit hours"            01/01/70 00:00      
                              correction            01/01/70 00:00      
                                 How do you monitor this?            01/01/70 00:00      
                                    how stupid can you be            01/01/70 00:00      
                                       so YOU really haven't ever looked at any of them?            01/01/70 00:00      
                                          sure I did            01/01/70 00:00      
                                             it's just as I said ... YOU guess and ship ...            01/01/70 00:00      
                                                Same question            01/01/70 00:00      
                                                   You force them in your test fixture            01/01/70 00:00      
                                                that I do not want to do my job is an insult            01/01/70 00:00      
                                                   It's always about your ego, isn't it, Erik?            01/01/70 00:00      
                                                      adding insult to injury            01/01/70 00:00      
         make it opposite            01/01/70 00:00      
            Answer is wrong            01/01/70 00:00      
               No, is not!            01/01/70 00:00      
                  RE: No, is not!            01/01/70 00:00      
                     Oops.            01/01/70 00:00      
                        the "small embedded printf"...            01/01/70 00:00      
                           LED blinking            01/01/70 00:00      
                              LCD init delay            01/01/70 00:00      
            possibly (most likely) incorrect post            01/01/70 00:00      
      supervisor IC            01/01/70 00:00      
   Check reset Schematic and capacitor .            01/01/70 00:00      
      not necessarily            01/01/70 00:00      
   RC time            01/01/70 00:00      
      crystal frequency is a negligible problem            01/01/70 00:00      
      who cares            01/01/70 00:00      
         Not so fast, there, Pilgrim ...            01/01/70 00:00      
            reset toujours            01/01/70 00:00      
               correction            01/01/70 00:00      
                  I didn\'t know this is the price of a bit...            01/01/70 00:00      
                     the origin of the \'bit\'            01/01/70 00:00      
                        Almost but not quite ...            01/01/70 00:00      
                           wasn't that a gold coin?            01/01/70 00:00      
                  So you assert that that's the one that works?            01/01/70 00:00      
               What is this "reset problem" solved by supervisor            01/01/70 00:00      
                  the final effect is on peripherals not the micro            01/01/70 00:00      
                  not, "this" but all            01/01/70 00:00      
                     What did you mean to say, Erik?            01/01/70 00:00      
                        proof? many ways, here is an example            01/01/70 00:00      
                           I don't doubt any of that, but ...            01/01/70 00:00      
                              the skinny            01/01/70 00:00      
                                 just another reset-related story            01/01/70 00:00      
                        true reset-related stories            01/01/70 00:00      
                           Relevance?            01/01/70 00:00      
                              yes, relevance.            01/01/70 00:00      
                                 the second example ...            01/01/70 00:00      
                                    I gave you two SOLID examples            01/01/70 00:00      
                                       I agree with Erik and Jan            01/01/70 00:00      
                                          Start at the end ...            01/01/70 00:00      
                                          I just think you're all fooling yourselves ...            01/01/70 00:00      
                                       Vexing, perhaps. Solid? Not in the least!            01/01/70 00:00      
                                       What\'s so \"solid\" about an anecdote?            01/01/70 00:00      
                                          Who gives a hoot            01/01/70 00:00      
                                    let\'s put it in another way            01/01/70 00:00      
                                       Here\'s what I want from you ...            01/01/70 00:00      
                                          A particular experience            01/01/70 00:00      
                                 Just consider THIS thread ...            01/01/70 00:00      
                                    well, what about this            01/01/70 00:00      
                                       there's a difference between a fake and a fix            01/01/70 00:00      
                                          I believe you are the only one with that opinion            01/01/70 00:00      
                                             So, who has actually tested their product?            01/01/70 00:00      
                                                incoirrecrt            01/01/70 00:00      
                                    my experience with RC reset            01/01/70 00:00      
                                       Invalid conclusion            01/01/70 00:00      
                                          here is YOUR misconception            01/01/70 00:00      
                                             You\'ve got it wrong ...            01/01/70 00:00      
                                                I can recreate this            01/01/70 00:00      
                                                   maybe you can ...            01/01/70 00:00      
      IN1232N            01/01/70 00:00      
         something is wrong            01/01/70 00:00      
         MAX1232 is better!            01/01/70 00:00      
   What do you mean by "erratic and random"?            01/01/70 00:00      
   RE: something is wrong            01/01/70 00:00      
      Would you be please so kind...            01/01/70 00:00      
         RE: Would you be please so kind...            01/01/70 00:00      
            Hhm,...            01/01/70 00:00      
      What\'s the power supply doing at power-on?            01/01/70 00:00      
   8051 Family Reset Function            01/01/70 00:00      
      Power ON reset            01/01/70 00:00      
         defined power on            01/01/70 00:00      
            inadequate power supply            01/01/70 00:00      
               what does that have to do with            01/01/70 00:00      
                  it has everything to do with it.            01/01/70 00:00      
                     Reset            01/01/70 00:00      
                        ... and what does it do as Vcc decays?            01/01/70 00:00      
                           Defence            01/01/70 00:00      
                              You needn't defend the party line ...            01/01/70 00:00      
                                 correct if you are NOT using a supervisor            01/01/70 00:00      
                                    bidir reset, if there is an internal supervisor            01/01/70 00:00      
                                       Oh, that's what 'bidirectional' means here            01/01/70 00:00      
                                          how do you call that property?            01/01/70 00:00      
                                          Maybe that's your RESET problem!            01/01/70 00:00      
                                             i do not            01/01/70 00:00      
                                                You don't what?            01/01/70 00:00      
                                                   I am sorry, Richard            01/01/70 00:00      
                                                      You do that often ...            01/01/70 00:00      
                                    lower            01/01/70 00:00      
                                    IF you're using too weak a PSU            01/01/70 00:00      
                                       another red herring            01/01/70 00:00      
                                          Well maybe it's not a red herring after all            01/01/70 00:00      
                              Ricxhard, posted            01/01/70 00:00      
                                 supervisor is irrelevant during Vcc decay            01/01/70 00:00      
                                    BULLSHIT            01/01/70 00:00      
                                       I've observed it, while you haven't even looked            01/01/70 00:00      
                     unpredictible is a strong word            01/01/70 00:00      
                        just how would YOU predict the behavior, Jan?            01/01/70 00:00      
                           CMOS            01/01/70 00:00      
                              Yes, that's fine ... well, maybe ...            01/01/70 00:00      
                     male cow manure            01/01/70 00:00      
                        and what's the value of the internal pulldown?            01/01/70 00:00      
               ... and who\\\'ll pay the bills?            01/01/70 00:00      
                  Not only that, but...            01/01/70 00:00      
                  It's too costly if it doesn't work            01/01/70 00:00      
                     get me a muckraker and a pair of boots            01/01/70 00:00      
                        Well, I've observed it, and you haven't even tried            01/01/70 00:00      
      Flash micros need a different treatment!!!            01/01/70 00:00      
         to Kai KISS            01/01/70 00:00      
            Of course, good alternative!            01/01/70 00:00      
         Why do the manufacturers not say that?            01/01/70 00:00      
            one is one            01/01/70 00:00      
            we have answered this many many times before            01/01/70 00:00      
               we really don't disagree ... at least on this            01/01/70 00:00      
                  sure you can            01/01/70 00:00      
            The same story again and again and again...            01/01/70 00:00      
               Clearly, we see things differently            01/01/70 00:00      
                  We aren't so differently...            01/01/70 00:00      
                     I have pulled every string I have ....            01/01/70 00:00      
                        That would be really awesome!!            01/01/70 00:00      
                     it would be awesome            01/01/70 00:00      
                        then I'll call the whole thing off            01/01/70 00:00      
                           No, that's not it            01/01/70 00:00      
                              Would this solve your problem?            01/01/70 00:00      
                                 What do you mean?            01/01/70 00:00      
                                    more details please            01/01/70 00:00      
                                       Maybe this answers some questions            01/01/70 00:00      
                                          Blocking the BBRAMs            01/01/70 00:00      
                                             Why?            01/01/70 00:00      
                                                certainly            01/01/70 00:00      
                                                You asked for a methode, and I showed you one            01/01/70 00:00      
                                                   I agree, what you suggest might work            01/01/70 00:00      
                                                      slowpoke            01/01/70 00:00      
                                                      Because of the enormous currents?            01/01/70 00:00      
                                                         I considered that ...            01/01/70 00:00      
                                                            Of course!!            01/01/70 00:00      
                                                               I've been looking for simple ways            01/01/70 00:00      
                                                more suspition - and more questions            01/01/70 00:00      
                                                   It wasn't a thorough test            01/01/70 00:00      
                                          more questions...            01/01/70 00:00      
                                             I don't understand the questions ...            01/01/70 00:00      
                                                the questions are intended...            01/01/70 00:00      
                                                   there are a number of forces at work here            01/01/70 00:00      
                        Take care....            01/01/70 00:00      
                           You pointed that out once before ...            01/01/70 00:00      
                        We did, of course!            01/01/70 00:00      
                           That\'s probably an adequate statistical basis            01/01/70 00:00      

Back to Subject List