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 / *2164 (-40)
  USB, Windows, legOS
 
Attention everyone trying or have gotten the USB IR tower to work under windows running legOS. I have some patches from at certain Jin Sato that are supposed to allow one to upload programs and the legOS kernel via the USB IR tower. First off I am (...) (23 years ago, 7-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: legOS on Mac OS X
 
(...) If I remember correctly, the tty devices will block in open() until they see some handshake (perhaps DCD) from the other side, while cu devices open right away and ignore handshake. I'd suggest taking a look at the code that initializes the (...) (23 years ago, 4-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: legOS on Mac OS X
 
(...) 8?) Only suggestion I have here is the Darwin developer mailing list(s). Or even the doco with their version may explain how to build a cross-compiler. They may have removed support, though unlikely if configure accepted the h8 target. They (...) (23 years ago, 3-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: legOS on Mac OS X
 
(...) Dave, first thank you for NQC and its Mac support. If only its collegues weren't such a headache! I am using a serial tower with a Keyspan adapter and the setup works great for NQC following your readme file. I had been wondering though, (...) (23 years ago, 3-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: legOS on Mac OS X
 
(...) I was able to get NQC working with the USB tower under Mac OS X pretty easily. IMHO, support for an application to directly access USB devices is pretty good. If anyone is trying this, feel free to grab the OSX/USB code I wrote for NQC (...) (23 years ago, 3-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: legOS on Mac OS X
 
(...) You mean USB on Mac OS X, or the USB tower specifically on any platform? You are really screwed if you need a serial driver on OS X. Since no serial hardware exists on post-98 Apple machines, OS X omits the legacy serial driver APIs. USB is (...) (23 years ago, 3-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: legOS on Mac OS X
 
(...) Looks like you're probably the first to try this, so good luck! But if the Darwin version of cc can be built to support the h8, you're still gonna have to (most likely) make changes to firmdl & dll programs to get them working with the Mac. Do (...) (23 years ago, 2-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: legOS on Mac OS X
 
I haven't tried this, but, you should probably get the gcc source from the Apple CVS server? (URL) heard that they were folding their Darwin modifications back into the real gcc source, that's why gnu.org isn't shipping it yet. For now the Apple CVS (...) (23 years ago, 2-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: legOS on Mac OS X
 
ROSCO, I realise that would indeed be helpful! Didn't want a long and boring first post however... I've basically having a problem bulding gcc as a cross compiler. I started with the legOS HOWTO pages at (URL) . There it suggests using (...) (23 years ago, 2-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: legOS on Mac OS X
 
(...) Seb, It would help if you posted info about what you've tried, and what the results were. I don't use OS X, but I know a lot about FreeBSD, which by most accounts is fairly close to Darwin. I suspect a few others here know even more 8?) (...) (23 years ago, 30-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: where to buy individual parts?
 
(...) Beware! A normal serial cable, with the attachment screws on each side of the D-shell, doesn't fit down the recess on the back of the tower (or at least, mine doesn't). regards, Ian SMith (23 years ago, 29-Nov-01, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: where to buy individual parts?
 
(...) right. (...) Look here: (URL) lucky, three of them and they even got email (compare that to France where the only Dacta dealer hides behind a fax). (...) Generally yes, though with rotation sensor you might be out of luck. (...) There's (...) (23 years ago, 30-Nov-01, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: where to buy individual parts?
 
One more thing, this is why I am going to move to USA from Japan because I can buy LEGO in cheapest price and fast way, then I can have a big place to test my RCX Controlled LEGO Train Projects, some of them need over 5m x 5m, I have no way to debug (...) (23 years ago, 30-Nov-01, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: where to buy individual parts?
 
If you want to buy something out of USA in (URL) to find a friend in USA and ask she/he repack and send items to you, I did like this. Most of sellers in (URL) can send items to any countries, I did many times. For (URL) discussion with seller, (...) (23 years ago, 30-Nov-01, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: where to buy individual parts?
 
In lugnet.robotics.rcx, Zhengrong Zang writes: There are some problems though... (...) Tends to only offer a very limited range of products (in the UK at least) - trying to get hold of some parts from there, like rotation sensors, seems to be (...) (23 years ago, 30-Nov-01, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: where to buy individual parts?
 
Hi, Try (URL) / (URL) luck! Zhengrong (...) (23 years ago, 30-Nov-01, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Can I use LegOS with CyberMaster?
 
(...) That is not possible, the Cybermaster has the firmware in ROM and very little (a few hundred bytes) RAM. (...) It doesn't. (...) The only one is NQC. Jürgen (23 years ago, 29-Nov-01, to lugnet.robotics.rcx.legos)
 
  Can I use LegOS with CyberMaster?
 
I have CyberMaster and want to program my unit in C++. I use Linux platform. How does the command for Mindstorm work on CyberMaster? Is it other program that I can use? rik (23 years ago, 29-Nov-01, to lugnet.robotics.rcx.legos)
 
  legOS on Mac OS X
 
Has anyone successfully installed legOS on Mac OS X? The OS has a FreeBSD UNIX-based layer, called Darwin, so I've heard that it shouldn't be too hard. Only, I'm finding that it is... My UNIX experience isn't vast, so I feel like I've tried (...) (23 years ago, 28-Nov-01, to lugnet.robotics.rcx.legos)
 
  Compiling or linking problem
 
I am having a problem compiling any program. I'll use helloworld.c that comes with legos as an example. This is the output of my terminal: $ make helloworld.lx /usr/bin/h830-hitachi-hms-ld -T ../boot/legOS.lds -relax -L/usr/lib/legOS/lib (...) (23 years ago, 29-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: floating point operation
 
(...) I suspect that when you look at the assembler code produced by the compiler you will find in the first instance it was able to optimize the FP multiply out of the inner loop since it didn't depend on the loop induction variable. Ie, it simply (...) (23 years ago, 28-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: floating point operation
 
(...) I should clarify that this is true for the first version only. For some reason, the compiler does not optimize the second version in the same way. Anyways, what I see in the disassembly for the first version is a loop to 100 inside a loop to (...) (23 years ago, 28-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: floating point operation
 
(...) Compiler optimization? At least, a disassembly of similar code showed me that that seemed to be the case. The compiler can see that t is not used. Try returning t, or copying t to a global before you return from main. That will make things (...) (23 years ago, 28-Nov-01, to lugnet.robotics.rcx.legos)
 
  floating point operation
 
I did some experiments with floating point operations and I was surprised when I tried this: int main(){ long t1; int i,j; float t; t1 = sys_time; for(j=0; j<1000; j++){ t=0.06; for(i=0; i<100; i++){ t=1.7*t; } } lcd_int((sys_time - t1)/1000); (...) (23 years ago, 28-Nov-01, to lugnet.robotics.rcx.legos)
 
  where to buy individual parts?
 
Hi, My school currently has a robotics course that uses the RIS kits and LegOS. We're trying to expand the size of our class, and consequently need additional parts (and replacements for missing/broken parts) I've looked around on the lego homepage (...) (23 years ago, 28-Nov-01, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  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)


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

Redisplay Messages:  All | Compact

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