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 / *2139 (-40)
  Re: Problems with the USB tower
 
Hi!Hary,I am sorry I replied to your mail from outside the lugnet list.Please reply to the list and I will make sure that I don't mess up. Regards, Rajendra (...) (23 years ago, 27-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Problems with the USB tower
 
Where'd you the get the patch for LegOS that can use the USB tower? - Hary (...) (23 years ago, 24-Nov-01, to lugnet.robotics.rcx.legos)
 
  Sound driver and implementation
 
I found the sound driver and implementation in old version (0.2.0 below) is different from current version, I am not famlair about music and sound generating concept, does anyone give me some explanation? Thanks a lot! Zhengrong (23 years ago, 20-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Problems with the USB tower
 
(...) Yes. (...) Currently there isn't, see my posting (URL) Jürgen Stuber <stuber@loria.fr> (URL) (23 years ago, 18-Nov-01, to lugnet.robotics.rcx.legos)
 
  Problems with the USB tower
 
Hi!Everyone, I was trying to download the kernel to the RCX but the errors I get are something like this: -When I do ./firmdl3 ../legOS.srec I get the message: ./firmdl3:tower not responding. -When I do ./firmdl3 --tty=usb ../legOS.srec I get: (...) (23 years ago, 17-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: How do I use WinLNP?
 
Tom, I'm struggling with WinLNP too. Tried to compile the LegoStudio prog in VC++6, but keeps hanging up. Don't think my old laptop is up to VC++6, or maybe I need the patch that is mentioned in other messages. In the meantime I have been using the (...) (23 years ago, 16-Nov-01, to lugnet.robotics.rcx.legos)
 
  How do I use WinLNP?
 
Hi, Is there any instructions on WinLNP out there besides the ones on the homepage. I am kind of confused by them. Also, can anyone direct me to RCX talker? I have heard it mentioned a few times and it sounds like it is all I need, however I cannot (...) (23 years ago, 15-Nov-01, to lugnet.robotics.rcx.legos)
 
  compile multiple source files
 
Hello i see this post: (URL) to compile multiple source files, but i don't understand the changes to take to do, i see two parts: Makefile Fragment and Makefile.user patch, but My "Makefile.user" look a little bit diferent. I'm running legOS-0.2.4 (...) (23 years ago, 15-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Still having problems with helloworld.c
 
Thanks John! I will see if that works.I had almost given up and Mike was helping me set up the whole thing again alongwith the USB patch. Regards, Rajendra (...) (23 years ago, 15-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Still having problems with helloworld.c
 
Hi, I had the same problem you did and traced it back to a faulty line in loader.c (which contains makelx's main()). In revision 1.3 and earlier of that file you can find the following toward the end of the file: if(argc-optind<3 || lx.text_size==0) (...) (23 years ago, 15-Nov-01, to lugnet.robotics.rcx.legos)
 
  Battery eliminator?
 
Hi, I was looking at a webpage about a battery eliminator for a 1.5 rcx. It had a transformer and a voltage regulator and some dowel lengths to fit into the battery compartment. Can someone give me the webpage(or something similar) for this, I can't (...) (23 years ago, 14-Nov-01, to lugnet.robotics.rcx.legos)
 
  Still having problems with helloworld.c
 
Hi! I tried changing the path for KERNEL in makefile from Demos directory and giving the path for legOS there.Now I get a different message when I do 'make'.It says 'No rule to make target'?!Now is there any way I could solve this.If I download the (...) (23 years ago, 8-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS USB Support (for RCX 2.0)
 
I would love a copy of your USB source! So far I haven't had any luck communicating with the USB tower using my own code, so any help you can give me would be greatly appreciated. Do you have it posted somewhere or would you prefer to email it to me (...) (23 years ago, 7-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: How do I find my kernel size?
 
(...) As you might have thought: No it is not. Full name: Motorola S-Record Format The S-record standard is as follows: S<type><length><addr...<checksum> S4<length><address><...<checksum> Where: type is the record type. Where: 0 starting record (...) (23 years ago, 7-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: How do I find my kernel size?
 
You can comment CONF_LNP, this can save many memory. Zhengrong (...) (23 years ago, 7-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: How do I find my kernel size?
 
You have to comment CONF_PROGRAM if you commented CONF_TM, but I am not sure if you still can download your program without CONF_PROGRAM. I don't think you can comment CONF_TM. Zhengrong ---...--- (...) (23 years ago, 7-Nov-01, to lugnet.robotics.rcx.legos)
 
  How do I find my kernel size?
 
Hi, Is the kernel size simply the size of the legos.srec file? I thought so initially, however my legos.srec file is 18800(or close to) and im pretty sure ive allocated more than than 19k using dynamic memory. Obviously this is more than 32k in (...) (23 years ago, 7-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: About LNP_HOSTADDR & LNP_HOSTMASK
 
The only concern that I would have with this kind of an implementation is that if you plan on changing your brick's LNP address, you have to remember what address it used to be while you're downloading a program. It's not a huge deal, but it's an (...) (23 years ago, 6-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: About LNP_HOSTADDR & LNP_HOSTMASK
 
Well, I will try to make a patch for this modification. Zhengrong (...) (23 years ago, 6-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: About LNP_HOSTADDR & LNP_HOSTMASK
 
looks fine to me. not a bad idea! -albert "Zhengrong Zang" <mikezang@iname.com> wrote in message news:GMBBt6.C4J@lugnet.com... (...) (23 years ago, 6-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: corect me please
 
I think you actually want dll -r10 the -r flag specifies which RCX to download the specified program to. you need the 10 because it is read in as a hex address. When you use (...) basically, whatever you set the HOSTADDR to, needs to match what you (...) (23 years ago, 6-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Unable to compile helloworld.c
 
Addendum: It seems bad to put legOS under /usr/lib. Please get a fresh legOS.tar.z from legOS.sourceforge.net and install it in your user home directory. (for me, that means in /home/obi. So legOS home is /home/obi/legOS at my linux system) You will (...) (23 years ago, 5-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Unable to compile helloworld.c
 
(...) <sigh> I'm not sure either. Actually no idea so far. It seams that makelx is called with wrong parameters. But why? Did you successfully made the demos in the demo dir? (...) That puzzles me, too. The compiler and the binutils come as a rpm (...) (23 years ago, 5-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Unable to compile helloworld.c
 
Well!I looked in the makefile and couldn't see anything wrong with the path.As for having legOS under usr/lib, it was done at the time of installing the rpm and I hadn't specified any path.Now,I tried copying config.h and putting it in the 'include' (...) (23 years ago, 5-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Unable to compile helloworld.c
 
(...) The error messages state that helloworld includes conio.h which tries in line 41 to include config.h. Helloworld includes unistd.h which includes time.h which tries in line 32 to include config.h. So, conio.h, unistd.h and time.h are found, (...) (23 years ago, 5-Nov-01, to lugnet.robotics.rcx.legos)
 
  About LNP_HOSTADDR & LNP_HOSTMASK
 
I found these MACROs are only used in lnp.c as below: kernel/lnp.c: lnp_buffer[3]=LNP_HOSTADDR | (srcport & LNP_PORTMASK); kernel/lnp.c: if(LNP_HOSTADDR == (dest & LNP_HOSTMASK)) {... You have to recompile legOS as this reason, if we can use two (...) (23 years ago, 5-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: corect me please
 
You need to use util/dll -r1 boot/brick1.lx or Try for help util/dll Zhengrong (...) (23 years ago, 5-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Unable to compile helloworld.c
 
Mike, I made the changes in the Makefile by removing rover.lx and others.I didn't have to change the path of KERNEL or other Makefile files as the Project directory is in legOS directory.This time when I tried make helloworld.lx, I get the following (...) (23 years ago, 5-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Unable to compile helloworld.c
 
Michael explained very detail, you can do as below if you don't want to do too complex: Make your Project directory inside ../legOS directory, copy Makefile from demo to Project directory, change PROGRAMS=helloworld.lx rover.lx linetrack.lx (...) (23 years ago, 5-Nov-01, to lugnet.robotics.rcx.legos)
 
  corect me please
 
Thanks Bill with your help the code Albert gave me compiles nicely! Now i (...) //This is what I tried in LegOS/boot/config.h: #define CONF_LNP_HOSTMASK 0xf0 #define CONF_LNP_HOSTADDR 0x10 //Then in a cygnus window I created a kernal make realclean (...) (23 years ago, 4-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Unable to compile helloworld.c
 
(...) Ok. Now lets look at your "projects" dir. You take helloworld.c from demo and put it into "projects". Then you also put the Makefile you find in the demo dir into "projects", so you have two files: helloworld.c and Makefile. You now must edit (...) (23 years ago, 4-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Unable to compile helloworld.c
 
Ok let me explain the whole process that I did.I downloaded the .rpm files for legOS,binutils and egcs and installed them.After that according to the HowTo documentation I wanted to test the compiler by compiling a simple program.I looked into the (...) (23 years ago, 4-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Unable to compile helloworld.c
 
What do you mean Project directory? there is no this directory if I remember! Zhengrong (...) (23 years ago, 4-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Unable to compile helloworld.c
 
I compiled in the Project directory. -Rajendra (...) (23 years ago, 4-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Unable to compile helloworld.c
 
did you compile in demo directory? Zhengrong -------- (...) (23 years ago, 4-Nov-01, to lugnet.robotics.rcx.legos)
 
  Unable to compile helloworld.c
 
Hi! I was trying to compile the helloworld.c program by using "make helloworld.lx" but I get an error "make:*** No rule to make target 'helloworld.lx'.Stop." I had placed helloworld.c file alongwith Makefile.common in /usr/lib/legOS/Project (...) (23 years ago, 4-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: legOS codeI need example code of rcx2rcx communication.
 
(...) Chris, First, I think the code in the main function should be as follows: int main( int argc, char* argv[] ) { char buf[256]; int len; //notice the variable i is missing lnp_address_set_handler( 1, port_handler ); while(1) { len = (...) (23 years ago, 30-Oct-01, to lugnet.robotics.rcx.legos)
 
  Re: legOS codeI need example code of rcx2rcx communication.
 
Albert, Thanks for responding to my post! I had trouble compileing the code maybe you could help or e-mail me the original.Thanks here is the error report: brick1.c: In function `read_from_ir': brick1.c:40: warning: passing arg 1 of `memcpy' di rget (...) (23 years ago, 29-Oct-01, to lugnet.robotics.rcx.legos)
 
  Re: Couldn't download egcs files
 
Quoting Rajendra Kumar Penugonda : (...) How can I get those files?Also I was able to download the binutils (...) "/usr/local/crossgcc...-hms/lib", depending the way you unpacked the archive. Remember that the tar command can not set the first '/' (...) (23 years ago, 28-Oct-01, to lugnet.robotics.rcx.legos)
 
  Adjust Switch Time
 
When you made a Motorized Switch Point, if you want to use RCX to control it, this switch time is important value, a suitable time is better to switch point. You can find my AdjustSwitch.c for legOS, that can help you to do this. (URL) (23 years ago, 28-Oct-01, to lugnet.robotics.rcx.legos, lugnet.trains)


Next Page:  5 more | 10 more | 20 more | 40 more

Redisplay Messages:  All | Compact

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