[Avila] GW2348-4: I2C and EEPROM

Tamas Selmeci tselmeci at dension.com
Mon Jun 16 09:42:56 EDT 2008


Hello!

I'd like to access the Atmel 24C08 EEPROM on my GW2348-4 devboard using 
I2C. Since I've never done I2C in a high-level environment like Linux, I 
keep on failing communicating with the EEPROM (linux-2.6.25.6).

Is there any sample code available showing how the EEPROM through I2C is 
accessible? The only information I've found about this is that write 
address is 0xA0 and read address is 0xA1.

I've made something based on the sample in the kernel documentation, but 
refuses to work.

Any help appreciated, primarily sample codes or tutorial links!

Thanks,

Regards,
-- 
Tamas Selmeci




More information about the Avila mailing list