Page 1 of 1

RTC

Posted: Mon Apr 15, 2024 3:21 pm
by ravi
Hello Octocontrabass

if i read and write elkhart lake RTC register with assembly in and out instruction (0x70 and 0x71)

RDC, 614109- chapter 27.2

but i if do it with mmio(FD00000h + 70h/71h) i am not able to do it. i am using the same procedure as we do with in and out instruction

thanks
Ravi

Re: RTC

Posted: Wed Apr 17, 2024 5:45 pm
by Octocontrabass
That looks like a copy/paste error in the datasheet. You can't use MMIO to access the RTC.

Re: RTC

Posted: Wed Jul 03, 2024 4:25 am
by tito
Hello Ravi,

i still get no valid values (most 0) reading RTC of Elkhart Lake using
asm out/in 70h/71h

and there is no entry in the windows device manager, where the resource is described.

So, i think, i must use mmio FD00000h + 70h/71h as descrbed in the Intel Document Number: 636722 Chap 26.2.

i am stil confused about this chapter. Is port io still supported?

do you got it working for Elkhart Lake? with which tech (pio or mmio)?

thank you
Tito

Re: RTC

Posted: Mon Jul 08, 2024 10:41 am
by ravi
Yes TiTo

I think MMIO didnot work

RTC works with 0x70/0x71.. in/out instructions