Changing IO or memory value

2007-07-03 Thread Leon Komloši
Does anone have idea how to put certain value to a certain IO location 
from operating system. Is there some kind of debug or something?


I need to read IO location 0x09030, change and then write it back.


 Leon Komlosi



WRAP board IIC port

2007-06-30 Thread Leon Komloši

I'm trying to connect various IC's to IIC port on WRAP.1E board.
Without any success. IC's are Dallas DS1621,DS1631,DS1624.


Here is dmesg line:

DS1621:
iic1: addr 0x48 22=0a 40=0a 41=0f 42=0a 43=0a 44=0a 45=0a 46=0a 47=0a 
48=0c 49=10 4a=c4 4b=01 4c=0e 4d=00 4e=d6 4f=00 51=0f a1=0f a2=0a a8=0c 
a9=10 aa=c4 ac=8e ee=08


DS1631
iic1: addr 0x48 22=0a 40=0a 41=0f 42=0a 43=0a 44=0a 45=0a 46=0a 47=0a 
48=0c 49=10 4a=c4 4b=01 4c=0c 4d=00 4e=00 4f=00 51=0f a1=0f a2=0a a8=0c 
a9=10 aa=c4 ac=8c ee=08


DS1624
iic1: addr 0x48 a2=da a3=eb a4=30 a5=6e a6=9f a7=72 a8=00 a9=31 aa=c9 
ab=00 ac=0a ad=c7 ae=1f


Any idea ???


To use LPC port on WRAP.1E board as GPIO is necessary to clear 14 and 16 
bit at location 0x09030.


Any idea how to do that ???



Leon Komlosi