Go to previous topic
Go to next topic
Last Post 03 Mar 2005 10:06 AM by  mikea@logicpd.com
GetSystemTime + RTC
 2 Replies
Author Messages
geneer_dan@hotmail.com
New Member
New Member
Posts:


--
23 Feb 2005 04:23 PM
    Hi guys,

    I have a customer who has built his own CE 4.2 image and is not seeing his CE system time increment. GetSystemTime() consistently returns a time with 0 for minute, seconds, and milliseconds. My best guess is that the RTC is not being initialized (via IOCTL_HAL_INIT_RTC kernel IOCTL on cold boot)

    The platform this customer built was described to me as "stripped down" (unfortunately I'm about 3 degrees of separation from those who created the platform so don't have a lot of details yet).

    I have tested on an SDK board with a simple platform here and the system time calls work correctly.

    My question is: at what time is IOCTL_HAL_INIT_RTC called, and could it have been accidentally pulled out of their platform build?

    My next step is to have them run this kernel IOCTL manually, to see if this starts the RTC.

    Thanks,

    Dan
    geneer_dan@hotmail.com
    New Member
    New Member
    Posts:


    --
    23 Feb 2005 04:27 PM
    Ahh, I missed this related post.
    http://www.logicpd.com/su...19&highlight=rtc

    I'm going to make sure they have the right rtc setting in their exec string first.
    mikea@logicpd.com
    New Member
    New Member
    Posts:


    --
    03 Mar 2005 10:06 AM
    danw,
    Do you know if you were able to get this working by updating your boot string?

    Thanks,
    MikeA


    ---