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 / 2799
2798  |  2800
Subject: 
Re: some problems changing CONF_LNP_HOSTADDR
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 26 Aug 2002 15:51:12 GMT
Viewed: 
2113 times
  
./dll -p1 -r 10--tty /dev/ttyS0 ../projects/test_program.lx
i had not used the -r option before, but using it made me able to upload
my program.. my problem now is that the program on the RCX hangs as soon
as


Hey Ken, I had similar troubles when trying to do development for multiple bots
and different LNP addresses.  What I found was that I needed to do a fresh
recompile of the entire legOS project whenever I changed the LNP ID, as well
recompiling my program.  You'd need to do this each time you download to a
different bot :(

In responce to this anoyance I created a patch for the legOS kernel and the dll
utility which allows you to reset the LNP ID once the firmware if loaded,
rather then at compile time.  In my opinion this makes multi robot development
much simpler, and doesn't require all the constant recompiles.  The patch was
against legOS 0.2.6, but it may apply cleanly to 0.2.4?  It turns out that
someone with CVS access added a similar feature shortly after and it should be
in the head revision of legOS but not in 0.2.6.  Our features and
implementation were nearly identical so either is a good option.  If you want
to try mine as a patch then look in the patches section of the legOS page (not
the new brickOS page).

mark



Message has 1 Reply:
  Re: some problems changing CONF_LNP_HOSTADDR
 
hi there, and thnx for the quick reply! so changing the CONF_LNP_HOSTADDR, rebuilding legOS and *.lx program and then download both should work ? oki, ill give it a try tomorrow when i have access to the RCX's. ill also look into the patches you (...) (22 years ago, 26-Aug-02, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  some problems changing CONF_LNP_HOSTADDR
 
hi all. im currently using legOS 0.2.4.(on linux) i have created a communication algorithm builing on lnp_addressing_write for use with multiple RCX's and as such i need to differ between them. this i thought i could do by changing the (...) (22 years ago, 26-Aug-02, to lugnet.robotics.rcx.legos)

3 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
    

Custom Search

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