Appendix c <programming gpio’s – COMMELL LV-67O User Manual
Page 39

LV-67O User’s Manual
-
39
-
then input the
“fs0:”
command to switch to the root of the USB flash
drive.
4. Type the ”
fpt64.efi -y -f xxx.bin” command to start flash BIOS
processes. ( xxx.bin means the BIOS file that you want to update)
5. When it finished all update processes, restart the system.
Any question about the BIOS re-flash please contact your distributors or visit the
web-site at below:
http://www.commell.com.tw/support/support.htm
UT
Appendix C <Programming GPIO’s>
The GPIO’ can be programmed with the MSDOS debug program using
simple IN/OUT commands. The following lines show an example how to
do this. (The GPIO is open drain)
GPIO0…..GPIO7 bit0……bit7
-o 4E 87 ;enter configuration
-o 4E 87
-o 4E 07
-o 4F 07 ;enale GPIO function
-o 4E 30
-o 4F 10 ;enable GPIO configuration
-o 4E F0
-o 4F xx ;set GPIO as input/output; set ‘1’ for input,’0’for
output
-o 4E F1
-o 4F xx ;if set GPIO’s as output,in this register its value can
be set