[ECOS] Re: timeout in tftp_client_test.c

Andrew Lunn andrew.lunn@ascom.ch
Tue Apr 22 12:31:00 GMT 2003


On Tue, Apr 22, 2003 at 07:06:23AM -0400, HG wrote:
> > > the test tftp_get test seems to work ok for small files , smaller than
> about
> > > 3k
> > > (the ecos reference manual refers to 32k as the limit)
> >
> > 32K? Thats wrong. Its more likely to be a few megebytes.
> 
> the 32k limit refered in the manual is probably  from this particular
> test program that has a 32k buffer defined

OK

> the ecos configuration is for an application running out of ram (the test
> prog)
> that uses the Redboot vectors that are for a rom startup
> Any possibility that a romram startup is required instead to run this test
> program???? The timeout seems to indicate that something is not fast
> enough?

Unlikely. The timeouts are generous. 5 seconds between retries. After
5 retries for the same block, or 50 retries it total, it gives up.

It seems more likely you are loosing packets somewhere. Try some
simple ping tests to make sure your Ethernet device driver does not
have a problem.

     Andrew


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



More information about the Ecos-discuss mailing list