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 / 332
331  |  333
Subject: 
RE: More linux feedback. firmware upload doesn't work for me.
Newsgroups: 
lugnet.robotics.rcx.pbforth
Date: 
Tue, 16 May 2000 13:38:05 GMT
Viewed: 
1547 times
  
Firmware download is not working. I'm sorry but I never tried this with
the first release. A second problem is that it gives no error message if
the
firmware download fails. I got suspicious because the download was too
fast and the LCD was not counting.

This is wierd. I had it working on my Caldera Linux 2.2 which has TclTk 8.0.4

I'll try again. One of the problems is that I can't seem to get a nice NFS
system running here, and I have to FTP the files around... :-(

I'll try and make a better tarball with the permissions set (hard to do
under WIN) and I'll fix the shell startup too!

Thanks for the effort of debugging this stuff, any pointers on installation
and running this under Linux are much appreciated....

I will debug this later but first some observations. There are many
failure modes. It seems like each time I run it something different.
Here are three sequences:

1) status bar ays deleting firmware
2) Status bar says console ready

The delete firmware did not work. I guess I should mention that
you need to start the RCX up fresh - it does not reload the firmware if
pbForth is already running....

Questions:

Most of the data I see in the window has the high bit set. Isn't
the srec download sending srecords in clear text?

How are you "seeing things in the window" The SREC download sends
a rather complicated sequence of complemented bytes to the RCX.
It's getting a binary image, not an SRECORD file.

How the heck does the delete firmware sequence work when forth is
running? Isn't forth going to try to execute that string? I have
often wished for a forth word or key sequence that deleted forth.
Is this using some secret undocumented method?

Where is the protocol for srec download documented?

On Kekeoa's internals page there is a link to the source of firmdl.c

Not too many people need to know how it works, it's easier to use
firmdl or nqc...

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:
  proposed new word for deleting pbforth
 
It would be handy if there was a word that deleted firmware. It is often inconvenient to get at the batteries. At Kekoa I see the opcode but no rom entry point. Trashing the header in memory and jumping to the reset vector might do it. I wonder if (...) (25 years ago, 16-May-00, to lugnet.robotics.rcx.pbforth, lugnet.robotics.rcx)

Message is in Reply To:
  More linux feedback. firmware upload doesn't work for me.
 
Firmware download is not working. I'm sorry but I never tried this with the first release. A second problem is that it gives no error message if the firmware download fails. I got suspicious because the download was too fast and the LCD was not (...) (25 years ago, 16-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