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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/19/08 20:13
Modified:
  09/19/08 20:15

Read: times


 
#158416 - serial EEPROM
Responding to: ???'s previous message
Suneet Srivastava said:
i have a AT89c52
does the processor write to the flash memory?

No, there is no way you can write to it's own FLASH program memory on this microcontroller.
There are '51 derivatives where you can do that, but those are the more expensive ones, e.g. the 'RD2 family (for example AT89C51RD2).
Suneet Srivastava said:

i can't afford to change the chip as all the connections have been soldered according to that IC . any way around the problem ? 3 out of 4 ports have already been used . so that doesn't leave many options for EEPROM interfacing

You need only 2 IO ports to add an I2C EEPROM memory, such as the 24Cxx (e.g. 24C02 - they come in dansities ranging from 128 bytes to 64 k bytes, and the suffix depends on this). There is a lot of example code around in the net, see for example Atmel's website - there's an appnote on interfacing these memories to the '51 there.

JW

List of 19 messages in thread
TopicAuthorDate
are values stored in memory permanent ?            01/01/70 00:00      
   Depends on memory            01/01/70 00:00      
       I A P            01/01/70 00:00      
   could you help me with the IC            01/01/70 00:00      
      serial EEPROM            01/01/70 00:00      
         serial EEPROM with SPI also possible            01/01/70 00:00      
            I have my doubts...            01/01/70 00:00      
               I2C takes some reading to implement            01/01/70 00:00      
                  that's the point            01/01/70 00:00      
   Values in the Memory            01/01/70 00:00      
      a caveat            01/01/70 00:00      
         RE: a caveat            01/01/70 00:00      
            Any assemblers?            01/01/70 00:00      
            As long as others are all being strictly technical            01/01/70 00:00      
               C standard            01/01/70 00:00      
      Another caveat            01/01/70 00:00      
   sorry for the delay            01/01/70 00:00      
      which?            01/01/70 00:00      
    Maxim too has One-wire EEPROMs            01/01/70 00:00      

Back to Subject List