[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclinux-dev
Subject:    [uClinux-dev] How to set RTC?
From:       "Bob Furber" <bob () steroidmicros ! com>
Date:       2007-04-27 0:06:23
Message-ID: DLENJLHHOCDAIALMLCLLAEOLGIAA.bob () steroidmicros ! com
[Download RAW message or body]

I am having difficlty setting the [pcf8563] RTC on a WildFireMod, from
uClinux-2.6.6:

# hwclock --set --date="04/26/07 13:00:00"
The date command issued by hwclock returned unexpected results
The command was
   date -d "04/26/07 13:00:00" + seconds-into-epoch=%s
The response was
No usable set-to-time    Cannot set clock

# hwclock --set 042613002007
..fared no better.


However, I am able to read the RTC:

# hwclock --show
Thu Apr 26 15:03:12 2007 -0.909022 seconds

I should mention that I have no difficulty setting the RTC from dBUG, so I
know it can be done.

I have the feeling that is is a "Duh!" situation, but for the life of me, I
do not see it.

Thanks,

RF


_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic