[Avila] GW2348-4: I2C and EEPROM
David Acker
dacker at roinet.com
Mon Jun 16 11:16:59 EDT 2008
Tamas Selmeci wrote:
> 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!
Gateworks uses the first 64 bytes of the second 256-byte bank for settings.
We use http://codesink.org/eeprog.html . Make sure to disable the
kernel access if you use this. Disable CONFIG_SENSORS_EEPROM in your
kernel configuration.
-Ack
More information about the Avila
mailing list