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 / *559 (-100)
  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)
 
  problem downloading srec file to RCX
 
Bad things happen when I try to use the firmware download tool from the NQC environment to download an SREC file produced by either Web cross compilor. After a long wait, during which the bar graph that tracks loading progress lengthens, I get (...) (25 years ago, 26-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: quick copy of legOS howto?
 
A new copy is now up at www.duke.edu/~liv/HO...OWTO.html. That should be 100% up to date (which is of course out of date, but you get the idea :) Have a good weekend, everyone- Luis (...) ###...### Profanity is the one language that all programmers (...) (25 years ago, 26-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: quick copy of legOS howto?
 
Argh. Sorry about this, folks- no idea what the problem is, and the machine is not remotely accessible in any way, and I'm in at home (in Miami) while the box is still at school (in North Carolina). If you still need a copy, I may be able to find a (...) (25 years ago, 26-Nov-99, to lugnet.robotics.rcx.legos)
 
  more networking questions
 
Will the lnp task which is doing the receiving only wake up the next layer up if the message is properly formed. Currently here is my program -- start of longish bit of code -- #include <conio.h> #include <unistd.h> #include <dsensor.h> #include (...) (25 years ago, 26-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: using lego network protocol + collobartion on project??
 
(...) I am still really battling with this. I have tried to hack the "program.c" which from what I understand is the code that the RCX uses to download legOS onto itself. I have gotten a very small subset of that program to compile but it seems to (...) (25 years ago, 26-Nov-99, to lugnet.robotics.rcx.legos)
 
  using lego network protocol
 
OK after many hardware problems (who says redhat is as easy to install as windows) I have finally gotten a nice copy of legOS 0.2.2 compiled. Anyhow my drving reason for wanting legOS 0.2.2 is so we can do some networking with the 6 RCX's we have (...) (25 years ago, 26-Nov-99, to lugnet.robotics.rcx.legos)
 
  quick copy of legOS howto?
 
Hey guys, For me the link seems to be down to the legOS how-to (just over there on the left hand side of the messages screen :) ). Does anyone have a local copy on their machine that they could send to my email address sort of right now :) I want to (...) (25 years ago, 25-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS 0.2.2 dsound_play ?
 
One of my first goals for the RCX was to try and get it to speak. I talked to Markus about this a long time ago. At the time, he had written the speaker driver but was unable to get much more than noise to come out of it. Perhaps the digital (...) (25 years ago, 25-Nov-99, to lugnet.robotics, lugnet.robotics.rcx.legos)
 
  legOS 0.2.2 dsound_play ?
 
hello again, has anybody got anything else than noise from legOS 0.2.2 dsound_play ? i'm able to compile and dll this little application: #include <dsound.h> #include "sample.h" int main(int argc, char *argv[]) { dsound_play(sample,s...(sample)); (...) (25 years ago, 25-Nov-99, to lugnet.robotics.rcx.legos)
 
  LegOS 2.2 on solaris
 
G'day, I succeeded in compiling and running legOS 1.7 on an intel solaris 2.7 machine. However, as I would like to use the networking features in 2.x, I tried to compile and run 2.2 as well. I can compile the package after modifying loader.c in (...) (25 years ago, 25-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS 0.2.2 on Win95 (almost)
 
Guys, please keep keeping the list (and myself) up to date- I want to make sure the next HOWTO has good win95 instructions from go. -Luis (who may actually work some on the HOWTO this weekend... woohoo!) (...) ###...### Profanity is the one language (...) (25 years ago, 24-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS 0.2.2 on Win95 (almost)
 
Hi Peter, This is just as far as I got too. My next step is going to be to build the compiler with Markus' patch applied. But if you get to it first, that would be swell. Jonathan (...) (25 years ago, 24-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS 0.2.2 on Win95 (almost)
 
Well, i get: loader hostaddr=80 hostmask=f0 portmask=0f delete try 0: ack:0 try 1: ack:0 try 2: ack:0 try 3: ack:0 try 4: ack:0 error deleting program It just occurred to me that i used the pre-built cross-compiler package from Gavin Smyth. I don't (...) (25 years ago, 24-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS 0.2.2 on Win95 (almost)
 
(...) the symptom looks a little like the problems i encountered when i tried to compile legOS with gcc-2.95.2 under linux. The message "error deleting program" most likely means, that it was not possible to get in contact with the RCX at all. Could (...) (25 years ago, 24-Nov-99, to lugnet.robotics.rcx.legos)
 
  LegOS 0.2.2 on Win95 (almost)
 
What i did: 0 Follow HOWTO for 0.1.7 (with 0.2.2 archive of course) 1 Add #define O_ASYNC _FASYNC to ...\cygwin-b20\H-i58...ys\fcntl.h (Thanks Luis Villa) 2 - create a subdirectory under legOS\include named lnp, and move lnp.h and lnp-logical.h from (...) (25 years ago, 24-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS IR comm and debugging tools
 
(...) Yes, do follow this vision. (...) See "info gdb", following the links Targets -> Remote -> Remote Serial. The protocol assumes a serial line, using +/- for acknowledge/nak, single character commands and hexadecimal addresses. There are several (...) (25 years ago, 23-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS IR comm and debugging tools
 
(...) Lorenzo, i also just started with legOS and just thought about exactly the same issue. I'm wondering, if anyone has tried to run gdb in remote mode on the RCX. Imho, this would be the perfect solution... I've never ported gdb-remote to a new (...) (25 years ago, 23-Nov-99, to lugnet.robotics.rcx.legos)
 
  legOS IR comm and debugging tools
 
Hello, as I begin to appearch dangerously the 32 variables limit of nqc on a current project, I have started to approach LegOS. After some apparently common problems, I managed to compile the h8300 programs and compile legOS 0.2.2. The demos work as (...) (25 years ago, 22-Nov-99, to lugnet.robotics.rcx.legos)
 
  Battery Status ?
 
Has anybody figured out the meaning of values got from the BATTERY sensor ? Currently, my little testproggy "cputw(BATTERY>>6);" displays F9, and i guess my batteries are close to their end of life. BTW, if you read this, Markus: The new rotation (...) (25 years ago, 22-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Problem with asm statement in loader.c
 
(...) hmm, i did not have to do that (...) just looked at your original posting and saw you are using glibc-1 -- i guess that's making the difference. In glibc-2.0 headers, O_ASYNC is defined to be 0x20000, and FASYNC is defined as O_ASYNC. (...) (25 years ago, 21-Nov-99, to lugnet.robotics.rcx.legos)
 
  Relocation trunctated to fit (LegOS 0.2.2)
 
Hi all, I overcame my last problem while compiling LegOS 0.2.2 only to be presented with a new one. I assume that these are errors as they are being dumped to sterr. Here is a sample of the errors (?) that are being produced: (...) (25 years ago, 20-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: compiling 0.2.2 (legos.srec)
 
I had same (similar) problem using legOS-0.2.1, I am able to build 0.2.2 without problems... erik (...) (25 years ago, 20-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Problem with asm statement in loader.c
 
hi martin, thanks for the good explanation, that makes the whole problem somewhat clearer to me. yesterday i fetched the egcs-1.1.2 sources, built the crosscompiler with applied interrupt-patch and attached -Dinhibit_libc at the end of CFLAGS. in (...) (25 years ago, 20-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: compiling 0.2.2 (legos.srec)
 
Quickly, before I leave for dinner... I know this has been mentioned here before. Try looking through the archives of it. I'd find it myself, but I'm in a hurry. Good luck- Luis (...) ###...### Profanity is the one language that all programmers (...) (25 years ago, 19-Nov-99, to lugnet.robotics.rcx.legos)
 
  compiling 0.2.2 (legos.srec)
 
Hello all, I have successfully built a cross compiler. However, I am having trouble getting legOS to compile. I am recieving the following error message: [root@localhost legOS]# make for i in util lib boot demo ; do make -C $i || exit -1 ; done (...) (25 years ago, 19-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: O_ASYNC problem (Solaris again)
 
BTW, a really good article on Solaris aio is here: (...) ###...### Profanity is the one language that all programmers understand. -Anonymous ###...### (25 years ago, 19-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Problem with asm statement in loader.c
 
(...) Hi Klaus, first: forget gcc-2.95.2 for CROSS-compiling for the moment, it does NOT work with legOS-0.2.2. You can compile legOS using it, but legOS will hang immediately when you try to download any user program. I guess only Markus is able to (...) (25 years ago, 19-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: O_ASYNC problem (Solaris again)
 
(...) I think it is quite likely that Solaris does not have it- neither Solaris i386 or Solaris Sparc (at least the versions that I have access to) have it. (...) Hmm. O_ASYNC is defined in /usr/include/bits/fcntl.h under Linux. The equivalent file (...) (25 years ago, 19-Nov-99, to lugnet.robotics.rcx.legos)
 
  Problem with asm statement in loader.c
 
hi, as many others, i also want to succeed in building legOS (0.2.2). :) my platform is linux, kernel 2.0.38, glibc1. i've builded binutils-2.9.1.0.25 and gcc-2.95.2 as described in the howto. version 0.1.7 works just fine, but if i attempt to build (...) (25 years ago, 19-Nov-99, to lugnet.robotics.rcx.legos)
 
  O_ASYNC problem (Solaris again)
 
Hi all, We are persisting with our build on solaris for legOS 0.2.2 things are getting closer. We have sorted out the getopt.h problems by just copying the getopt.c and getopt.h into the dll-src directory (because it is a known path for the Makefile (...) (25 years ago, 19-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Notes on WinNT and legOS 0.2.2
 
(...) In fact, as currently configured, building user-land programs also requires one of the perl programs in util, so we can't quite get rid of it yet. Here is my perl analysis- As far as I can tell (via extensive grepping and make-file reading), (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Yippie, heLLo world (was: Re: Kernel dies after loading)
 
Well, Markus is probably better qualified, but I'm going to try to get to it eventually. Don't bet on it for anytime soon- I seem to be getting less and less freetime, instead of more :( -Luis (...) ###...### Profanity is the one language that all (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Notes on WinNT and legOS 0.2.2
 
(...) I think that making .lx files doesn't involve Perl, even though building legOS.srec and the util stuff still uses Perl. This implies that you could distribute a precompiled legOS.srec and a smaller set of tools, sans Perl, for people to build (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Notes on WinNT and legOS 0.2.2
 
Thanks for the notes. I briefly tried to get legOS to compile on NT and gave up before I got as far as you did. Let us know if you get it all working. (...) Joel Shafer joel@connect.net (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Notes on WinNT and legOS 0.2.2
 
(...) It's quite possible that the -nostdinc line will block out the getopt.h mentioned in an earlier post. Could this be what you recall having to move? (...) This would be Markus's bit, but do we have anyone who knows cross-platform make stuff (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: compiling legOS
 
(...) getopt.h is part of the standard gnu C libraries. In a normal Linux system, it is in /usr/include/. What compiler are you using on Solaris? Is it gcc or something else? If it's gcc, then it should be there. IF you are not using gcc, then there (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  Notes on WinNT and legOS 0.2.2
 
No, I don't have it working yet. However, I've made progress, and I thought my experience might be helpful to others who are more savvy with the GNU tools than I am. - I did get everything to compile. As Luis suggested, the -nostdinc flag takes care (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  compiling legOS
 
Hi all, I think we have finally gotten a cross compiler built for Solaris. I am still not 100% sure. I will not say that we have until I have seen a robot driving around the table which has a program written in legOS and downloaded in it. However at (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: argh
 
Hmm. I'm using 2.95.2 and getting all these weird errors. Oh well- I'll report more later. -Luis (...) ###...### Profanity is the one language that all programmers understand. -Anonymous ###...### (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: argh
 
(...) Do you mean gcc 2.95.x ? If so, yes, i did it 2 days ago. The native compiler on my linux box (kernel 2.2.13, glibc 2.0 ) is a self compiled gcc 2.95.1. The cross compiler egcs-1.1.2 for h8300 built without problems on this machine, and i was (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  argh
 
So, I have a quick question: has anyone built egcs 1.1.1 or 1.1.2 with gcc 2.9.5? I'm getting some very weird errors when I try to build the cross compiler- basically, it appears that the parser is trying to read certain comments as assembly (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
 
  rotation sensors
 
Hello, one of my beautiful new rotation sensors was jammed right out of the box. I built a robot to try out dynamic equilibrum, i.e., balancing a weighted stick, only to notice that my construction didn't turn at all because of sensor friction. (...) (25 years ago, 17-Nov-99, to lugnet.robotics.rcx.legos)
 
  dkey_multi (was: Kernel dies after loading)
 
(...) Now I know what makes the RCX freeze: On my RCX , the variable dkey_multi, which stores the status of the keys, always has the first bit (0x1) set. This causes the debounce loop at boot up to hang, because it thinks that the On-Off key is (...) (25 years ago, 17-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: I love my mailbox
 
(...) I have to comment here that the O'Reilly "The Unofficial Guide to LEGO® MINDSTORMS™ Robots" (By Jonathan B. Knudsen, 1st Edition October 1999, 1-56592- 692-7, Order Number: 6927, 266 pages, $24.95) is one of the best "tech" books I've read in (...) (25 years ago, 16-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: I love my mailbox
 
Gee. I need to write a book for O'Reilly... or at least an OS... -Luis (...) ###...### Profanity is the one language that all programmers understand. -Anonymous ###...### (25 years ago, 16-Nov-99, to lugnet.robotics.rcx.legos)
 
  I love my mailbox
 
Look what I got in the mail today: two rotation sensors, courtesy of O'Reilly. Thanks, guys! Now to fix that driver for good... Markus. (25 years ago, 16-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS on Win95
 
(...) There was a report at one point that someone could get the cross-compiler running on Solaris, but that never materialized. My own half-hearted attempts built binutils (a beta version which might not have actually worked anyway) but never made (...) (25 years ago, 16-Nov-99, to lugnet.robotics.rcx.legos)
 
  legOS on Win95
 
Hi We are a couple of 4th year Computer Science students who have been given the enviable task of programming a set of 6 RCX's to do something "impressive" (please forward any cool ideas for a project to michael.yates@studen...le.edu.au) anyhow in (...) (25 years ago, 16-Nov-99, to lugnet.robotics.rcx.legos)
 
  Yippie, heLLo world (was: Re: Kernel dies after loading)
 
Hi Luis, i got thes egcs-1.1.2 sources today and rebuilt the cross-compiler and legOS and -- it works now. Thanks a lot for your help !! Could you perhaps give me a starting point to get some understanding of how legOS works internally ? (25 years ago, 16-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Kernel dies after loading (was: Re: legOS-0.2.2)
 
(...) A quick grep of the sources show that only a few things (other than lnp, which depends very heavily on interrupts) need the interrupts- task visualization and sound appear to be the two victims. If you don't need these and don't want to worry (...) (25 years ago, 15-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Kernel dies after loading (was: Re: legOS-0.2.2)
 
(...) In theory, everything should work with an unpatched cross compiler, too. legOS code checks a preprocessor define, CONF_RCX_COMPILER, I think, to determine whether patched or unpatched compilers are used. The problem is, I don't have an (...) (25 years ago, 15-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Kernel dies after loading (was: Re: legOS-0.2.2)
 
As I understand it, the patch provides support for interrupts, which, at least from my glance over the code, are necessary only for LNP stuff. (Markus, feel free to correct me on this.) So, it will compile with your "old" cross compiler and provide (...) (25 years ago, 15-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Kernel dies after loading (was: Re: legOS-0.2.2)
 
(...) does this mean legOS will or at least should compile and run without the patch ? if that's true -- what is the actual effect of the patch ? (25 years ago, 15-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS on Mac
 
Chris, check if gnu tools (gcc and binutils) is available for MAC, I guess they are: (URL) says: ---...--- Newsflash: gcc is included in Mac OS X Server after all. Apple just renamed it to cc. To make apps see gcc, open a terminal and type: ln -s (...) (25 years ago, 15-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Kernel dies after loading (was: Re: legOS-0.2.2)
 
Don't know much about the compiler differences (except that I thought most of the 1.1.2->2.9.5 differences would mainly cause compile-time failures, not run-time) but I have compiled every legOS thing I've done (including 0.2.1) with 1.1.2. I have (...) (25 years ago, 15-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: Kernel dies after loading (was: Re: legOS-0.2.2)
 
(...) Hello Heiko & all other brave legOS'sers, i think i got some ideas related to my (and maybe someone else's) troubles. gcc 2.95.2 with Markus's patch applied looks like having general problems... I downloaded the legOS kernel contained in the (...) (25 years ago, 15-Nov-99, to lugnet.robotics.rcx.legos)
 
  Kernel dies after loading (was: Re: legOS-0.2.2)
 
Hi, if I am not wrong, I have a problem similar to Martin's: When I load the legOS-0.2.2 kernel to the RCX, the kernel dies leaving "on -" on the LCD. It doesn't accept any key input, only removing the batteries helps. When I nevertheless try to (...) (25 years ago, 14-Nov-99, to lugnet.robotics.rcx.legos)
 
  legOS on Mac
 
Hello, I've decided to post this question since I've not found the answer so far in previous posts. Has anyone expolored building a legOS system on the Macintosh? I've just entered the world of RC, and am intrigued by the possibilities of using (...) (25 years ago, 14-Nov-99, to lugnet.robotics.rcx.legos)
 
  legOS-0.2.2 and C++
 
in the old legOS-0.1.7 there was this first-c++ demo program. I don't see it in latest version of legOS. however the sensor class is still there... what's the status on all this (parts of legOS being in C++)? does it work at all? (yes, I can try it (...) (25 years ago, 13-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS-0.2.2
 
Hi Markus, sorry for the delayed response, but finally i'm back: (...) i found a way that may be somewhat cleaner, by separating the lnp related header files needed by the utilities from the libc stuff: created a directory in legOS/include named (...) (25 years ago, 12-Nov-99, to lugnet.robotics.rcx.legos)
 
  legOS
 
I'm looking for a complete package which includes all the tools I need to work with legOS on a Windows95 platform (or DOS). Something for a beginner if you like... Anyone know where to find this? CU Bert Lego robots and artificial intelligence (URL) (...) (25 years ago, 11-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: communication PC <-IR-> RCX
 
Hi Pavel, check out the program loader. Basically, you have to register your own port handler for incoming packets on the PC. You should also acknowledge them in some way, so the RCX knows what's going on. Maybe IR networking should become secure. (...) (25 years ago, 11-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: communication PC <-IR-> RCX
 
(...) You can use lnp_logical_write. But - the IR tower automatically turns off if nothing has been sent through it, so in order to see the data coming in, you have to keep sending something through the tower. [...] -- Regards, Modemch (25 years ago, 11-Nov-99, to lugnet.robotics.rcx.legos)
 
  communication PC <-IR-> RCX
 
Does anybody have an example of a LegOS program that sends data back from the RCX to the PC? Is this possible also with SPIRIT.OCX poll/datalog protocol? Tnanks, Pavel. e-mail: petrovic@ifi.ntnu.no (25 years ago, 11-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS-0.2.2
 
Hi Martin, the FD_ZERO bug sounds interesting. Maybe there's a way to work around this issue in a more portable way? Like, remove /usr/include from the Makefile and hope for the best? The debugging output shows that the host is sending packets and (...) (25 years ago, 9-Nov-99, to lugnet.robotics.rcx.legos)


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

Redisplay Messages:  All | Compact

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