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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/01/07 06:50
Read: times


 
#133991 - Conjecture, not Evidence
Responding to: ???'s previous message
While there may be evidence somewhere, these app notes don't really present any evidence. They just make claims and then throw out a few red-herrings to throw us off the trail. The Atmel piece, http://www.atmel.com/dyn/resou...oc4183.pdf
is a good example.

It's true that a runaway cpu could end up entering a program-store-write routine in an abnormal way, that fact in no way applies to the question I presented. It's also true that, if a CPU runs away due to improper reset, it may do that. It's also true that, in the case of a really slow power-on, the inner workings, including the flash-write charge-pump, could be activated before the CPU control is stabile.

Most of the time, however, a runaway program is due to faulty programming and not due to power-on or power-off transient effects. That's what watchdogs are supposed to manage. Motorola has had watchdogs in their MCU's since the early-mid '80's. All you have to do is "kick the dog" from time to time in order to keep him from timing out. It's not a perfect solution, but it seriously improves the odds.

My question, as stated was,

I'd really like it if someone would show me a way in which to guarantee 100% of the time that the flash is verifiably corrupted using an RC reset in which the flash is corrupted 0% of the time when using a "supervisor" or other reset IC. I doubt this is possible, so I don't expect to see it.

The problem, as I see it, is that an insufficiently rapid rise-time on Vcc affects everything that relies on Vcc, not just the MCU, and the reset or supervisor IC can't be relied upon to "fix" all that.


Now, I've commented a time or two on the effects I've observed, not in runaway program but in failure to operate, in some MCU's. These have consistently been in cases where the power supply was a switcher, or where the power supply was a weak one, i.e, a wall-wart or other <1/2-ampere raw supply. When I've used a hefty linear supply, one with >>20 ampere capacity, it's worked fine, always, without a hitch. When I used a spare supply for my DS3 mux, which has 7/16" screw lugs for the 50-ampere 5-volt supply it fails, as it does with every switcher I've tried. There's a message in there somewhere ...

I'm not convinced that the "supervisors" and other reset aids help very much, aside from increasing cost. That's what I'd like someone to show me, at least through a statistical reliability report or the like. ... someting rigorous and not from the marketing department.

I'm currently persuaded that, if one took the time and trouble to build such a thing, a Vcc switch to the MCU in conjunction with a stabile crystal oscillator (not the one built into the chip) that holds the MCU in reset for 2048 counts of the oscillator after a rapidly-rising (~5-10 microseconds ?) Vcc that didn't even start until long after all the cap's in the circuit were charged, the reset issue would look different.

I'm not convinced that the flash corruption issue is one of improper or inadequate reset alone.

Has anyone rigorously tested the reset function in two circuits identical except for the presence in one of them of a reset IC? Somewhere between 1000 and 100000 repetitions of the power-on, reset, and power-down sequence would be adequate, for statistical reporting purposes.

This would probably require a one- or two-minute-long execution of a wide range of instructions and memory access types all as part of a power-on-self-test, the end-effect of which would be a dump of all internal resources to a port where the majority logic would compare the three, keeping record of any inconsistencies.

Frankly, I think this reset problem is a fundamental design flaw with which I'd never let even an undergraduate student "get by." How this could be left unremedied by industry professionals for a time approaching three decades is a mystery to me.

RE



