eeprom programming in c

Discussion in 'Embedded Systems and Microcontrollers' started by megha chhabra, Nov 28, 2008.

  1. megha chhabra

    Thread Starter New Member

    Nov 28, 2008
    1
    0
    i am doing project that reads and write data from 8051 microcontroller to 240c4 eeprom(using i2c protocol) .i have didvide 2 blocks into 4 parts n im accessing them at different time.but not getting the right o/p at right time.plz explain me how to access them?
     
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    If you send the correct address, the data read out (or stored) has to be correct. Are you sure you are not storing beyond the last address of the defined storage areas?
     
Loading...