To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 434
433  |  435
Subject: 
Re: Curious problem with download
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Thu, 3 Feb 2000 17:07:58 GMT
Viewed: 
3006 times
  
In lugnet.robotics.rcx.nqc, Dave Baum writes:
In article <Fp6tH4.7wp@lugnet.com>, "Pete Johnson" <pete@sei.com>
wrote:

I wanted to follow-up on my first message with more information in the
hopes
someone can help.

I have been having problems with downloading to my RCX. I started trying
NQC on
a mac and this did not work.  I then ported NQC to Solaris and had some
initial
success, but there were still some problems (see below). I then borrowed
a
friends RCX in an attempt to see if was my RCX or the setup, and his RCX
worked fine with my mac and NQC. His RCX did not work with NQC and my
solaris
port.

I then tried my RCX with his PC and the Mindstorm software and everything
worked
fine!


Offhand, I'd suspect that the problem is either interference from
lighting in the room, or perhaps your IR tower is 'marginal'.  From your
tests so far it doesn't sound like the problem follows either a specific
computer or an RCX.

Minimize the amount of sunlight since it tends to interfere quite a lot.
Room light (especially from flourescent lights) typically isn't as big a
problem, but you may want to try the test with lights off to see if this
helps.

Unfortunately, the problem is not ambient light. I was trying this in a dark
room at night. The only light source in the room was the monitor. I really think
we can rule out the tower since my friends RCX loads with my IR tower just fine,
and my RCX does not. His RCX works with my mac and IR tower. I think the problem
lies clearly with my RCX.


Has there been a design change introduced recently in the RCX? If so, the
new
Mindstorm firmware would recognize both the old and new versions, and the
third
party software might not. This would account for the symptoms.


The RCX was changed slightly, but the ROM is still the same (at least it
carries the same version number and Lego is still shipping the same
firmware for it).

--

Try running NQC in verbose mode (-v) and sending me the logs for when a
problem happens...

nqc -v -firmware FIRM0309.LGO

I will do this. It is strange that the only way I can download is with Solaris
using the verbose option, and then only if I turn on the RCX after nqc starts.
Is there some initial thing that is downloaded by NQC that could cause the
problem, and when I turn the RCX on after NQC starts the download it misses the
initial portion.


You can also try messing with the timeout value to see if it helps (you
specify the timeout in milliseconds rather than letting NQC use its own
adaptive algorithm):

nqc -t 1000 -firmware FIRM0309.LGO

I have tried the -t with no effect.

Dave Baum


Thanks very much for your help! I will be sure to post a message about the
eventual solution.

-Pete



Message has 2 Replies:
  RE: Curious problem with download
 
(...) Don't forget that your monitor may also interfere with the download. I've had problems go away when I put the RCX/tower away from the front of my monitor... Cheers, Ralph Hempel - P.Eng ---...--- Check out pbFORTH for LEGO Mindstorms at: (URL) (...) (25 years ago, 3-Feb-00, to lugnet.robotics.rcx.nqc)
  Re: Curious problem with download
 
(...) NQC will first attempt to 'ping' the RCX, but if this fails I'm pretty sure it will give up completely. However, each command that is sent is retried several times (with increasing timeouts for each try) until an acknowledgement is heard. Its (...) (25 years ago, 4-Feb-00, to lugnet.robotics.rcx.nqc)

Message is in Reply To:
  Re: Curious problem with download
 
(...) Offhand, I'd suspect that the problem is either interference from lighting in the room, or perhaps your IR tower is 'marginal'. From your tests so far it doesn't sound like the problem follows either a specific computer or an RCX. Minimize the (...) (25 years ago, 2-Feb-00, to lugnet.robotics.rcx.nqc)

10 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