List of 147 messages in thread
TopicAuthorDate
Pierce oscillator runs down to Vcc=1.3V!            01/01/70 00:00      
   you should get a probing set...            01/01/70 00:00      
      I keep the micro always reseted, ...            01/01/70 00:00      
      we already know            01/01/70 00:00      
   Low voltage operation            01/01/70 00:00      
      What puzzles me ...            01/01/70 00:00      
         True Reset            01/01/70 00:00      
            Thanks, Lynn, for giving us this deep insight!            01/01/70 00:00      
               Scary warnings            01/01/70 00:00      
               do you not know ...            01/01/70 00:00      
         What I know about this...            01/01/70 00:00      
            I didn't hear complaints about reset back then            01/01/70 00:00      
               MAY???            01/01/70 00:00      
                  Those were different times            01/01/70 00:00      
                     which troubles?            01/01/70 00:00      
                        I don\'t understand your question, Oleg.            01/01/70 00:00      
                           If I could do that, I would be a millionaire from            01/01/70 00:00      
                           There is an overwhelming evidence!            01/01/70 00:00      
                              Conjecture, not Evidence            01/01/70 00:00      
                                 already answered            01/01/70 00:00      
                                    HORSEFEATHERS! ... Read the question            01/01/70 00:00      
                                       Do you put in question, that...            01/01/70 00:00      
                                          Comments on Vdd and Flash            01/01/70 00:00      
                                             not quite true            01/01/70 00:00      
                                                I agree...            01/01/70 00:00      
                                                   by the way            01/01/70 00:00      
                                                      state machine decoding...            01/01/70 00:00      
                                          well Richard did not read it            01/01/70 00:00      
                                             No, I did read it ... in fact, I read it long ago            01/01/70 00:00      
                                                of course you are not            01/01/70 00:00      
                                          reset etc.            01/01/70 00:00      
                                          stories-part II            01/01/70 00:00      
                                             aka experience            01/01/70 00:00      
                                                Another Low VDD Story            01/01/70 00:00      
                                                   That's how many reset chips work            01/01/70 00:00      
                                          about that I have no doubt ...            01/01/70 00:00      
                                       You, even less like to read the answers            01/01/70 00:00      
                                          As I said before ... HORSEFEATHERS!            01/01/70 00:00      
                                             a horse of a different color            01/01/70 00:00      
                                                Flogging a dead (reset?) horse            01/01/70 00:00      
                                                   would that not be the case of            01/01/70 00:00      
                                                      Not defective, just powered down            01/01/70 00:00      
                                                         then where is the difference            01/01/70 00:00      
                                                            Good chips and state machine failures            01/01/70 00:00      
                                                               Reset seems to be different with static 8052            01/01/70 00:00      
                                                                  What do you think about my lines, Lynn?            01/01/70 00:00      
                                                                     Static and Dynamic Reset, and Lines            01/01/70 00:00      
                                                                        Thanks, the hope dies last...            01/01/70 00:00      
                                                                        why?            01/01/70 00:00      
                                                                           Isn't it shocking...            01/01/70 00:00      
                                                                              I know a lot ...            01/01/70 00:00      
                                                                              ...partially...            01/01/70 00:00      
                                                                                 The names and functions            01/01/70 00:00      
                                                                                    the analogy            01/01/70 00:00      
                                                                     Flash and Lines            01/01/70 00:00      
                                                                        So, what the hell is the remedy, then??            01/01/70 00:00      
                                       So long post...            01/01/70 00:00      
                                          Kai's remarks are germane to the issue            01/01/70 00:00      
                                             Stoping the oscillator            01/01/70 00:00      
                                                Lynn, pray explain            01/01/70 00:00      
                                                   Stopped clocks and reset            01/01/70 00:00      
                                                      waitaminute....            01/01/70 00:00      
                                                         This leads to the conclusion that ...            01/01/70 00:00      
                                                            Some further reading            01/01/70 00:00      
                                                   Let's be general            01/01/70 00:00      
                                                      General Reset            01/01/70 00:00      
                                                         So ... how do we fix it?            01/01/70 00:00      
                                                            one thing you could do would be to ..            01/01/70 00:00      
                                                               Tying reset ot crystal enable            01/01/70 00:00      
                                                it's already there... well in some form...            01/01/70 00:00      
                                                   Clock stopping on power-up            01/01/70 00:00      
                                                      we have alternatives...            01/01/70 00:00      
                                             comments            01/01/70 00:00      
                                             reset (and diode)            01/01/70 00:00      
   trying to conclude            01/01/70 00:00      
      Total agree!            01/01/70 00:00      
         That's not quite been my experience            01/01/70 00:00      
      Erik ... That proves nothing!            01/01/70 00:00      
         what else do you want 'proven'            01/01/70 00:00      
            suggestion vs. proof            01/01/70 00:00      
               I need a link            01/01/70 00:00      
                  well, you do not need tp prove it            01/01/70 00:00      
                     I had not considered these ATMEL (yechh) parts            01/01/70 00:00      
                        is there no end?            01/01/70 00:00      
                           coincidence is not proof            01/01/70 00:00      
                              Why on earth would I do that?            01/01/70 00:00      
                                 I would make me do something            01/01/70 00:00      
                                    Sadly, few who are in a position to do something            01/01/70 00:00      
                                 I am not demanding proof because is isn't there.            01/01/70 00:00      
                                    Maybe you can get support from Silabs?            01/01/70 00:00      
                        All manufacturers have problems            01/01/70 00:00      
                           function, not the device            01/01/70 00:00      
                              I like the way you go into the details!            01/01/70 00:00      
                                 It puzzles me that no chip maker has done this.            01/01/70 00:00      
                                    Vdd slew rate as a factor.            01/01/70 00:00      
                                       I have looked, but since it is not one of 'my' der            01/01/70 00:00      
                                          1 ms Vdd slew rates            01/01/70 00:00      
                                             I'd be afraid...            01/01/70 00:00      
                                                nope            01/01/70 00:00      
                                                   if I specify the slew rate for powerdown...            01/01/70 00:00      
                                                No ... I see this as limiting board capcitance            01/01/70 00:00      
                                                   I know...            01/01/70 00:00      
                                                      they get what they deserve!            01/01/70 00:00      
                                                         be realistic            01/01/70 00:00      
                                                            it takes more than a supervisor            01/01/70 00:00      
                                                               shooting sparrows with RPGs            01/01/70 00:00      
                                                                  it's not a sparrow, Erik ... it's a vulture            01/01/70 00:00      
                                                                     as it does not, then why worry            01/01/70 00:00      
                                                                        Erik, I don't know where your head's wedged ...            01/01/70 00:00      
                                                                           An almost off-topic comment on Xilinx JTAG            01/01/70 00:00      
                                                                           there is no problem, so why do you state there is            01/01/70 00:00      
                                                                              ?            01/01/70 00:00      
                                                                                 calrification            01/01/70 00:00      
                                                                              If you would get your head out of your ...            01/01/70 00:00      
                                                                                 well, if you do not want to 'test' the derivatives            01/01/70 00:00      
                                                                                    If you want yours tested, YOU test 'em            01/01/70 00:00      
                                                                                       I did not            01/01/70 00:00      
                                                                                          It's like breaking off the Vcc pin            01/01/70 00:00      
                                                                                             the datasheet states..            01/01/70 00:00      
                                                                                                It's probably ATMEL (yechhh!) that said that            01/01/70 00:00      
                                                                                                rephrased to match this subject            01/01/70 00:00      
                                                               the bulletproof '51            01/01/70 00:00      
                                                                  Custom 8051!            01/01/70 00:00      
                                                                  That is not the goal.            01/01/70 00:00      
                                             very true ...            01/01/70 00:00      
                                          I don't understand, Erik ...            01/01/70 00:00      
                                             READ!!!!!!!!!!!!!!!!!!!!!            01/01/70 00:00      
                                                when SiLabs builds a DIP-40 or PLCC-44 805x            01/01/70 00:00      
                                                   what does the package have to do with slew rate            01/01/70 00:00      
                                                      Erik ... it has to do with what I'll test.            01/01/70 00:00      
                                                         well, if you restrict your test to ancients, then            01/01/70 00:00      
                                                            current parts, but in DIP40 or PLCC44            01/01/70 00:00      
                                                               well you may find that someone sinned but did            01/01/70 00:00      
                                       No manufacturer warns about slew rates!!            01/01/70 00:00      
                                          actually I recall one            01/01/70 00:00      
                           I reread the whole link and            01/01/70 00:00      
                              To Richard            01/01/70 00:00      
                              it's just "lip-service" and means nothing            01/01/70 00:00      
               Please, Richard, only facts            01/01/70 00:00      
                  Kai, you can\'t compare the two environments            01/01/70 00:00      
   re 'lip service'            01/01/70 00:00      
      there you go again ...            01/01/70 00:00      
         unless the chairman of the board confess his sin            01/01/70 00:00      
            What you\'re spewing is nonsense            01/01/70 00:00      
               show what nonsesne you are communicating            01/01/70 00:00      
   what is this still about?            01/01/70 00:00      
      Times change, and so do IC's...            01/01/70 00:00      

Back to Subject List