RTC bsp trouble.
joel.sherrill at OARcorp.com
Thu Jan 29 15:59:34 UTC 2004
Leon Pollak wrote:
> I don't know what CPU and board do you use. The problem I saw with RTC in
> MPC860 was that RTC has 1 sec resolution, while RTEMS has theoretically
> unlimited resolution and is used also for system scheduling. I should say
> that TOD in RTEMS is more "buy product" rather then real target...:-))
The TOD routines Cedirc is referring to attempt to synchronize
RTEMS internal TOD to that in an RTC.
You are right that the internal TOD is strictly an internal
counter that is updated.
I will try to read the thread more fully and see if I can spot
where Cedric's linker issue it.
> On Thursday 29 January 2004 16:30, Cedric Aubert wrote:
>>I try to had a rtc driver into my bsp, and I have some
>>trouble with it.
>>First question, I understood that RTEMS only use the
>>clock ticks to do it's
>>it doesn't use the rtc at all. Am I right ?
>>In fact in need to use (in my application) the
>>setRealTimeFromRTEMS() from my rtc driver to
>>synchronise RTEMS tod and RTC
>>Am I right?
>>In fact I use the generic rtc driver with
>>provided in libbsp/shared. I make a tod directory, had
>>it to configure, bsp
>>and wrapup makefile.
>>Now my trouble is in my application compilation, I
>>can't link with
>>and setRealTimeFromRTEMS() and rtc_initialize
>>(undefined symbol) , in fact
>>all function in the generic rtc
>>driver provide in libbsp/shared/tod.c
>>Did I make some mistake or miss something ?
>>Or should am I wrong by using this function in my
>>Thanks a lot
>>Ingenieur Recherche et Developpement
>>SDEL Controle Commande
>>D2A - Rue Nungesser et Coli
>>44860 Saint Aignan de Grand Lieu
>>Tel : +33 (0)2 40 84 50 00
>>Poste : 5109
>>Fax : +33 (0)2 40 84 51 10
>>E-mail : cedric_aubert at yahoo.fr
>>Web : http://www.sdelcc.com
>>Do you Yahoo!?
>>Yahoo! SiteBuilder - Free web site building tool. Try it!
More information about the users