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 / *564 (-40)
  Re: LegOS 0.2.2 on Win95 (almost)
 
That's exactly what i did: egcs 1.1.2 with Mumit Khan's patches for windows and Markus' patch for enhanced RCX interrupt support. I'll get instructions on getting LegOS 0.2.2 to work on Win95, along with a binary of the compiler and the diffs for (...) (25 years ago, 10-Dec-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS 0.2.2 on Win95 (almost)
 
No! No! I mean, yes, do try it again (someone), just not with 2.9.5- there have been reported problems with 2.9.5's treatment of assembler. Rebuild it with 1.1.2 + patch- that is known to work. Then let me know- I'll host it for you. -Luis (...) (...) (25 years ago, 10-Dec-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS 0.2.2 on Win95
 
Well, in the meantime, i built one on WinNT. The build always failed on Win95. Tried Canadian cross on Linux and i too gave up in frustration. But now that i have one built, i'll put it up on a webpage tomorrow. First, i'm gonna check the files it (...) (25 years ago, 10-Dec-99, to lugnet.robotics.rcx.legos)
 
  chaning the host address in LNP
 
OK. The initial stuff I have done with the Java interface to LNP just addresses different "ports" to the host address 0. Each of the RCX's on the Lego Network Protocol network had host addredss 0 and port 1,2,3,4 depending on which brick they were (...) (25 years ago, 10-Dec-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS 0.2.2 on Win95 (almost)
 
Peter Van der Beken wrote in message ... [snip] (...) from (...) . Yes, the compiler I built doesn't have the patch - it's also egcs 1.1.2 rather than gcc-2.95.2. This isn't going to change quickly because unfortunately I don't have access to a (...) (25 years ago, 10-Dec-99, to lugnet.robotics.rcx.legos)
 
  Re: LNP collision detection Bug found and fixed
 
(...) it is already defined this way... indeed it looks like egcs for h8300 treats char as unsigned by default. look at the following test proggy... char ch; void showbug(void) { if (ch < 1) ch=-2; } ... and the disassembled code (...) (...) (25 years ago, 10-Dec-99, to lugnet.robotics.rcx.legos)
 
  Re: rotation sensors in legOS 0.2.2
 
(...) I'm pretty sure that the battery-power thing is not legOS specific- over the summer, I noticed that at low battery the raw values themselves increase (weird- I'd expect a decrease) and that throws off the sensor detection. Presumably (...) (25 years ago, 9-Dec-99, to lugnet.robotics.rcx.legos)
 
  Re: LNP collision detection Bug found and fixed
 
(...) It shouldn't matter if it does. More likely, it seems to me, is that TX_COLL is defined like this: #define TX_COLL -1 in which case, the offending statement becomes: tx_state=-1; which is old-style for: tx_state-=1; (should generate a (...) (25 years ago, 9-Dec-99, to lugnet.robotics.rcx.legos)
 
  Re: rotation sensors in legOS 0.2.2
 
(...) Hi Michael, i also tried the new sensor code and it seems to work for me. I noticed the rotation sensor to stop working properly with nearly exhausted batteries, but i think that's a minor issue, maybe it's not legOS specific. (...) well, most (...) (25 years ago, 9-Dec-99, to lugnet.robotics.rcx.legos)
 
  rotation sensors in legOS 0.2.2
 
Has anyone out there successfully had a rotation sensor running in legOS 0.2.2 I have had a quick look through the last few posts I could find on lugnet and we have recompiled legOS to include the updated dsensor.c and dsensor.h code found on the (...) (25 years ago, 9-Dec-99, to lugnet.robotics.rcx.legos)
 
  Re: dll problems
 
(...) I had this same problem yesterday when I had the IR tower in long range mode and had the RCX quite close to the tower. If its not in long range mode sometimes I have to turn the RCX off and then turn it back on again before dll will (...) (25 years ago, 8-Dec-99, to lugnet.robotics.rcx.legos)
 
  dll problems
 
Hi, guys. I've got legOS compiled and running pretty happily on a redhat 6.0 and a 6.1 machine, after some fussing with settings, i've figured out that it wants to use /dev/ttyS1 for the serial port... however, once the firmware is downloaded, i (...) (25 years ago, 8-Dec-99, to lugnet.robotics.rcx.legos)
 
  LNP collision detection Bug found and fixed
 
Hi there, i just found an evil little bug in lnp ( or maybe it's actually a bug in gcc ). The problem is the definition of tx_state as char, and compare operations like if (tx_state < TX_ACTIVE) . The compiler generates wrong code for this (...) (25 years ago, 8-Dec-99, to lugnet.robotics.rcx.legos)
 
  Re: firmdl3 problem? - Tower not responding
 
(...) "Tower not responding" really means that it can't write to the tower. Check batteries and the range. (...) Weird. As far as I can tell, exit is called correctly in all circumstances where "tower not responding" could be generated. (...) Again, (...) (25 years ago, 7-Dec-99, to lugnet.robotics.rcx.legos)
 
  firmdl3 problem? - Tower not responding
 
Hi.. I am having problems making firmdl3 work.. I have compiled it on a Linux box (Mandrake 6.0) and I get 'tower not responding' but the LED is coming on.. Also, after that error message, control does not return to the terminal. After playing (...) (25 years ago, 7-Dec-99, to lugnet.robotics.rcx.legos)
 
  simple beep
 
Is there a clear way to just create a brief beep or tone in legOS-0.1.7? I've never really looked through the direct-sound code, and one of my fellow students wants an answer NOW- so I thought I'd ask here before digging into the code. Anyone? (...) (25 years ago, 6-Dec-99, to lugnet.robotics.rcx.legos)
 
  Want rover.lx compiled on linux
 
Hi, i'm trying to track down the problems i have to download rover.lx to my rcx on Win95 (i get 'unable to load legOS executable from rover.lx'). So i have a little request: i would like a copy of rover.lx compiled on linux with egcs-1.1.2 (with the (...) (25 years ago, 6-Dec-99, to lugnet.robotics.rcx.legos)
 
  LNP not multitasking proof ?
 
Hi there, during my study of LNP i just stumbled across a point where i doubt it's not multitasking proof. it's related to transmissions of lnp-messages. lnp_logical_write() is ok, it waits for semaphore tx_sem at the beginning and posts the (...) (25 years ago, 2-Dec-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS 0.2.2 on Win95 (almost)
 
I have helloworld.lx running on my rcx, compiled and downloaded with legOS 0.2.2 on cygwin and Win95! Rover.lx doesn't work right now, don't know why yet (i get 'unable to load legOS executable from rover.lx'). I had to use a little workaround. (...) (25 years ago, 1-Dec-99, to lugnet.robotics.rcx.legos)
 
  IR proximity
 
I've managed to get a proximity detection working in legOS, using egcs 1.1.1 as the cross compiler. It has a very short range, and I haven't yet tested if the NQC variants have better range. If that is the case, I believe somebody will have to fix (...) (25 years ago, 1-Dec-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS 0.2.2 on Win95 (almost) - NOT
 
I finally succeeded in compiling an egcs-1.1.2 compiler for cygwin with the patch for enhanced RCX interrupt support applied. The bad news is: this doesn't change a thing. I still get "error deleting program". I can see the send light on the tower (...) (25 years ago, 1-Dec-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS 2.2 on solaris
 
G'day, (...) Do you know if/how they were able to fix the problem? Btw. I used binutils 2.9.1 and gcc 2.95.2 (with the patches for the interrupts applied) to create the legOS and gcc 2.8.1 to build the cross compiler. Carsten (25 years ago, 1-Dec-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS 2.2 on solaris
 
(...) You're right, that's the echo of what you're sending. This looks suspiciously like the problems many people had with gcc-2.9.5 compiled legOS on regular Linux boxes, you know. Maybe you should try downloading a kernel known to work? Markus. (25 years ago, 30-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS 2.2 on solaris
 
Hi Luis, thanks for your help. I tried both versions, the one using aioread and the one using the ioctl. Both run better than before, but still don't work (both give similar results). I now get signaled when I can read from the serial port, but what (...) (25 years ago, 30-Nov-99, to lugnet.robotics.rcx.legos)
 
  RE: problem downloading srec file to RCX
 
(...) Since I use nqc for non-standard firmware uploads, I vote for 3), with a command line option to suppress in 2) You can never have enough command line options, right? Cheers, Ralph Hempel - P.Eng ---...--- Check out pbFORTH for LEGO Mindstorms (...) (25 years ago, 30-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: problem downloading srec file to RCX
 
Dave ... although at this point I'm not using non-standard firmware, I'd like to cast my vote for option (2). The command line may be a bit "unwieldy", but (2) gives the best solution. Thanks, - Nick - Dave Baum wrote: [snip] (...) (25 years ago, 30-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: problem downloading srec file to RCX
 
(...) In the process of adding support for quad-speed download to nqc I noticed a bug in the firmware download code that caused problems with short downloads. This may (or may not) account for your problem. Either way, the bug will be fixed next (...) (25 years ago, 30-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Play tunes with legOS: "Wir sind die Roboter"
 
Cool. There is something quite appropriate about using a lego to play Kraftwerk :) -Luis (...) ###...### Profanity is the one language that all programmers understand. -Anonymous ###...### (25 years ago, 30-Nov-99, to lugnet.robotics.rcx.legos)
 
  Play tunes with legOS: "Wir sind die Roboter"
 
well, yesterday i promised to post some header file that makes it easy to program the sound timer for playing tunes in a memory saving way - here it is. ( see below, file notedefs.h ) the numbering scheme is N_<key>[m]_<number_of_octave> N_A_0 (...) (25 years ago, 30-Nov-99, to lugnet.robotics.rcx.legos)
 
  linux->solaris porting info
 
To whom it may concern: (I think this means Carsten :) This was the response I got from our resident Solaris/Linux god, conveniently named Karsten. He believes this one-line fix should have similar behavior. I can't test it (haven't been able to get (...) (25 years ago, 29-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: problem downloading srec file to RCX
 
Yes, I encountered the same thing with nqc. However, the download works fine with firmdl.exe. Jonathan (...) (25 years ago, 29-Nov-99, to lugnet.robotics.rcx.legos)
 
  HOWTO back up
 
Sorry about the brief outage. The HOWTO is back up (though still not up to date.) Luis ###...### Profanity is the one language that all programmers understand. -Anonymous ###...### (25 years ago, 29-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS 2.2 on solaris
 
Carsten- I asked a local solaris guru, and he wrote me what could be a helpful note on solaris aio. I've filed it (apparently) in the wrong folder, but I'll try to post it tomorrow. He seems to believe that it wouldn't be all that hard to make the (...) (25 years ago, 29-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Play tones with legOS !
 
I can't think of any possible reason why I would ever use this, but it is still cool... it's great to come back and see that people (other than Markus) have been working on stuff. My two cents on all of that tomorrow- -Luis (...) ###...### Profanity (...) (25 years ago, 29-Nov-99, to lugnet.robotics.rcx.legos)
 
  Play tones with legOS !
 
Because dsound_play currently doesn't work for me, and because i wanted to make some noise under legOS with little memory and CPU footprint, i wrote a little function that plays arbitrary tones without using interrupts. I allows to play any (...) (25 years ago, 29-Nov-99, to lugnet.robotics.rcx.legos)
 
  Even more networking stuff
 
OK, So I finally got LNP to do something :) I have a very simple program on one rcx which sends out something to another rcx which the second rcx gets in. Its a good first step :) However being the difficult people we are we would like to be able to (...) (25 years ago, 28-Nov-99, to lugnet.robotics.rcx.legos)
 
  RE: problem downloading srec file to RCX
 
(...) Just because it compiled, and is from a book, does not mean it is compiled correctly. Once again, please try and load the LEGO firmware using all of the tools. Once this works, grab a known good alternate SRECORD file like Kekoa's little LCD (...) (25 years ago, 27-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: problem downloading srec file to RCX
 
(...) PROGRESS REPORT: Problem persists when I try to download the SREC file for a (successfully compiled) slightly larger program (~30 lines) given on p200 of Knudson's book. (25 years ago, 27-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: more networking questions
 
(...) Your msg is propably not well formed enough. Just fetch a copy of nqc_src_1.2 or higher (unix, mac and lesser OS-es available) and you end up with a command ./nqc -msg XXX where XXX is a magic number :-) Which translates to a valid msg. If you (...) (25 years ago, 26-Nov-99, to lugnet.robotics.rcx.legos)
 
  RE: problem downloading srec file to RCX
 
(...) Ok, the first thing I would do is that the known good firmware (firm0309.lgo) loads with all of the tools that you are interested in. The next thing is that any custom image you put in the RCX may or may not respond to the delelte firmware (...) (25 years ago, 26-Nov-99, 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