To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 18308
18307  |  18309
Subject: 
lego USB IR Tower
Newsgroups: 
lugnet.robotics
Date: 
Sun, 7 Jul 2002 21:05:33 GMT
Viewed: 
804 times
  
Hi all,
I tried out the Ryan Simmons's instructions in order to have my lego USB
IR tower working under Linux OS. Everything seems to have been installed
properly but when I tried to download legOS firmware with firmdl3 I
got the following output:

command: firmdl3 --debug -s ../../boot/legOS.srec

output:
--------------------------------
mode = slow
sendrecv 1:
recvlen = 0
status = no response from rcx
recvlen = 0
status = no response from rcx
recvlen = 0
status = no response from rcx
recvlen = 3
R 0000: ff 00 00
status = bad response from rcx
recvlen = 3
R 0000: ff 00 00
status = bad response from rcx
status = bad response from rcx
mode = fast
sendrecv 1:
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
firmdl3: no response from rcx
---------------------------------

It seems that every time firmdl reads from the usb driver to get a
response, if not a timeout occurs (this is most frequent case), the read
bytes would be lesser than the threshold of 5 bytes. This threshold
(probably the smallest valid packet length) is checked inside
*rcx_recv* which resides in *rcx_comm.c*. The related code follows:

if (msglen < 5 || (msglen - 3) % 2 != 0)
    return RCX_BAD_RESPONSE;

I tried also to increase the timeout but nothing essential happened.

Has anyone experienced something alike or succeeded in
making this patch working? Any help is welcome.

Regards,
Dimitrs Economou.



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
16 hours ago
Custom Search

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