AT89C51 flash as eeprom?

Discussion in 'Embedded Systems and Microcontrollers' started by aamirali, Sep 22, 2014.

  1. aamirali

    Thread Starter Member

    Feb 2, 2012
    415
    1
    I have code written for AT89C51 with 2K code & 50 bytes RAM.
    I also need some 10 bytes as eeprom.

    Can I use AT89C51 flash as eeprom as I have rest 2K flash empty otherwise I have to add extra external eeprom.
     
  2. elabsp

    New Member

    Oct 23, 2013
    13
    1
    I donot think that you can use AT89c51 flash eeprom as extra EEPROm you can use AT24cXX eeprom for saving RUN time data
    http://www.atmel.com/images/doc0336.pdf

    The reason is, in AT89c51 eeprom you cannot program it while in running mode... so better to use external eeprom AT93cxx or AT24cXX
     
Loading...