To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.pbforthOpen lugnet.robotics.rcx.pbforth in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / pbFORTH / 310
309  |  311
Subject: 
RE: Which terminal on Linux? plus random thoughts.
Newsgroups: 
lugnet.robotics.rcx.pbforth
Date: 
Thu, 4 May 2000 20:50:20 GMT
Viewed: 
1325 times
  
I think that the likelyhood of collisions during a debug session makes
it imperative that the bot's are simply covered when talking to the tower.

Keep it simple, right :-)

I missed that. What do you mean by simply covered.

Umm, I mean cover the tower and the RCX with a box.... :-)

Sergey Udovenko was kind enough to supply XMODEM words
for the last release of pbForth.

I missed that. I thought that was going to be in the
upcoming release. I guess I got it mixed up with
Ernst de Ridder's stuff for code download. Does that
use XMODEM?

No, Ernst's idea has a preamble byte for the transfer, and then the
RCX grabs all of the chars and sums them. If the sum is wrong, then
it NAKs the packet and the host sends it over again.

The beauty is that the preamble byte can't be easily generated from a keyboard
so you can bang away at the RCX using a dumb terminal. When you need the
reliability for a long ASCII text upload, then a Tcl script (or whatever)
with the checksum wrappers works too!

In xsend.txt right? I'll check it out. There's nothing
quite as good as code that is already written and tested.

Yup. The big kernel file in the distribution has this built in already.
You can use it to dump memory and all kinds of other useful stuff.
I use it to send a pre-formatted Srecord file of the firmware image
from the RCX to the host PC. The you download using firmdl or
nqc or whatever.

The little brick has LOTS of room left for cool apps.....

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:
  How much RAM is left?
 
(...) I believe that. 32k of RAM is a luxury for forth. That's another thing people don't generally understand about forth, they way it effectively compresses runtime software. I've heard of ram reductions of a factor of 5-10 for forth when compared (...) (24 years ago, 5-May-00, to lugnet.robotics.rcx.pbforth)

Message is in Reply To:
  Re: Which terminal on Linux? plus random thoughts.
 
(...) I missed that. What do you mean by simply covered. (...) No surprise there. I implemented XMODEM a long time ago on a spectrometer. I don't remember the details but obviously it stayed with me. Besides all protocols tend to look the same at (...) (24 years ago, 4-May-00, to lugnet.robotics.rcx.pbforth)

7 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