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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Kai Klaas
12/06/12 08:02
Modified:
  12/06/12 08:08

Read: 938 times
Germany


 
#188971 - It IS disturbing!
Responding to: Richard Erlacher's previous message
I know, you don't like ATMEL and their ATMEGAs and ATtinys. Well, I'm "forced" by my boss to use them for some good reasons. If you would have a look into the datasheet of ATtiny25 you would see two different specifications, one "standard power-on reset" for earlier manufactured ATtiny25 and another "enhanced power-on reset" for newer models. They differ from each other in the power-on slope rate and the maximum initial Vcc voltage before an power-up. Newer ones need an initial voltage of under 0.6V, but earlier parts needed an initial voltage of under 0.05V!

I bring the example with this "hateful" ATtiny25 because there are many other micros suffering from the same problem. I remember an errata from a Philips' P89LP9XX which stated, that Vcc must fall down to 0V to make the POR work properly on the next power-up.

These examples demonstrate, that this WAS an issue for flash memory micros in the past. And I suspect it IS an issue still.

The ATMEGA328 (I'm also forced to use...) contains the newest POR and BOR topology, the most enhanced one of the ATMEGA family. But you can easily prompt a code memory corruption by disabling the BOR: Whenever Vcc rises too slowly the micro runs ill and refuses to work properly. Latch-up, lock-up and code memory corruption are the consequences.

POR usually works only like a monoflop: Once triggered when Vcc reaches a certain limit a monoflop is started which withdraws the reset signal after an adjustable time. But POR doesn't supervise Vcc, by no means! Only the activatd BOR does this. But the BOR only works when it is initialised by a proper POR. That is the reason why it is so important to have a controlled power-up with a controlled slope-rate and a Vcc starting from 0V on.

Problems during power-down, like you reported, cannot be solved by a simple way, I suspect. You can only hope, that the BOR introdudes early enough and long enough until Vcc falls under the minimum voltage needed to generate a dangerous programming voltage and to start the fatal ill-programming.

I have carried out very intensive testing with power-downs where Vcc falls very slowly and I have never experienced trouble with the ATMEGA328. I'm I sure that everything is fine now? No!

Richard, may be you should take a micro that is not ISP-capable to solve the problem of code memory corruptions?? But you are still in danger to suffer from latch-up and look-up and destroy the micro in another way...

Kai Klaas

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