[En-Nut-Discussion] Always getting the same time using time() call

Ole Reinhardt ole.reinhardt at embedded-it.de
Thu Jul 10 16:13:04 CEST 2008


Hi,

> if it is on a different board, I will ask if RTC has its oscillator running.

It's on the original ethernut3. Harald just pointed out the problem. I
did not write a correct time to the rtc after power fail and in this
case the rtc reports always the same time. I was not aware that he time
is always queried from the rtc. I thougt there would be a seperate
system timer that is only synchronised on startup (like it is done on
most other machines).

Bye,

Ole

-- 
 _____________________________________________________________
|                                                             |
| Embedded-IT          Hard- und Softwarelösungen             |
|                                                             |
| Ole Reinhardt        Tel. / Fax:        +49 (0)271  7420433 |
| Luisenstraße 29      Mobil:             +49 (0)177  7420433 |
| 57076 Siegen         eMail:    ole.reinhardt at embedded-it.de |
| Germany              Web:         http://www.embedded-it.de |
|                      UstID / VAT:       DE198944716         |
|_____________________________________________________________|




More information about the En-Nut-Discussion mailing list