3 id eeprom (at24c02), U-boot deployment – Artesyn COMX-P2020 BSP User Guide (July 2014) User Manual
Page 50
U-boot Deployment
COMX-P2020 BSP User Guide (6806800L84B)
50
Show GPIO Direction:
The command: "gpio showdirection" can be used to show the setting of all GPIO's
direction. For example:
=> gpio showdirection
GPIO0 = Input(00)
GPIO1 = Input(00)
GPIO2 = Input(00)
GPIO3 = Input(00)
GPIO4 = Output(10)
GPIO5 = Output(10)
GPIO6 = Output(10)
GPIO7 = Output(10)
GPIO8 = Input(00)
GPIO9 = Input(00)
GPIO10 = Output(10)
GPIO11 = Input(00)
GPIO12 = Output(10)
GPIO13 = Input(00)
GPIO14 = Input(00)
GPIO15 = Input(00)
=>
Show GPIO input value:
The command : "gpio showinput" can be used to show the input value of GPIO. For
example:
=> gpio showinput f
Input of GPIO15 is: 1
Set GPIO output value:
The command: "gpio setoutput" can be used to set the output value of GPIO. For example:
we can set the output of GPIO10 to 1 as below:
=> gpio setoutput a 1
=> gpio showinput a
Input of GPIO10 is: 1
=>
5.4.3
ID EEPROM (AT24C02)
There are two AT24C02 used at COMX-P2020, one is ID EEPROM, and the other is Board
EEPROM.