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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/09/03 22:23
Read: times


 
#60268 - RE: Confused - SRAM; Flash
Responding to: ???'s previous message
Thanks all, I think I am confused that Ram can only be used for my fast external storage but not Flash.

Flash is designed for storing large amounts of data that are written en-bloc and infrequently - in the context of 8051s, the key application is to store your code

The trouble with Flash for data storage is that you can't just write to it; you have to erase it first - and you have to erase a whole block at once, not just individual bytes.
"Flash" would be more correctly known as "Flash-EPROM"; ie, Flash-Eraseable, Programmable Read-Only Memory (the "Flash" denotes the erase mechanism that facilitiates rapid, in-circuit erasing - invented by Intel, I think?)

For data storage (such as your ethernet packets) you need something with direct read and write access to individual storage locations.

SRAM is the simplest.

DRAM is cheaper per bit, but has the overhead of requiring a refresh controller. For the huge amounts (Gigabytes these days!) of RAM in PCs and the like, this overhead becomes insignificant - but for the kind of RAM size appropriate to an 8051 it's just pointless!

Stick with SRAM for your data storage

List of 27 messages in thread
TopicAuthorDate
Problem about external memory            01/01/70 00:00      
   RE: Problem about external memory            01/01/70 00:00      
      RE: other threads            01/01/70 00:00      
   RE: Problem about external memory            01/01/70 00:00      
      how to search some external memory chips            01/01/70 00:00      
         RE: how to search some external memory chips            01/01/70 00:00      
            RE: Distributors            01/01/70 00:00      
            RE: external memory chips            01/01/70 00:00      
               RE: external memory chips            01/01/70 00:00      
                  Confused?            01/01/70 00:00      
                     RE: Confused?            01/01/70 00:00      
                        RE: Confused?            01/01/70 00:00      
                           RE: Confused - SRAM; Flash            01/01/70 00:00      
   steve what do you think about ..            01/01/70 00:00      
      RE: steve what do you think about ..            01/01/70 00:00      
         RE: steve what do you think about ..            01/01/70 00:00      
         RE: steve what do you think about ..            01/01/70 00:00      
            RE: steve what do you think about ..            01/01/70 00:00      
      RE: steve what do you think about ..            01/01/70 00:00      
   How to Choose            01/01/70 00:00      
   RE: Problem about external memory            01/01/70 00:00      
      RE: Problem about external memory            01/01/70 00:00      
         RE: Problem about external memory            01/01/70 00:00      
            RE: Problem about external memory            01/01/70 00:00      
               RE: Problem about external memory            01/01/70 00:00      
      RE: Distributors            01/01/70 00:00      
         RE: Distributors            01/01/70 00:00      

Back to Subject List