Changes

How to use EEPROM

579 bytes added, 12:00, 27 August 2012
Created page with '= Overview = The IGEP expansion boards (except IGEP New York) provides an AT24C01B serial EEPROM memory which is connected to the OMAP via I2C (register 50).<br> = Play with E…'
= Overview =

The IGEP expansion boards (except IGEP New York) provides an AT24C01B serial EEPROM memory which is connected to the OMAP via I2C (register 50).<br>

= Play with EEPROM memory =

Use i2c-tools to manage it:
<pre>i2cget &lt;bus&gt; &lt;chip&gt; &lt;register&gt;
i2cset &lt;bus&gt; &lt;chip&gt; &lt;register&gt; &lt;value&gt;</pre>
For example, the following writes the value 0x22 to register 0x10 of device 0x50 on i2c bus 2:
<pre>i2cset -f -y 2 0x50 0x10 0x22
i2cget -f -y 2 0x50 0x10</pre>

= Know more=

See also: i2dump(8), i2cget(8) and i2cset(8) man page
4,199
edits