To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3210
3209  |  3211
Subject: 
linux and the USB IR Tower
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sat, 29 Mar 2003 05:38:44 GMT
Viewed: 
3473 times
  
Hi,

I have been trying to use my lego mindstorms kit along with the USB IR
Tower in linux.  I have had limited success.  I managed to patch the
distribution so that firmdl3 recognizes the usb device.  I compiled a
module for the USB tower device.  It shows up in "/dev/usb/lego0" and I
made a link at "/dev/legotower0".

Here is the output of firmdl3 when I try to download the brickOS kernel.

/usr/local/bin/firmdl3 -u --tty=usb -d -v brickOS.srec
using priority scheduling
attempting to init in fast mode
mode = fast
testing if tower is alive in fast mode...sendrecv 1:
attempting to set timeout to 50
recvlen = 7
R 0000: 55 ff 00 ef  10 ef 10
status = no error
yes
attempting to download firmware image in fast mode
sendrecv 6:
recvlen = 0
status = no response from rcx
recvlen = 0
status = no response from rcx
recvlen = 0
status = no response from rcx
recvlen = 0
status = no response from rcx
recvlen = 0
status = no response from rcx
recvlen = 0
status = no response from rcx
recvlen = 0
status = no response from rcx
recvlen = 0
status = no response from rcx
recvlen = 0
status = no response from rcx
recvlen = 0
status = no response from rcx
status = no response from rcx
/usr/local/bin/firmdl3: delete firmware failed

Here is some info about my system:
GCC: 3.2.2
binutils: 2.13.90.0.18
linux-flavor: gentoo
kernel-version: 2.4.20
brickOS version: CVS

I am trying to use the patch found on the sourceforge site, dated
2002-09-11.  The Request ID is 608191, and it was submitted by cfriesen

Has there been any progress made on the linux usb situation?

The firmware is hosed after I attempt the download.  Lego application
needs to restore it the next time that I attempt to download a program.

Has this problem been seen before?

Thanks,
Dan



1 Message 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