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 / *3359 (-100)
  Re: Programming in Assembly
 
Ok, the motor stuff makes sense, I got a little confused with the shift thing. I looked at the proggamming manual some more and it explaned the @ (Register inderect) but I don't see why it is needed, also in you example you specify the data as (...) (21 years ago, 18-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Programming in Assembly
 
A direct link to the page with the documents is (URL) Jürgen Stuber <stuber@loria.fr> (URL) rot 13 "fr" "se" (21 years ago, 17-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Programming in Assembly
 
(...) You should look at Kekoa Proudfoots documentation of RCX internals ((URL) and his librcx library to understand the calling convention for the ROM. Then get yourself the H8300 tools (gcc et al) somewhere, this includes assembler and (...) (21 years ago, 16-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Programming in Assembly
 
(...) mentioned previously) that describes the on chip I/O features of the H8 if you plan on doing any work with the sensors. (...) to (...) that (...) To turn on motor C forward you would do this: mov #0x02,r0h mov r0h,@0x80:8 The second (...) (21 years ago, 17-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Programming in Assembly
 
Cool, thanks I was able to find the doc here: (URL) post about the motor seems helpful, so if I understand right the way to run motor A forward would be "mov 0x030003,r0h mov 0x80,r0h" and for the motor C the same except 0x06? How does the (...) (21 years ago, 17-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Programming in Assembly
 
Here's a more direct link for the H8 docs: (URL) down to the literature section and download the two PDFs. For assembly, I would recommend starting off with an installation of BrickOS and perusing the various source code files for the kernel. You'll (...) (21 years ago, 16-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Programming in Assembly
 
(...) find the old documentation files is a bit tricky, it took me some time to figure them out. Anyway, take a look at: (URL) look at the product list. Regards, Michael (21 years ago, 16-Jul-03, to lugnet.robotics.rcx.legos)
 
  Programming in Assembly
 
I was interested in writing some assembly code for the lego mindstorm, I don't plan on writing an incredibly complex program though. I am learning asm for the z80 chip so I have a little experience. I only want a single threaded application with one (...) (21 years ago, 16-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Modifying the BrickOS source code
 
Thanks Joe, it makes sense now and I understand it is something that is difficutl to explain esp, through a message board. Thanks for helping me out... Mike (21 years ago, 15-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Modifying the BrickOS source code
 
Here is a visual representation: [ KERNEL ]mm_start[ HEAP ] The heap will contain ALL of the following: User Programs, User Allocated memory, Kernel allocated memory (not including static/global variables and constants). The only thing that is prior (...) (21 years ago, 15-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Modifying the BrickOS source code
 
(...) Thanks for the description Joe, but in the above paragraph you seem to contradict yourself, you say that mm_start is the end of kernel mode, but alos that user programs are located above mm_start I do not understand that part, did you mean (...) (21 years ago, 15-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Modifying the BrickOS source code
 
Mike, IIRC, mm_start is the beginning of the heap. When the system or a user program requests memory (new in C++ or malloc/calloc in C) the memory is taken from this block (from mm_start to the end of memory) What might be confusing is how the (...) (21 years ago, 15-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Modifying the BrickOS source code
 
Thanks to all with the help, I finally got my new News setup info (my original login wasnt working so I had to re-sign up but it took about 2 weeks to hear from lugnet, so Charlie posted some stuff for me). I am looking at mm.c for my project and I (...) (21 years ago, 15-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: BrickOS motor-output: Subject to change?
 
Do you use another firmware downloader besides firmdl3? Recent changes to BrickOS changed the memory layout a bit and this could be an issue. For example, I just discovered that the nqc firmware downloader doesn't like firmware files with (...) (21 years ago, 15-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: BrickOS motor-output: Subject to change?
 
Hi, I remember. I have tried brickOS 0.2.6.10 but I had problems with downloading the firmware. I was unable to get the new kernel into the RCX. I do not have this problem with 0.2.6.9. Thanks, Dietmar (...) [...] (...) [...] (21 years ago, 14-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Help with lnp
 
(...) (URL) the latest 0.2.6.10 version. Regards, Michael (21 years ago, 9-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Help with lnp
 
I guess I should have been more specific initially. Our question, more precisely, is which version of brickOS can we use on regular redhat linux? We will use your directions as well, but what we were really stuck on was which of the brickOS versions (...) (21 years ago, 9-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Help with lnp
 
Hello Katie, (...) A good decision. (...) To install software on (RedHat) Linux, you will use a program called rpm. Rpm is a packet manager; it can install new programs, you can ask rpm if a package is installed, you can update an existing package (...) (21 years ago, 8-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Help with lnp
 
(...) So if you don't want to take the time to configure linux, then you can perhaps try to download legnoppix. Legnoppix is a linux distribution bootable on CD you don't need any installation and it include all lego tools available in linux (not (...) (21 years ago, 8-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: BrickOS motor-output: Subject to change?
 
Hi Dietmar, Have you tried brickOS 0.2.6.10? Code was added to that version to address this issue. Mark "Dietmar Cordes" <cordes@lepomux.org> wrote in message news:3F0A7BA7.207050...mux.org... (...) (21 years ago, 8-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Help with lnp
 
(...) We finally decided to take the time and use Linux to try and get lnpd working. Although we are not familiar with Linux, our professors are helping us. Our main problem now though is the installation of brickOS. I know this should be an obvious (...) (21 years ago, 8-Jul-03, to lugnet.robotics.rcx.legos)
 
  BrickOS motor-output: Subject to change?
 
Hello, while doing some testing with data transfer wia the motorport of the RCX, I had (again) the problem that the output at full speed (255) is not a constant DC-output. Does anyone have a good solution for this already and will it be part of the (...) (21 years ago, 8-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: robot as input device
 
> I assume you want to use the RCX and sensors to collect data and plot/export/do (...) Yes I would like to use sensor data to control objects in a VR-Framework. So it would be possible to use lego RCX data and map it on input device data of the (...) (21 years ago, 7-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: robot as input device
 
(...) I assume you want to use the RCX and sensors to collect data and plot/export/do calculations using these data. RoboLab Investigator (software) does that. You can have a bot roam around, collect sensor data of all kinds, and upload it to your (...) (21 years ago, 7-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: robot as input device
 
(...) I don't really understand what you want to do ...... nanobapt (21 years ago, 7-Jul-03, to lugnet.robotics.rcx.legos)
 
  robot as input device
 
Hi, I am not familiar with LegOS but I would like to use the robot as an input device and get all sensor values. Is it possible? regards, kristian (21 years ago, 7-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Modifying the BrickOS source code
 
(...) But remember that changes in the brickOS files and therefore in the resulting brickOS code will allmost certainly crash the user programs. With every new brickOS version you must recompile the user programs that should run on the brick. (...) (21 years ago, 4-Jul-03, to lugnet.robotics.rcx.legos)
 
  USB tool under linux
 
Hello there .... I'm really interest about driving the lego USB tower but I need some help :) Is someone know how work the USB tower ? How pilot it ? For the camera I've found a better module than the qce-ga one ! The qc-usb is really better (I've (...) (21 years ago, 2-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Modifying the BrickOS source code
 
(...) Actually, you don't need to do all that. For the last few versions of BrickOS, things are different. The first time you install BrickOS, you: $ cd /brickos-0.2.6.10 $ configure $ make If everything has been installed correctly, you will find a (...) (21 years ago, 2-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Modifying the BrickOS source code
 
(...) This is my friend writing this time becuase he lost his user info for lugent and is trying to become a member but he hasnt gotten an email back from the system so he is having me do the asking: Thanks for the help guys. I am going to edit a (...) (21 years ago, 2-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Help with lnp
 
To all, Paolo has done some work with upgrading the lnpd software to run under cygwin. You can search the newsgroup for information about this. And I have taken this work and I am working to bring it back into the brickOS code source. But I am (...) (21 years ago, 2-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Help with lnp
 
(...) I may try this. It looks like the problem is that the files are in the wrong place. I am going to try to fix this problem, but I may use your idea. You have tried it and it works? I am not that familiar with Java, but may be able to figure out (...) (21 years ago, 1-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Modifying the BrickOS source code
 
(...) If he wants to do this, he should better have a good understanding of programming in C and Operation System design. Debugging an OS is a hard job. (...) I am under the impression that you don't have any knowledge of how to handle a UNIX style (...) (21 years ago, 1-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Modifying the BrickOS source code
 
(...) If you have installed and built the unmodified BrickOS then you are ready to go. At the very end of the build after you built/instaled the cross compliter and BirckOs source you executed a make command. When you did this you got a whole bunch (...) (21 years ago, 1-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Help with lnp
 
And legnoppix ? What about this solution ? nanobapt (21 years ago, 1-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Modifying the BrickOS source code
 
(...) The build system is not particularly complex. $ ./configure $ make You will, of course, have to either build or install prebuilt cross compiler binaries first. Info on the brickOS website, ask here if you run into problems. I'm not quite sure (...) (21 years ago, 1-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Help with lnp
 
(...) Katie, I am also doing a project which envolves getting information from the RCX using the BrickOS and Cygwin. I tried the same approach with using the Linux files but, I found another way to get information. If your familiar with Java you can (...) (21 years ago, 1-Jul-03, to lugnet.robotics.rcx.legos)
 
  Modifying the BrickOS source code
 
Hey, My friend and I are tring to modify the BrickOS memmory management for a computer Science senior project. I am trying to help him out with it. We are wondering if anyone can give us some information on how we can edit the source code and then (...) (21 years ago, 1-Jul-03, to lugnet.robotics.rcx.legos)
 
  Re: Help with lnp
 
(...) Hello katie, Have you read on my page How to comile it ? :) liblnp.h call function from the lib. You not only need to include this file ! you need the library ! Download it here : (URL) need to run lnpd before run your program Oh I just see (...) (21 years ago, 30-Jun-03, to lugnet.robotics.rcx.legos)
 
  Help with lnp
 
Hello, I am currently in the middle of a research project using Mindstorms robots. We are using brickOS and are working on algorithsm for dispersion. One thing that would be handy to do, however, is be able to record the path the robot takes and (...) (21 years ago, 30-Jun-03, to lugnet.robotics.rcx.legos)
 
  display driver data segment
 
hi folks ! can anyone explain me how the lcddata segment is used in legos ! it seems to me there are some routines which use the rom and some which dont. especially i dont get that the conio.c accesses with the dlcd_* functions the lower lcd data (...) (21 years ago, 26-Jun-03, to lugnet.robotics.rcx.legos)
 
  realloc in legos(brickOS)
 
can someone please help this guy? ive been out of the loop for some time and really dont know if anyone has made any realloc functions for legos (working in 0.2.6). below is the email he sent me. his email address is: renespanw@hotmail.com regards (...) (21 years ago, 23-Jun-03, to lugnet.robotics.rcx.legos)
 
  Re: Error linking c++ with gcc 3.3
 
No, I'm sorry, it doesn't seem to quite work. But it does get rid of the 3 errors at the bottom - Now it's just the operator new/delete stuff. I replaced the stub.c with the thing below, made libc++.a, and just make in lib/c++, and then go to demo (...) (21 years ago, 19-Jun-03, to lugnet.robotics.rcx.legos)
 
  Re: Error linking c++ with gcc 3.3
 
(...) You should add -fno-rtti -fno-exceptions to the CXXFLAGS in Makefile.common. To get rid of the operator new/delete errors you can replace lib/c++/stub.c with a stub.cpp containing the following. Don't forget to update the Makefile. This works (...) (21 years ago, 18-Jun-03, to lugnet.robotics.rcx.legos)
 
  Re: OS X Complier problems solved--now struggling with BrickOS
 
(...) The only time(s) I encountered this type of issue were when I compiled the .srec with different set of compiler settings (or with a different set of header files) than what was used for compiling the Demo/Application code. For instance, if I (...) (21 years ago, 17-Jun-03, to lugnet.robotics.rcx.legos)
 
  Re: OS X Complier problems solved--now struggling with BrickOS
 
(...) As for this one, I thought I linked the library statically so you wouldn't require it. Oh well, I'll fix that and let people know when I've updated it. You shouldn't need to install the libraries to use the tools. Michael (Zapp not van der (...) (21 years ago, 17-Jun-03, to lugnet.robotics.rcx.legos)
 
  Re: OS X Complier problems solved--now struggling with BrickOS
 
(...) <<snipped>> (...) <<snipped>> (...) I've gotten the same error with gcc 3.2.3 that I compiled and gcc 3.2.2 that the other Michael compiled. I couldn't get gcc 3.3 to compile on my machine. Running gcc -v I get the following responses: (my (...) (21 years ago, 17-Jun-03, to lugnet.robotics.rcx.legos)
 
  Re: OS X Complier problems solved--now struggling with BrickOS
 
(...) No, they aren't problems in your end, and no, they're also not gcc's fault. LegOS uses a now unsupported extension to C: multi-line strings. The way they can be made to work is by inserting \n\ on the end of the offending lines. I did this to (...) (21 years ago, 17-Jun-03, to lugnet.robotics.rcx.legos)
 
  Re: OS X Complier problems solved--now struggling with BrickOS
 
In lugnet.robotics.rcx.legos, Rich Warren wrote: ... (...) Well, it must be something weird then, what compiler *is* Michael's compiler? (gcc 3.2.3? what?) After all, all cross-compilers should work about the same.... It's a different compiler to (...) (21 years ago, 17-Jun-03, to lugnet.robotics.rcx.legos)
 
  Re: OS X Complier problems solved--now struggling with BrickOS
 
You know, it doesn't matter how long I wait before sending out a question... I figured out the trouble with firmdl3. I'd assumed the black plug in the USB port was the IR Tower, which I'd plugged in earlier today. However, my wife had been (...) (21 years ago, 16-Jun-03, to lugnet.robotics.rcx.legos)
 
  Re: OS X Complier problems solved--now struggling with BrickOS
 
In lugnet.robotics.rcx.legos, Rich Warren wrote: ... (...) Hmm... I just read your thing, and I realised I'm posting exactly the same error, different platform (Linux). Are you using g++-3.3? Or is it another compiler? Michael (van der Kolff, not (...) (21 years ago, 17-Jun-03, to lugnet.robotics.rcx.legos)
 
  Error linking c++ with gcc 3.3
 
Hi, I'm having a slight problem building the c++ demos with gcc-3.3. (I had to do a tiny patch against a few files to overcome the fact that multiline strings are now not supported). But when it comes to building the c++ demos, I get the following (...) (21 years ago, 17-Jun-03, to lugnet.robotics.rcx.legos)
 
  Re: OS X Complier problems solved--now struggling with BrickOS
 
(...) You know, I think there's some cosmic law. Just after hitting the send key, I'll almost always realize my question was stupid. Looking at the errors I was getting, I noticed that it was the utilities that you'd already created. firmdl3 has the (...) (21 years ago, 16-Jun-03, to lugnet.robotics.rcx.legos)
 
  Re: Varying the output voltage?
 
(...) The power motors that come with the RIS are very efficient, so the load is very light and speed changes very little. Then of course it depend on your robot, if you use caterpillar tracks you will generally have more load than with wheels. An (...) (21 years ago, 15-Jun-03, to lugnet.robotics.rcx.legos)
 
  Re: Varying the output voltage?
 
(...) you're right, I forgot float. Thanks for clearing the rest up for me :-) Doesn't the motor itself have a "load" when it works with no actual load? "which reduces power but not speed" Timothy (21 years ago, 15-Jun-03, to lugnet.robotics.rcx.legos)
 
  Re: OS X Complier problems solved--now struggling with BrickOS
 
(...) Hi, First, in terms of my compiler build (referencing your previous post...) what I had a problem with was building the sample C++ code that came with BrickOS. I don't need C++ so I haven't investigated this any further. You're free to try my (...) (21 years ago, 14-Jun-03, to lugnet.robotics.rcx.legos)
 
  Re: Varying the output voltage?
 
This is what I noticed, comparing the two systems with BrickOS One thing that I noticed was at the lower voltages the needle on my multimeter wavered around a little and it tended to steady at the higher power levels All of the readings were taken (...) (21 years ago, 14-Jun-03, to lugnet.robotics.rcx.legos)
 
  OS X Complier problems solved--now struggling with BrickOS
 
Ok, you can (perhaps--I haven't been able to test it yet) ignore my previous post. I was trying to build the cross compiler using GCC 3.3, and nothing I tried would work. When I switched to 3.2.3, the errors disappeared. So I'm making the temporary (...) (21 years ago, 14-Jun-03, to lugnet.robotics.rcx.legos)
 
  Cross Compiler for the Mac Os X
 
Has anyone had any luck creating a cross complier for the Mac? I've downloaded Michael Zapp's, but he said it wasn't working for C++. I've been trying to compile my own, but I keep getting errors. Any suggestions or pointers would be greatly (...) (21 years ago, 14-Jun-03, to lugnet.robotics.rcx.legos)
 
  Re: Varying the output voltage?
 
(...) Actually there are four, sort of, as for 0 there are float (contacts separated, infinite resistance) and brake (contacts shorted, zero resistance). The standard firmware switches rapidly between on and float (each cycle takes 8ms), which (...) (21 years ago, 14-Jun-03, to lugnet.robotics.rcx.legos)
 
  Re: Varying the output voltage?
 
(...) The eight different power level pulsing is called "PWM", translation=Pulse width modulation. PWM is the way a digital chip cheats/mimics true analog without a D/A convertor. Since the only output of a digital chip is on or off, there is no (...) (21 years ago, 14-Jun-03, to lugnet.robotics.rcx.legos)
 
  Varying the output voltage?
 
I was wondering if it was possible to control the speed/torque of the motor by varying the output voltage in brickOS. It seems that the speed parameter on the motors only changes the rate at which they pulse on and off. I am looking for something (...) (21 years ago, 14-Jun-03, to lugnet.robotics.rcx.legos)
 
  Communication between RCX
 
Hello there, I've wrote a little library who permit you to communicate with RCX easily All information is in the package (URL) (21 years ago, 13-Jun-03, to lugnet.robotics.rcx.legos)
 
  BrickOS Talking to Robolab?
 
Has anyone used BrickOS to talk to Robolab? I really like the Robolab visualization tools and it would be a shame to not be able to fool Robolab into to talking to the BrickOS firmware. I am in the process of designing a simple Fuzzy controller and (...) (21 years ago, 11-Jun-03, to lugnet.robotics.rcx.legos)
 
  Re: DCC for the RCX
 
(Sorry, did FUT to .legos, but didn't post to it. I'm such a newbie!) (...) (21 years ago, 10-Jun-03, to lugnet.robotics.rcx.legos)
 
  Re: DCC for the RCX
 
Hi Ralph, I should be able to extract the source for the low level driver routines this week. If anyone else is interested, please email me. Note for BrickOS users: it's not simply a matter of plonking the routines into a program. The kernel will (...) (21 years ago, 9-Jun-03, to lugnet.robotics.rcx, lugnet.trains, lugnet.robotics.rcx.legos)
 
  Re: brickos-0.2.6.10 error
 
Scott, You need to put a .depend file and Makefile inside the directory you are compiling the programs in. Just create a file with the extenstion .depend and put it into your programs directory. There dosn't need to be anything in the file. When you (...) (21 years ago, 3-Jun-03, to lugnet.robotics.rcx.legos)
 
  brickos-0.2.6.10 error
 
I get this when ever I try to compile a program. Scott Davis@Scott ~ $ cd /brickos/programs Scott Davis@Scott /brickos/programs $ dir Makefile motor.c Scott Davis@Scott /brickos/programs $ make motor.lx Makefile:51: .depend: No such file or (...) (21 years ago, 2-Jun-03, to lugnet.robotics.rcx.legos)
 
  Re: PC to RCX communication
 
You may check out javastorms at www.javastroms.org. The project seem to be abandoned, but the code is available. Basically it does what you aim for so it should be a good starting point. I have used the code as base for some of my own projects and (...) (21 years ago, 26-May-03, to lugnet.robotics.rcx.legos)
 
  Re: PC to RCX communication
 
This Thread could probably answer more :) (URL) this helps "Shehryar Shaheen" <shehryar.shaheen@ul.ie> wrote in message news:HFD5yE.1pxM@lugnet.com... (...) a (...) java.comm (...) (21 years ago, 23-May-03, to lugnet.robotics.rcx.legos)
 
  Re: PC to RCX communication
 
It's been a while since I last played with LNP but I can recall that it works well under Linux. The LNP deamon must be running on the PC before the RCX and the PC can communicate. I think with windows you still need the LNP deamon running under (...) (21 years ago, 23-May-03, to lugnet.robotics.rcx.legos)
 
  PC to RCX communication
 
I'm working a project to communicate from a PC to an RCX running the current version of BrickOS-0.2.6.10. I'm running windows 2000 professional and I use the current version of Cygwin. The idea behind the project is to create a Java application that (...) (21 years ago, 23-May-03, to lugnet.robotics.rcx.legos)
 
  BricxCC release 3.3.7.5
 
Version 3.3.7.5 fixes two bugs with the copy to clipboard function on the Analysis graph. It fixes the Clear Memory function so that it now clears all five program slots (it used to leave slot 1 untouched). It fixes form and component size issues (...) (21 years ago, 22-May-03, to lugnet.robotics.rcx.nqc, lugnet.robotics.rcx.legos, lugnet.robotics.rcx)
 
  Re: USB on winXP/2k problem: cannot download
 
(...) Dear all, Sorry. I made a mistake. I had installed 2.5 instead of 2.6.10 of brickos. Now it works fine. Many thanks, G. (21 years ago, 22-May-03, to lugnet.robotics.rcx.legos)
 
  USB on winXP/2k problem: cannot download
 
Dear All, I have installed cygwin, compiled brickOS and tried to download the firmware and software. I cannot make firmdl3 or dll to work: "Error 2: Opening USB" The same error when the tower is attached and when it is not. I can download the (...) (21 years ago, 22-May-03, to lugnet.robotics.rcx.legos)
 
  Re: R: Upgrade RCX?
 
Hi, the board is still under development, do far I dont have any PCB layout. All is done on a prototype board and not all comonents tested yet. A simple port of BrickOS is also not possible, because of the complete different structure of the µC. I (...) (21 years ago, 21-May-03, to lugnet.robotics.rcx.java, lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: brickos-0.2.6.10 CONF_DSENSOR_MUX problem
 
I tried the following program and it seems to be doing something useful with the sensor power. I looked at it on the scope and it generates a regular pattern with 10ms pulses. I don't have one of these sensor mux devices so I can't actually tell if (...) (21 years ago, 19-May-03, to lugnet.robotics.rcx.legos)
 
  R: Upgrade RCX?
 
I'm using Lego MindStorms for didactical laboratory at Politecnico di Torino. I'm interested in your project. I have two questions: Would it be difficult to reproduce in multiple copies your board? How do you solve the problem of porting the (...) (21 years ago, 17-May-03, to lugnet.robotics.rcx.java, lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Upgrade RCX?
 
(...) Hi Rand, I have started an hardware replacement for the RCX. Its based on an 16bit µController, an Infineon (Siemens) C164 with 128kb flash, 128kbSRAM and 64kb EEPROM. The controller plus the all memory is on a module from Phytec "Dipmodule (...) (21 years ago, 17-May-03, to lugnet.robotics.rcx.java, lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  gcc-3.3 - multi-line string literals
 
GCC 3.3 has made multi-line string literals a syntax error. (They were deprecated from 3.0). This is very annoying, because they made lots of sense for things like inline asms, and brickOS has lots of them. Below are patches which append \n\ to the (...) (21 years ago, 17-May-03, to lugnet.robotics.rcx.legos)
 
  brickos-0.2.6.10 CONF_DSENSOR_MUX problem
 
After I have done the changes desribed in thread: (URL) brickos-0.2.6.10 .text is not within region ram now i can compile the kernel with CONF_DSENSOR_MUX. But the DSENSOR_MUX does not work. I have checked this item with an osciloscope on the (...) (21 years ago, 15-May-03, to lugnet.robotics.rcx.legos)
 
  Re: usb & lnpd
 
(...) hi! (...) nothing to do with his patches... (...) hm, that did work for me. (...) i will send you my patches. have fun! flo. (21 years ago, 9-May-03, to lugnet.robotics.rcx.legos)
 
  Re: usb & lnpd
 
Mason, As fas as I know the usb support under linux it's not finished, some part (such as receiving works, but it's not transparent, as if you had the serial tower). You can check the current satus at: (URL) way would be to run cygwin under windows (...) (21 years ago, 9-May-03, to lugnet.robotics.rcx.legos)
 
  usb & lnpd
 
Hi. I 've got a ris 2.0 with usb tower and about two weeks ago for the first time dll and firmdl work with legos 2.5 with instructions found at: (URL) tried with the patch legos-0.2.6-linux-us...stdl-sched with legos.0.2.6 but it don't work at all. (...) (21 years ago, 9-May-03, to lugnet.robotics.rcx.legos)
 
  Re: TIME STAMP for a LNP distributed robot
 
Thanks Mark for your idea, it's better to have a different global time than the one of the kernel. Best Regards, CarlosLuis Rendon M. "Mark Riley" <markril@hotmail.com> wrote in message news:HEIyDt.16s5@lugnet.com... (...) (21 years ago, 7-May-03, to lugnet.robotics.rcx.legos)
 
  Re: TIME STAMP for a LNP distributed robot
 
BTW, make sure you include: #include <time.h> Otherwise, get_system_up_time() will only return 16 bits! Mark (21 years ago, 7-May-03, to lugnet.robotics.rcx.legos)
 
  Re: TIME STAMP for a LNP distributed robot
 
Hi, The sys_time variable is the basic timekeeper for BrickOS. It is a 32-bit integer that is incremented every millisecond by the kernel. In older versions of the kernel you could access the variable directly, however, in 0.2.6.10 and later you (...) (21 years ago, 7-May-03, to lugnet.robotics.rcx.legos)
 
  TIME STAMP for a LNP distributed robot
 
Hi, I'd like to make a basic implementation of a time stamp on a distributed schame, using Lamport's algorithm. It states basically that when a node receives a message, it get the time stamp that's contained on it, and compares with it's own, if the (...) (21 years ago, 7-May-03, to lugnet.robotics.rcx.legos)
 
  Re: brickos-0.2.6.10 .text is not within region ram
 
(...) Dear Mark I will check the demo programs and more stuff. If i'm not wrong it looks to me that now we have 16K for the kernel ( c000-b000) = 4Kb more. If i got the results, i'm coming back to the forum. best regards Bernhard (21 years ago, 7-May-03, to lugnet.robotics.rcx.legos)
 
  Re: math.h
 
Oh note : you need to compile with -lfloat your kernel if you want to include it into kernel just add -lfloat to $LIBS in the Makefile.kernel nanobapt (21 years ago, 6-May-03, to lugnet.robotics.rcx.legos)
 
  math.h
 
Hello all, I've written some math usefull library ! here is my work. It's not really optimized and I'm afraid cause I see the memory place down ... If someone want help me ... Have fun nanobapt /*test.c*/ #include <math.h> #include <conio.h> int (...) (21 years ago, 6-May-03, to lugnet.robotics.rcx.legos)
 
  Re: Upgrade RCX?
 
(...) take a look at Robobricks (URL) also playing around with such an idea, but smaller (most devices should fit in a 2*4 brick) and faster (115 kBaud bus). My first notes can be seen here (URL) regards, Stef Mientki (...) (21 years ago, 6-May-03, to lugnet.robotics.rcx.java, lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: brickos-0.2.6.10 .text is not within region ram
 
Hi Bernhard, Apparently the kernel is getting too big! By defining CONF_DSENSOR_MUX, enough extra code was generated to make the kernel exceed 12K. If you go to Makefile.user in the main BrickOS directory, change the following lines: # Base (...) (21 years ago, 6-May-03, to lugnet.robotics.rcx.legos)
 
  brickos-0.2.6.10 .text is not within region ram
 
I changed in /boot/config.h the //#define CONF_DSENSOR_MUX //!< sensor multiplexor TO #define CONF_DSENSOR_MUX //!< sensor multiplexor Enviroment: Latest Version: Cygwin 1.3.22-1 WIN2000 brickos-0.2.6.10 + gcc-2.95.2 + binutils-2.10.1 + Hitachi (...) (21 years ago, 6-May-03, to lugnet.robotics.rcx.legos)
 
  Re: firmdl3: delete firmware failed
 
(...) see Thread (URL) (21 years ago, 6-May-03, to lugnet.robotics.rcx.legos)
 
  Upgrade RCX?
 
Has anyone ever tried to upgrade the memory in the RCX? ( External RAM that is ). What about upgrade the CPU to 60kbyte PROM version? No need to use expanded mode, then a ton of I/O would be available... Anyone thought about building a RCX (...) (21 years ago, 6-May-03, to lugnet.robotics.rcx.java, lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: firmdl3: delete firmware failed
 
You answered this question to the exact same person too :-P (...) (21 years ago, 3-May-03, to lugnet.robotics.rcx.legos)
 
  Re: firmdl3: delete firmware failed
 
(...) Arg i've answered .... in an other message nanobapt (21 years ago, 2-May-03, to lugnet.robotics.rcx.legos)
 
  firmdl3: delete firmware failed
 
Hello, Has anyone run into this problem? Running this command: firmdl3 legOS.srec results in this message: firmdl3: delet firmware failed Theresa (21 years ago, 2-May-03, to lugnet.robotics.rcx.legos)
 
  Re: Win98 installation of legos
 
(...) This error indicate to you that communication is really bad or RCX have a firmware locked in memory !! Try to download the program with -s option like that (firmdl3 -s PATH/legOS.srec) Or try to erase firmware by erase RAM nanobapt (21 years ago, 2-May-03, 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