|
| | Re: Strange BrickOS Timing
|
| Hi Gunther, (...) have (...) I'm NOT really an expert in brickOS, but these are the sources of delay and msleep: void delay(unsigned ms) { unsigned i; while (ms-- > 0) for (i = 0; i < 600; i++) // not well calibrated. ; } //! delay execution (...) (21 years ago, 3-Dec-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.240) |
|
|
| brickos (score: 1.240) |
|
|
| brickos (score: 1.240) |
|
| | Re: Help w/install _or_ It all went so well
|
| Or ( IMO ) better yet, just macro every line between 152 and 171, that's what I did, saved the trouble of another install... Put this on each line around the assembly code: __asm__(""); Make sure you keep the indent spacing also: label: should be: (...) (21 years ago, 14-Nov-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.240) |
|
|
| brickos (score: 1.240) |
|
| | Strange BrickOS Timing
|
| Hello out there, maybe someone can explain to me why the current brickOS release seems to have msleep()-amnesia ;-) We've been testing the data transfer to our Lepomux device. For some strange reason we were still using kernel 0.2.6.07nmChg with a (...) (21 years ago, 2-Dec-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.239) |
|
|
| brickos (score: 1.239) |
|
| | Re: Help w/install _or_ It all went so well
|
| (...) [...] (...) Well it looks like the gcc-version-problem I had. The gcc >=3.x do not allow multiline strins without "\" anymore, which are still uses in brickos. So my hint is to install a gcc 2.95 and everything should work fine... Note: This (...) (21 years ago, 12-Nov-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.238) |
|
| | Re: Strange BrickOS Timing
|
| Hi Guido, (...) That patch referes to an older transfer-protocol. The one we are using now, does not need SUCH a stable timing. But the Output from BrickOS is a lot worse than it was in older versions. I thing Gunther can explain this better, but I (...) (21 years ago, 3-Dec-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.238) |
|
| | Re: Strange BrickOS Timing
|
| Hi Gunther, (...) have (...) After some investigation I found this page on YOUR site: (URL) YOU state: Using Lepomux requires a stable timing on the motor port because it is used as a serial data port. Since brickOS does a lot of stuff (...) (21 years ago, 3-Dec-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.238) |
|
|
| brickos (score: 1.238) |
|
| | Re: Help w/install _or_ It all went so well
|
| (...) You should uninstall cygwin and delete its directory tree if it is left behind. Then run both installers (the brickoslejos installer second) and you should be ready to go. You don't need to do a configure or make of brickOS if you use these (...) (21 years ago, 20-Nov-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.237) |
|
| | Re: Help w/install _or_ It all went so well
|
| (...) Did you consider using my all-in-one pre-built installers? (URL) work well with XP & W2K (and presumably Win2003). There are problems with earlier OS versions. I've had several people tell me that using these pre-built installers was much (...) (21 years ago, 18-Nov-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.237) |
|
| | Re: Memory, Motors and Odd Things
|
| (...) Hi Steve, Are you using BrickOS 0.2.6.10? In earlier versions, it was possible for malloc() to return pointers to RAM in the range [F010,FB7F], which was shared with the motor port controller. Writing to this memory adversely affected the (...) (21 years ago, 11-Dec-03, to lugnet.robotics.rcx.legos, FTX)
| |
| brickos (score: 1.236) |
|
| | Re: The BrickOS Task Manager
|
| (...) To make a thread with BrickOS (I use the 0.2.4, but I think that the method is the same !) You need to use the execi function : pid_t my_thread; ... (function other declaration int funct(int argc, char *argv[]) { // Function that the robot (...) (21 years ago, 4-Jan-04, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.236) |
|
|
| brickos (score: 1.236) |
|
| | Re: Motor Display
|
| (...) This problem has been fixed in the most recent CVS source file (dmotor.c), but as far as I can tell it hasn't been part of an offical release yet: (URL) (21 years ago, 5-Jan-04, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.236) |
|
| | Strange RCX startup issues
|
| Hello, using brickOS v0.2.6.10... When I declare an object of type Motor and assign it a port outside of main() the RCX does not run the program at all, I have to remove batteries and reload firmware to get it back to normal. Is this related to the (...) (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.236) |
|
|
| brickos (score: 1.235) |
|
|
| brickos (score: 1.235) |