Question
EEPROM_I2c
I am using M24C04 chip and downloaded the software package EEPRAM2.
if(EEPRMA2_M24_Init(EEPRMA2_M24C02_0) == BSP_ERROR_NONE)
{
chip_ok=1;
// DOUBLEFLASH();
}
else
{
chip_ok=0;
} if I used this instance it says chip ok=1 but the read and write not working .As using M24C04 ,I also tried the instance as
if(EEPRMA2_M24_Init(EEPRMA2_M24xx) == BSP_ERROR_NONE)
{
chip_ok=1;
// DOUBLEFLASH();
}
else
{
chip_ok=0;
}it says the chip is not working
