SMBus on WinNT READING problem. Can u help me?
joker_pl at 2com.pl
Mon Feb 3 17:47:01 CET 2003
My name is Michal Laskowski and im from poland. Firs i want to say
sorry for my english, and for that email if u will get angry :).
I just want to ask u for a little bit help.
I use Win XP and DriverLinx Kernel Driver for Port I/O operations.
And i want to make some soft but i have a problem with getting a
information from SMBus. So :
I Have ABit ST6, with Intel 815EP (ICH2) 82801BA, and a WinBond
W83627HF. I did a function for scaning a pci and my SMB adress is
0x5000 (Dev 0x1f, Fun 0x03) and here i have a problem for getting
any information from SMB.
I know that if SMB is bussy in his Base address (port) 1st bit will
be set for 1. so i can wait for the moment when smb will be free
After i wait i write to base_address +5 and to base_address +6 (this
will be my Index and Data registers) a "paramets" for function what
i want to call. for eg. i write 80h.
Now to base_address +3 i write a command (for eg. 4Eh - Bank Select Register)
to base_address + 2 (Host Control Register) i write 48h for Byte
Data protocol and for generaiting an interaption afte completion of
im waiting for SMB
now i read a data from base_address +6 and base_address +5
now i can read a vendor id high byte
so i do that
base_address + 5 = 0
base_address + 6 = 0
base_address + 3 = 4Fh
base_address + 2 = 48h
wait for SMB
and read base_address + 6 and base_address + 5
and that ports are empty no data are there
what i am making wrong maby i did something wrong but i dont know
If u can help me it would be very nice.
Thanks a LOT
PLEASE SEND REPLY
mailto:joker_pl at 2com.pl
Serwis www.logo.hoga.pl - sciągaj bajery na telefony
Nokia, Siemens, Alcatel, Ericsson, Motorola,Samsung
mks_vir 2002 został nominowany do plebiscytu magazynu CHIP PRODUKT
ROKU 2002. Kupon do głosowania znajduje się w magazynie CHIP 12/2002.
More information about the lm-sensors