To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 592
591  |  593
Subject: 
Re: Problem with downloading large LX files in legOS (patch)
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sat, 18 Dec 1999 13:17:19 GMT
Viewed: 
1321 times
  
Hi Frank,

I had a problem download relative large executables (around 6kb) onto
legOS. It seems that sometimes the acknowledgement is not coming
through. This happens at different times but mostly after 0x0A00 bytes.

Did you try changing end-of-packet timing? This may be due to ringing in
the receiver, or any sort of analogue issue. This may also be the reason
why LEGO is using complement bytes ;-)

The included patch adapts "program.c" so that these old packages are
acknowleged and the transmission will continue. With this patch, I now
can download these larger files in one go instead of retrying and
retrying... ;-)

Yes, this is what I meant to happen.

I also have a question regarding this part of the code: why is the data
copied to the original data space every time a package is received once
the data is present? The patch also fixes this, but I am not quite sure
if this is wanted.

That's definitely a prime example of clueless late-night programming.
I'm glad you found it.

Ciao,

Markus.

--
"Nieder mit den Zitaten!" -Markus L. Noga <markus@noga.de>



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR