"rtc hw" returns an error

Hi

I think this is a BIOS / Hardware issue, but perhaps not, or perhaps
somebody has already experienced/solved it :
Sometimes, the hardware clock of my embedded system goes back to 1970/01/01.
Afterwards, it will restart at 1970/01/01 at each reboot.
When I try the following command :
rtc hw
I have the following message :
rtc: clock not running, Must be set first 0x40
→ What does this message mean ?

For information, after the following command :
rtc -s hw
everything goes back to normal !
can someone enlighten me ?

Regards,
Cyril.

The only time I remember having the date return to 1970, is when the Battery
is dead on the BBClock.
However, I don’t remember seeing the “clock not running” message.
ms…


“Cyril OTHENIN-GIRARD” <cothenin@bcisa.com> wrote in message
news:arb9b8$ift$2@inn.qnx.com…

Hi

I think this is a BIOS / Hardware issue, but perhaps not, or perhaps
somebody has already experienced/solved it :
Sometimes, the hardware clock of my embedded system goes back to
1970/01/01.
Afterwards, it will restart at 1970/01/01 at each reboot.
When I try the following command :
rtc hw
I have the following message :
rtc: clock not running, Must be set first 0x40
→ What does this message mean ?

For information, after the following command :
rtc -s hw
everything goes back to normal !
can someone enlighten me ?

Regards,
Cyril.


\

Do any other settings get screwed up?

Your CMOS battery may be dead. They’re only good for about 5 years.

“Cyril OTHENIN-GIRARD” <cothenin@bcisa.com> wrote in message
news:arb9b8$ift$2@inn.qnx.com…

Hi

I think this is a BIOS / Hardware issue, but perhaps not, or perhaps
somebody has already experienced/solved it :
Sometimes, the hardware clock of my embedded system goes back to
1970/01/01.
Afterwards, it will restart at 1970/01/01 at each reboot.
When I try the following command :
rtc hw
I have the following message :
rtc: clock not running, Must be set first 0x40
→ What does this message mean ?

For information, after the following command :
rtc -s hw
everything goes back to normal !
can someone enlighten me ?

Regards,
Cyril.


\