|
|
Hi,
has anybody taken a look at the ROM of the RCX 2.0?
Are there any significant changes?
I'm looking in particular for changes in addresses of routines
or data areas that could lead to interoperability problems.
Jürgen
--
Jürgen Stuber <stuber@loria.fr>
http://www.loria.fr/~stuber/
|
|
|
Michael,
I may not be much help as I only use my laptop for downloading programs, not
development, and my serial port is built-in.
Is there any message when it fails to connect, or not?
Does it fail immediately, or timeout after a wait?
Do firmdl3 & dll fail the same way, or different symptoms?
Try looking in /var/log/messages for any info. Also try logging kernel debug
messages using syslog - a line like:
kern.debug /var/log/kernel.debug
in syslog.conf may give more info (don't forget to killall -HUP syslogd!)
Post the results here, and someone may be able to pick the problem.
HTH
ROSCO
In lugnet.robotics.rcx.legos, Michael Wisse writes:
> Hallo!
>
> Has anybody experiences with legos on notebooks?
>
> I want to use legos under linux on a notebook computer. I use a serial
> pcmcia card from socket communications. The serial port is configured as
> ttyS0 (irq 4 and io-adr. 0x03f8 are configured correct by pcmcia
> manager).
> The infrared tower is found by firmdl3 or dll, but it does not get a
> connection to
> the rcx.
> (I have the same problems with nqc.)
>
> The basic settings for this serial port seem to be o.k. under linux, I
> can control an external modem with this port and connect to an isp.
>
> Only with the legos tools (and nqc) it does not work. Perhaps there are
> some special settings to do under linux with setserial for this port?
>
> Thanks for advice and best regards.
>
> Michael Wisse
>
> Hochschule Harz
> D-38855 Wernigerode
|
|
|
Looks like the data is getting garbled.
One guess would be that the port (under Linux) isn't handling odd parity
with 8 data bits correctly. Is there any way you could connect this to
another computer using a null modem? Preferably, use another machine/OS
that can reliably communicate with the RCX. Let's say machine A is your
current one, and B is the second one...
1) type 'nqc -v -raw 10' on B, but don't press <return>
2) type 'nqc -v -raw 10' <return> on A
3) press <return> on B
(the idea is to have B's nqc command run right after A's starts
running). Do the same test but with starting B just before A. e-mail
me the log (or post them here) and I'll try to figure out what is wrong.
Dave Baum
Make sure to
In article <3B7A7177.503CF1A5@hs-harz.de>, Michael Wisse
<mwisse@hs-harz.de> wrote:
> Hallo!
>
> Has anybody experiences with nqc for linux on notebooks?
>
> I want to use nqc under linux on a notebook computer. I use a serial
> pcmcia card from socket communications. The serial port is configured as
> ttyS0 (irq 4 and io-adr. 0x03f8 are configured correct by pcmcia
> manager).
> The infrared tower is found by nqc, but it does not get a connection to
> the rcx.
>
> The batteries of rcx and tower are ok, if I use nqc for win32 under
> WINDOWS 2000 over this pcmcia serial port, nqc has no problems to find
> the rcx.
>
> The basic settings for this serial port seem to be o.k. under linux, I
> can control an external modem with this port and connect to an isp.
>
> Only with nqc it does not work. Perhaps there are some special settings
> to do under linux with setserial for this port?
>
> Here is the output from nqc under linux (Dave adviced to add this):
>
> micha@spock:~ > nqc -v -raw 10
> Tx: 55 ff 00 10 ef 10 ef
> Rx: 00 ff 00 00 07 80 f7 ff
> Tx: 55 ff 00 10 ef 10 ef
> Rx: 00 ff 00 00 07 80 f7
> Tx: 55 ff 00 10 ef 10 ef
> Rx: 00 fe 00 00 07 80 e6
> Tx: 55 ff 00 10 ef 10 ef
> Rx: 00 ff 00 00 07 80 e6
> Tx: 55 ff 00 10 ef 10 ef
> Rx: 00 ff 00 00 07 80 f7
> Tx: 55 ff 00 18 e7 18 e7
> Rx: 00 ff 00 18 c6 10 c6
> Tx: 55 ff 00 18 e7 18 e7
> Rx: 00 ff 00 18 c6 10 c6
> Tx: 55 ff 00 18 e7 18 e7
> Rx: 00 ff 00 18 c6 10 c6
> Tx: 55 ff 00 18 e7 18 e7
> Rx: 00 ff 00 18 c6 10 c6
> Tx: 55 ff 00 18 e7 18 e7
> Rx: 00 ff 00 18 c6 10 c6
> No reply from RCX
> micha@spock:~ >
>
> Thanks for advice and best regards.
>
> Michael Wisse
> Hochschule Harz
> Fachbereich Automatisierung und Informatik
> Friedrichstraße 57-59
> D-38855 Wernigerode
--
reply to: dbaum at enteract dot com
|
|
|
Hallo!
Has anybody experiences with legos on notebooks?
I want to use legos under linux on a notebook computer. I use a serial
pcmcia card from socket communications. The serial port is configured as
ttyS0 (irq 4 and io-adr. 0x03f8 are configured correct by pcmcia
manager).
The infrared tower is found by firmdl3 or dll, but it does not get a
connection to
the rcx.
(I have the same problems with nqc.)
The basic settings for this serial port seem to be o.k. under linux, I
can control an external modem with this port and connect to an isp.
Only with the legos tools (and nqc) it does not work. Perhaps there are
some special settings to do under linux with setserial for this port?
Thanks for advice and best regards.
Michael Wisse
Hochschule Harz
D-38855 Wernigerode
|
|
|
Hallo!
Has anybody experiences with nqc for linux on notebooks?
I want to use nqc under linux on a notebook computer. I use a serial
pcmcia card from socket communications. The serial port is configured as
ttyS0 (irq 4 and io-adr. 0x03f8 are configured correct by pcmcia
manager).
The infrared tower is found by nqc, but it does not get a connection to
the rcx.
The batteries of rcx and tower are ok, if I use nqc for win32 under
WINDOWS 2000 over this pcmcia serial port, nqc has no problems to find
the rcx.
The basic settings for this serial port seem to be o.k. under linux, I
can control an external modem with this port and connect to an isp.
Only with nqc it does not work. Perhaps there are some special settings
to do under linux with setserial for this port?
Here is the output from nqc under linux (Dave adviced to add this):
micha@spock:~ > nqc -v -raw 10
Tx: 55 ff 00 10 ef 10 ef
Rx: 00 ff 00 00 07 80 f7 ff
Tx: 55 ff 00 10 ef 10 ef
Rx: 00 ff 00 00 07 80 f7
Tx: 55 ff 00 10 ef 10 ef
Rx: 00 fe 00 00 07 80 e6
Tx: 55 ff 00 10 ef 10 ef
Rx: 00 ff 00 00 07 80 e6
Tx: 55 ff 00 10 ef 10 ef
Rx: 00 ff 00 00 07 80 f7
Tx: 55 ff 00 18 e7 18 e7
Rx: 00 ff 00 18 c6 10 c6
Tx: 55 ff 00 18 e7 18 e7
Rx: 00 ff 00 18 c6 10 c6
Tx: 55 ff 00 18 e7 18 e7
Rx: 00 ff 00 18 c6 10 c6
Tx: 55 ff 00 18 e7 18 e7
Rx: 00 ff 00 18 c6 10 c6
Tx: 55 ff 00 18 e7 18 e7
Rx: 00 ff 00 18 c6 10 c6
No reply from RCX
micha@spock:~ >
Thanks for advice and best regards.
Michael Wisse
Hochschule Harz
Fachbereich Automatisierung und Informatik
Friedrichstraße 57-59
D-38855 Wernigerode
|
|
|