Subject:
|
Re: Problem setting up nqc/ RcxXX
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Fri, 5 Nov 1999 07:08:05 GMT
|
Viewed:
|
887 times
|
| |
 | |
The error message indicates that nqc isn't getting any response at all
from the IR tower. This generally indicates a problem with the serial
port or cable. The near/far setting on the tower, or problems with the
RCX wouldn't result in this error.
You could try another serial port. For example, hook the tower up to
COM2, then use the following command:
nqc -SCOM2 -d test.nqc
There's a green LED inside the IR tower that's visible from the front.
Does this light up when you run nqc? If so, then the problem is most
likely cable related (and on the Rx side of things). If not, then its
either the Tx side of the cable or some incompatability between nqc and
the serial port driver.
Using the verbose option (-v) may shed some more light on the problem:
nqc -v -d test.nqc
It will dump all Tx/Rx traffic to the console. I'm guessing that you'll
see no Rx data at all in the verbose listing.
You can try debugging things without nqc at all. Use a terminal program
and set it for 2400bps, 8 data bits, 1 stop bit, odd parity, no
handshaking. Also disable local echo. With the tower disconnected,
typing in the terminal should result in nothing displayed (if you see
characters displayed then local echo is still on). Now hook up the tower
and try typing. Most of the characters should be echoed back correctly.
If not, then there's a definite problem with the cable and/or tower.
Dave
In article <14370.20647.950944.155646@olive.newcastle.edu.au>, Carsten
Friedrich <friedric@cs.newcastle.edu.au> wrote:
> Hi,
>
> I'm running an NT 4 SL 5 machine and tried to install nqc (202). If I
> try to translate the test program and send it to the rcx I always get:
>
> C:\Carsten\nqc>nqc -d test.nqc
> Downloading Program:error
> Problem talking to IR device
>
> I tried both ports, several IR towers and several RCX. The towers are
> set to close range. I down-loaded the rcx os before using a Windows 95
> machine. Unfortunately I can not use this machine in the long term so I
> have to make it work on my NT machine.
>
> I have a similar problem trying to run RcxXX. It doesn't find the
> robots when starting up. Again using several ports, towers and rcx.
>
> Other people have successfully used the a serial port on my machine
> before. I never tried though.
>
> Any ideas?
>
> Thanks,
> Carsten
--
reply to: dbaum at enteract dot com
|
|
Message is in Reply To:
 | | Problem setting up nqc/ RcxXX
|
| Hi, I'm running an NT 4 SL 5 machine and tried to install nqc (202). If I try to translate the test program and send it to the rcx I always get: C:\Carsten\nqc>nqc -d test.nqc Downloading Program:error Problem talking to IR device I tried both (...) (26 years ago, 5-Nov-99, to lugnet.robotics)
|
2 Messages in This Thread:   
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|