[ECOS] PC embedded i386 platform : clock runs 28 % too fast ?

Andrew Lunn andrew@lunn.ch
Mon Mar 21 13:22:00 GMT 2005


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



More information about the Ecos-discuss mailing list