Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1583

linux EEPROM probe failure

$
0
0

Hello,

I'm using an EEPROM 24AA128 (16Kbytes & 64 bytes/page) 7-bit address is 0x51

I'm getting an error at startup

Here's my bootlog :

i2c /dev entries driver
i2c-riic i2c-riic.0: version 2013-04-19: 100[kbps]
i2c-riic i2c-riic.2: version 2013-04-19: 100[kbps]
i2c i2c-3: Invalid 7-bit I2C address 0x80
at24 3-0051: address 0x80 unavailable
at24: probe of 3-0051 failed with error -98
i2c-riic i2c-riic.3: version 2013-04-19: 100[kbps]

 

I've updated my board.c file with the following data :

static struct at24_platform_data eeprom_pdata = {
    .byte_len = 0x4000,
    .page_size = 64,
};

static const struct i2c_board_info i2c3_devices[] __initconst = {
    {
        I2C_BOARD_INFO("at24", 0x51),
        .platform_data = &eeprom_pdata,
    },
};

 

Any ideas what I'm doing wrong ?


Viewing all articles
Browse latest Browse all 1583