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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/03/08 20:25
Read: times


 
Msg Score: +1
 +1 Informative
#150266 - SiLabs view on this issue
Responding to: ???'s previous message
The discussion of the pair seems to become stuck, I'll introduce new material :-)

This excerpt shows SiLabs view on this issue.

SiLabs MCU KB "FLASH Corruption"
http://portal.knowledgebase.net/article.a...183&p=4120
Any system that contains routines which write or erase FLASH memory involves some risk that the FLASH write/erase routines will execute if the CPU is operating outside its defined operating range of VDD, temperature, or system clock frequency.

...

The most likely candidate for potential FLASH corruption is the CPU exiting reset prematurely (before VDD reaches 2.7V) on initial power-on. This is usually caused by a system VDD rise time that is slower than the 1 ms specification in the datasheet. One way to address this is to install an off-chip VDD brownout circuit on the /RST pin. Another way is to implement additional safeguards in code to ensure that the on-chip VDD monitor is always enabled whenever a write or erase to FLASH memory is attempted. Of course, it is also perfectly acceptable to implement both of these (hardware and software) schemes.

One other potential system parameter that can affect CPU code execution reliability is the system clock source. If the system clock is derived from an external crystal oscillator, then external EMI coupling can cause a runt pulse to be coupled into the system clock net which can lead to indeterminate operation. One way to lessen this risk is to enable the "divide by 2" option in the external crystal oscillator. Better ways are to use the internal oscillator or use an external CMOS can oscillator (one that is encased in a metallic shield to protect the sensitive crystal elements from external coupling effects).


Tsueno

List of 32 messages in thread
TopicAuthorDate
C8051F340 Flash corruption problem            01/01/70 00:00      
   use an open collector supervisor ana a pullup            01/01/70 00:00      
   No problem on my end            01/01/70 00:00      
      Grant, can you confirm            01/01/70 00:00      
         Not at this time            01/01/70 00:00      
         Yes, it's a 4k7 pullup            01/01/70 00:00      
   Why do you believe it's going awry during powerup?            01/01/70 00:00      
      likelyhoods            01/01/70 00:00      
         This is funny!            01/01/70 00:00      
            statistical probability            01/01/70 00:00      
               So you conclude that the world is flat?            01/01/70 00:00      
                  who on earth in his right mind would do that?            01/01/70 00:00      
                     someone who is curious about RESET.            01/01/70 00:00      
                        8051f12x/f13x            01/01/70 00:00      
                           It's not that simple ...            01/01/70 00:00      
                              I have a paid job            01/01/70 00:00      
                                 Indeed you have            01/01/70 00:00      
                                    if 1 million people get sick ...            01/01/70 00:00      
                                       It ain't necessarily so            01/01/70 00:00      
                                          3 things you did not respond to            01/01/70 00:00      
                                             that's not how it works            01/01/70 00:00      
                                                it his not 'details'            01/01/70 00:00      
                                                   What does "works" mean?            01/01/70 00:00      
   SiLabs view on this issue            01/01/70 00:00      
      re a point            01/01/70 00:00      
         I am reading some interesting discussion            01/01/70 00:00      
            AP, yes, Richard read that all say the same.            01/01/70 00:00      
            That means NO??            01/01/70 00:00      
               HUH?            01/01/70 00:00      
   Qazi Please provide some details            01/01/70 00:00      
   flash corruption or write failure            01/01/70 00:00      
      answer to quiz!            01/01/70 00:00      

Back to Subject List