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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/31/06 13:53
Modified:
  03/31/06 13:55

Read: times


 
#113485 - another rason
Responding to: ???'s previous message
A particular reason not to use the internal EEPROM on some ADUCxxx devices would be that page erase commands will send the uC into idle mode for about 2 ms (see the datasheet). The uC will do nothing in these 2 ms, not even respond to interrupts.

For all flash-based controllers, the reset circuitry is VERY important (just search for RC reset and read the horror stories). Now, if you have a routine somewhere that erases and/or writes the flash the possibility of that routine doing something bad when the uC is "confused" during a power glitch add to the worries.

I have a product where the program flash is loaded with some customer dependent tables and I have, for the above reasons, gone so far as to a special program being used to load these tables which then is replaced by the "run" program before the product is shipped. Is that overkill? possibly, but better safe than sorry.

Can internal flash be used safely for data storage in an application, of course it can, but the possibility of a problem is so that I will only do it if I absolutely have to.

Use an external EEPROM if the 10k-up "minimum erase/program cycles" is enough or use a FRAM (Ramtron). BTW the "minimum erase/program cycles" is a concern too when using the program flash.

Erik

[edit] if your chip is one if those that have an internal EEPROM (whatever it is called) that, of course is as good[/edit]

List of 7 messages in thread
TopicAuthorDate
Retaining Variable Values Through Reset            01/01/70 00:00      
   I'd start in the data sheet            01/01/70 00:00      
      Reasons not to use the internal EEPROM:            01/01/70 00:00      
         another rason            01/01/70 00:00      
   Non Volitle Memory            01/01/70 00:00      
   EEPROM            01/01/70 00:00      
   Thanks            01/01/70 00:00      

Back to Subject List