| | 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 (...) (22 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 (...) (22 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 (...) (22 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 (...) (22 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 (...) (22 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 (...) (22 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 (...) (22 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. (22 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 (...) (22 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. (...) (22 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... (...) (22 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 (22 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 (...) (22 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 (...) (22 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 (22 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 (22 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 (...) (22 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 (...) (22 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 (...) (22 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 (...) (22 years ago, 6-May-03, to lugnet.robotics.rcx.legos)
|