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 / 856
855  |  857
Subject: 
Re: LinuxPPC and "No response from RCX" problem
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Sat, 4 Nov 2000 19:49:37 GMT
Viewed: 
4891 times
  
In article <G3IDHA.Cpo@lugnet.com>, "Chris"
<chris@starforge.demon.co.uk> wrote:

> In lugnet.robotics.rcx.nqc, Dave Baum writes:
> > 
> > Do you have a second computer (running a different OS) with a terminal
> > program handy?  If so, hook the two up with a null modem cable.  Hack
> > RCX_Link::Open() to write an ascii string (e.g. "Hello World") to the
> > port after opening and setting the speed.  Make sure the terminal on the
> > second computer is set for 2400 baud, 8 data, 1 start, 1 stop, odd
> > parity.  See if "Hello World" comes through...if not, then the parity is
> > probably not happening (try using no parity on the terminal to verify).
> 
> This helped me track down the problem - the minute I add the odd parity
> bit the serial driver changes the word length from 8 to 7. Doesn't look
> like I can do much about it from the Linux side either.


This may not be a driver bug - it may be a hardware limitation.

AFAIK, parity is most commonly used with 7 bit words - support for a
ninth bit (8 data plus parity) is poor or non-existant on some UARTs.

Dave

--
reply to: dbaum at enteract dot com



Message has 1 Reply:
  Re: LinuxPPC and "No response from RCX" problem
 
(...) Nope, I've written a program to send messages to the RCX (like the send.c program on RCX Internals) for the Amiga side - I can boot into LinuxPPC or AmigaOS - and that works fine. If I can work out the format of the image files nqc generates (...) (26 years ago, 5-Nov-00, to lugnet.robotics.rcx.nqc)

Message is in Reply To:
  Re: LinuxPPC and "No response from RCX" problem
 
(...) This helped me track down the problem - the minute I add the odd parity bit the serial driver changes the word length from 8 to 7. Doesn't look like I can do much about it from the Linux side either. :( Thanks for the help everyone, looks like (...) (26 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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

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