This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: RTC doesn't work?
- From: Felix R <felixr at mailinator dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 29 May 2013 08:09:05 -0700 (PDT)
- Subject: Re: RTC doesn't work?
- References: <trinity-78dc2a4e-5962-421a-9887-8c6990220a88-1369770093004 at 3capp-gmx-bs31>
i found a issue in your code, but i this is only a typo in the demo:
while(1)
{
HAL_READ_UINT32(CYGARC_REG_SYSTICK_BASE+CYGARC_REG_SYSTICK_VALUE,
timerVal0);
timerVal*2*= cyg_current_time();
printf("%u\n", timerVal0); //it's okay...i counts down!
printf("%u\n", timerVal*1*); //always 0 :-(
}
--
View this message in context: http://sourceware-org.1504.n7.nabble.com/RTC-doesn-t-work-tp233422p233568.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss