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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/31/05 10:42
Read: times


 
#100332 - transparent erasure
Responding to: ???'s previous message
Jeroen Post said:
Erik is old-fashioned with outmoded ideas.
Well, sometimes it is better to be outfashioned, or if you want, conservative... Could save a lot of troubles.

When using FLIP, disable Erase and Blank check,
otherwise it halves the lifetime of your Atmel devices.
Yes, the '51 parts Atmel "inherited" from Temic have a very smart programming scheme, where during writing the whole block gets erased while the original content remains stored in an internal "cache" and then rewritten, all in hardware and completely transparent to the user. From the user's point of view this is the same as having a bitewise programmable memory. So erasing the whole memory before programming is unnecessary and redundant.

Nevertheless, if writing occurs often and endurance is of concern, extra care must be taken (although the 100k endurance is pretty impressive and is probably sufficient for the vast majority of applications). The best thing to do is to write a complete block at once, reducing the erasure/rewrite cycles. This has implications also to the host software - it should send the data to the bootloader aligned to blocks. Flip does exactly this, reformatting the hexfile to 128-byte records. If writing custom "host" program or a custom bootloader, this "limitation" should be perhaps kept in mind.


Jeroen, just out of interest, you mentioned that Atmel contacted you with regard of the error in bootloader you discovered - did you asked their support, or was that Atmel who contacted you first?

Jan Waclawek

List of 28 messages in thread
TopicAuthorDate
Programming 89C5131 via hardware            01/01/70 00:00      
   the chip manufacturers have become wise            01/01/70 00:00      
      Programming 89C5131 via hardware (2)            01/01/70 00:00      
         just one question            01/01/70 00:00      
            Programming 89C5131 via hardware (3)            01/01/70 00:00      
               one problem with this is that you have n            01/01/70 00:00      
                  Atmel contact            01/01/70 00:00      
                     here we go again            01/01/70 00:00      
                        self-timing            01/01/70 00:00      
                           FLIP issue (modern technologies)            01/01/70 00:00      
                              lifetime            01/01/70 00:00      
                              transparent erasure            01/01/70 00:00      
                                 to: Jan Waclawek            01/01/70 00:00      
                              You've go to be kidding            01/01/70 00:00      
                                 self-timing            01/01/70 00:00      
                                    can you give me a reference to the fact            01/01/70 00:00      
                                       other way round            01/01/70 00:00      
         Contact Atmel            01/01/70 00:00      
      Bootloader bootloader            01/01/70 00:00      
         no way            01/01/70 00:00      
         Re: bootloader bootloader            01/01/70 00:00      
   Sounds like fun. Count me in.            01/01/70 00:00      
      Programming 89C5131 via hardware (2)            01/01/70 00:00      
   user bootloader?            01/01/70 00:00      
      Re: user bootloader?            01/01/70 00:00      
         what wrong?            01/01/70 00:00      
            Not, that old urban legend again            01/01/70 00:00      
               Atmel contact            01/01/70 00:00      

Back to Subject List