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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/17/04 16:22
Read: times


 
Msg Score: +1
 +1 Informative
#83336 - Don't touch the oven...
Responding to: ???'s previous message
Erik said:
I fail to understand why, after a host of knowledgeable participants (such as Kai, Ijaz and Andy), in this forum has posted "avoid RC reset" the darn thing keep popping up.


Yes, I think we have to repeat it over and over and over a gain, as we have to tell a little child: "No!! Don't touch the oven!! It's hot!! It will hurt you!!"

The best argument against simple RC-reset circuits is, that it can cause a loss of code lines stored in the internal flash code memory. This was reported many times in application notes, erratas and other publishings. This is reported even today, and this will be reported in the future.

Do never use nonreliable reset "solutions" in combination with a flash micro!

People often forget, that the micro is a rather dynamically working machine. Many micro-routines are running, whenever we think that a rather static procedure is in process. But that's wrong. That's also the reason, why even small glitches on port lines or Vcc line can cause the micro to run ill. Because then a complicate internal micro-routine was given an unsane "kick" or was even "invoked", like the "erase flash" or "write to flash" micro-routines!!

Some people might tell me now: Yes, I have noticed that a toy hangs-up from time to time and that I have to switch it off and and on again. But I never have noticed a loss of code lines. So, what you tell me can't be valid!

Well, toys are seldom made using flash micros, but OTP-Eproms or even ROMs, for cost reasons. Would flash micros be used, you would have noticed the loss of code lines...

Kai


List of 30 messages in thread
TopicAuthorDate
whats that            01/01/70 00:00      
   compare the datasheets            01/01/70 00:00      
   What crazy?            01/01/70 00:00      
   Are they drop-in replacements?            01/01/70 00:00      
   Two DPTR registers            01/01/70 00:00      
      Two DPTR registers            01/01/70 00:00      
         compatiblity            01/01/70 00:00      
      two DPTRs            01/01/70 00:00      
         reset resistor            01/01/70 00:00      
            RC reset            01/01/70 00:00      
               Don't touch the oven...            01/01/70 00:00      
                  not just code loss            01/01/70 00:00      
                  I know its hot will fix it soon promise.            01/01/70 00:00      
         Datasheet tells it's necessary...            01/01/70 00:00      
            DPS setup            01/01/70 00:00      
               But what makes me wonder...            01/01/70 00:00      
                  rc reset            01/01/70 00:00      
                     Atmel App. notes might help you            01/01/70 00:00      
                        Brown-out kills            01/01/70 00:00      
                           perverse !            01/01/70 00:00      
                              Thanks            01/01/70 00:00      
                     elaborating on RC reset            01/01/70 00:00      
                        Absolutely right!            01/01/70 00:00      
   Rocking & Rolling AT89S52            01/01/70 00:00      
      please don't            01/01/70 00:00      
         Re: RC reset            01/01/70 00:00      
      Decoupling is stil missing!            01/01/70 00:00      
         Will Change it soon.            01/01/70 00:00      
            BOM            01/01/70 00:00      
               sure Ijaz            01/01/70 00:00      

Back to Subject List