This is the mail archive of the ecos-patches@sourceware.org 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: Support for Olimex LPC-H2294, LPC-E2294, LPC-L2294-1M targets


On Sun, Nov 23, 2008 at 04:02:47PM +0200, Sergei Gavrikov wrote:
> On Sun, Nov 23, 2008 at 02:45:57PM +0100, Andrew Lunn wrote:
> > > All works. Thank you. Tested on OLPCH2294. GDB output
> > > 
> > > INFO:<Testing that watchdog does not fire early>
> > > PASS:<Watchdog OK>
> > > EXIT:<done>
> > 
> > That is not a sufficient test. It only tests the watchdog does not
> > fire. What should also be tested is that the watchdog does fire after
> > the timeout... Try the watchdog_reset.cxx test.
>  
> Hm, never run interactive tests for watchdog before. Thank you for new
> knowledges.

There are a couple if interactive tests, or tests which result in a
reboot/crash etc. These are deliberately not part of the usual tests
because they need human intervention....

> After reset I got next watchdog_accuracy value:
> 
> (gdb) p watchdog_accuracy 
> $1 = 105
> (gdb) 
> 
> Is it normal?

Yes. Anything between 95 and 105 is very good.

     Andrew


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