This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PC embedded i386 platform : clock runs 28 % too fast ?


On Sat, Mar 19, 2005 at 07:03:10PM +0100, Rob van der Ouderaa wrote:
> Hi,
> 
> Maybe somebody can shed some light on this strange
> behaviour. On an embedded Octagon 2050 PC with an 5x86 (intel compatible)
> CPU running at 128 MHZ
> the sense of time of the Ecos seems to be 28% too fast.
> The Ecos version used is version 2.0.
> 
> >From a rough measurement with a stopwatch the following measurment is taken:
> 
> Real measured time from stopwatch : 180 seconds
> Seconds as returned by the Ecos time() function : 231 seconds
> 
> So the Ecos type of time is too fast. Is there a way to fix this ?

This can be configured

Take a look at the options under

CYGNUM_HAL_RTC_CONSTANTS

You might also find the test program clocktruth useful.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]