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 / 850
849  |  851
Subject: 
LinuxPPC and "No response from RCX" problem
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Fri, 3 Nov 2000 20:03:43 GMT
Viewed: 
2178 times
  
Hi,

    I recently bought an RIS kit and from my Windows box it works fine. When
I try using LinuxPPC off my PPC Amiga I get the following:

[root] /home/chris/nqc/nqc-2.2.r2 >bin/nqc -v -raw 10
Tx: 55 ff 00 10 ef 10 ef
Rx: 55 ff 00 10 ef 10 ef
Tx: 55 ff 00 10 ef 10 ef
Rx: 55 ff 00 10 ef 10 ef
Tx: 55 ff 00 10 ef 10 ef
Rx: 55 ff 00 10 ef 10 ef
Tx: 55 ff 00 10 ef 10 ef
Rx: 55 ff 00 10 ef 10 ef
Tx: 55 ff 00 10 ef 10 ef
Rx: 55 ff 00 10 ef 10 ef
Tx: 55 ff 00 18 e7 18 e7
Rx: 55 ff 00 18 e7 18 e7
Tx: 55 ff 00 18 e7 18 e7
Rx: 55 ff 00 18 e7 18 e7
Tx: 55 ff 00 18 e7 18 e7
Rx: 55 ff 00 18 e7 18 e7
Tx: 55 ff 00 18 e7 18 e7
Rx: 55 ff 00 18 e7 18 e7
Tx: 55 ff 00 18 e7 18 e7
Rx: 55 ff 00 18 e7 18 e7
No reply from RCX

This happens no matter the ambient illumination - sunlight, artificial tungsten
light, darkness - and the RCX is situated exactly 6 inches from the front of
the IR tower. The only differences here are the computer and OS - everything
else is the same. I've tried doing

stty -a </dev/ttyS0

when nqc is talking to the IR tower and it reports the baud is 2400, is that
correct (there's two different values in the source - 2400 and 9600).

Any suggestions?



Message has 2 Replies:
  Re: LinuxPPC and "No response from RCX" problem
 
(...) Did you set the correct permissions for the serial ports (normally they're only accessible by root under Linux) Do a chmod 777 for /dev/ttyS0 (24 years ago, 3-Nov-00, to lugnet.robotics.rcx.nqc)
  Re: LinuxPPC and "No response from RCX" problem
 
(...) Perhaps timing is a problem. Try: nqc -t 1000 -raw 10 This forces a longer (1 second) timeout per packet instead of the dynamic retry timing. Is the output any different? Echo is coming back from the tower, which means communication between (...) (24 years ago, 4-Nov-00, to lugnet.robotics.rcx.nqc)

11 Messages in This Thread:


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

Custom Search

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