<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.6000.16441" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-pagination: widow-orphan"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '新細明體','serif'; mso-bidi-font-family: 新細明體; mso-font-kerning: 0pt">Hi,
All,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office"
/><o:p></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-pagination: widow-orphan"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '新細明體','serif'; mso-bidi-font-family: 新細明體; mso-font-kerning: 0pt"> <o:p></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-pagination: widow-orphan"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '新細明體','serif'; mso-bidi-font-family: 新細明體; mso-font-kerning: 0pt">Could
anyone teach me how to use inm or imm to write data to i2c device?</SPAN></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-pagination: widow-orphan"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '新細明體','serif'; mso-bidi-font-family: 新細明體; mso-font-kerning: 0pt"></SPAN> </P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-pagination: widow-orphan"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '新細明體','serif'; mso-bidi-font-family: 新細明體; mso-font-kerning: 0pt">u-boot/common/cmd_i2c.c</SPAN></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-pagination: widow-orphan"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '新細明體','serif'; mso-bidi-font-family: 新細明體; mso-font-kerning: 0pt">/*
Modify memory.<o:p></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-pagination: widow-orphan"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '新細明體','serif'; mso-bidi-font-family: 新細明體; mso-font-kerning: 0pt"><SPAN
style="mso-spacerun: yes"> </SPAN>*<o:p></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-pagination: widow-orphan"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '新細明體','serif'; mso-bidi-font-family: 新細明體; mso-font-kerning: 0pt"><SPAN
style="mso-spacerun: yes"> </SPAN>* Syntax:<o:p></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-pagination: widow-orphan"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '新細明體','serif'; mso-bidi-font-family: 新細明體; mso-font-kerning: 0pt"><SPAN
style="mso-spacerun: yes"> </SPAN>*<SPAN
style="mso-tab-count: 1"> </SPAN>imm{.b, .w,
.l} {i2c_chip} {addr}{.0, .1, .2}<o:p></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-pagination: widow-orphan"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '新細明體','serif'; mso-bidi-font-family: 新細明體; mso-font-kerning: 0pt"><SPAN
style="mso-spacerun: yes"> </SPAN>*<SPAN
style="mso-tab-count: 1"> </SPAN>inm{.b, .w,
.l} {i2c_chip} {addr}{.0, .1, .2}<o:p></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-pagination: widow-orphan"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '新細明體','serif'; mso-bidi-font-family: 新細明體; mso-font-kerning: 0pt"><SPAN
style="mso-spacerun: yes"> </SPAN>*/<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '新細明體','serif'; mso-bidi-font-family: 新細明體; mso-font-kerning: 0pt"><o:p> </o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '新細明體','serif'; mso-bidi-font-family: 新細明體; mso-font-kerning: 0pt">I
can't fully understand the syntax.<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '新細明體','serif'; mso-bidi-font-family: 新細明體; mso-font-kerning: 0pt">Please
give me some example.<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '新細明體','serif'; mso-bidi-font-family: 新細明體; mso-font-kerning: 0pt"><o:p> </o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '新細明體','serif'; mso-bidi-font-family: 新細明體; mso-font-kerning: 0pt">Many
Thanks!<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '新細明體','serif'; mso-bidi-font-family: 新細明體; mso-font-kerning: 0pt">Alec<o:p></o:p></SPAN></P></FONT></DIV></BODY></HTML>