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 / 394
393  |  395
Subject: 
RE: firmdl3 @ 41.13s
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 4 Oct 1999 18:36:30 GMT
Viewed: 
1022 times
  
However.  You might note that rcx_recv specifies an expected
length that is
currently ignored (except to prevent buffer overlow) but could possibly be
used (with a reasonable hack to deal with the ROM bug) to drive nbread to
avoid using the timeout, something like the what rcx_send uses when it
calls nbread.  You'd have to make sure to flush the port after
detecting an
error, just like rcx_send.  This wouldn't be too difficult to add.

Bug, what bug? Have I missed something? My Tcl based uploader broke when
Scriptics released 8.2, and now it works again. Seems I wasn't handling
the rcx_recv parameter in my equivalent functions...

Anyways, could you elaborate on the bug a bit, please? Or point me
to other messages that discuss it. I subscribe to almost the whole
.robotics list, so I shouldn't have missed it...

On a side note, too bad about the Java port. I guess they might have
underestimated the task, or got way too busy doing real work...

Cheers,

Ralph Hempel - P.Eng

--------------------------------------------------------
Check out pbFORTH for LEGO Mindstorms at:
<http://www.hempeldesigngroup.com/lego/pbFORTH>
--------------------------------------------------------
Reply to:      rhempel at bmts dot com
--------------------------------------------------------



Message has 1 Reply:
  Re: firmdl3 @ 41.13s
 
(...) If you deactivate complements or headers in the ROM protocol, then the ROM does not transmit exactly what you might want it to. See the comments for init_serial in lib/rom.h of the Librcx distribution. If you use the default mode settings, or (...) (25 years ago, 4-Oct-99, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: firmdl3 @ 41.13s
 
(...) I'll have to test it out in my office, which has difficult lighting. Errors in transmission can often break things in unexpected ways, leaving you in states that are hard to recover from, often resulting in the downloader aborting after giving (...) (25 years ago, 4-Oct-99, to lugnet.robotics.rcx.legos)

4 Messages in This Thread:

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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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