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: TFTP implementation



-----Original Message-----
From: Gary Thomas [mailto:gary@chez-thomas.org] 
Sent: Tuesday, August 06, 2002 4:23 PM
To: Agarwal, Lomesh
Cc: eCos Discuss
Subject: Re: [ECOS] TFTP implementation


On Tue, 2002-08-06 at 16:52, Agarwal, Lomesh wrote:
> I am trying to download binary using RedBoot over tftp. Download works ok
if
> file size is less then 16M. As soon as I try to download binary of size >
> 16M load command never returns.
> I am using RedBoot 1.24
> Does anybody know the reason?

Probably because the block number (used to keep track of where in the
file the data lives) is a [signed] short.  I think this would go wrong
right at the 16M boundary.
I couldn't find any variable in tftp_client.c
Can you tell me the name of variable and file name?

Does the RFC (1350 v2 is what we used) allow for files that large?
I looked at the tftp RFC and it doesn't put any restriction on the size of
the file which can be transferred.

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


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