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 / Search Results: Mac BrickOS
 Results 301 – 320 of about 790.
Search took 0.00 CPU seconds. 

Messages:  Full | Brief | Compact
Sort:  Prefer Newer | Prefer Older | Best Match

  Re: Interesting BrickOS Timing Results
 
This was a terrific analysis. It's not surprizing that current implementation hogs so much CPU time. If all four A/D channels are scanned every 150 us then the A/D interrupt is occuring every 37.5 us since each A/D channel generates its own (...) (22 years ago, 14-Jan-03, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.747)

  Re: Interesting BrickOS Timing Results
 
Joe, That's definitely an improvement! So, that would be a 250 Hz sample rate for any given sensor. I just tried a modification similar to yours that did all 4 conversions every OCRA/B interrupt (or 1 KHz sample rate) and got: IDLE: 82 2ROT: 77 (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.747)

  Re: Interesting BrickOS Timing Results
 
(...) I've found that any interrupt on the RCX has a minimum overhead of 101 to 113 states (or about 7 us). This is the time taken by the CPU to recognize and dispatch the interrupt plus the time the ROM routine takes to dispatch the interrupt to (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.747)

  Re: Interesting BrickOS Timing Results
 
From the second scope screen capture here : (URL) you can see that the analog settling time is about 10 microseconds for the rotation sensor. Philo www.philohome.com (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.747)

  Re: Interesting BrickOS Timing Results
 
(...) Timer B is usually unused but has a lower priority than Timer A. If you do a lot of stuff in the timer A routine, this will block timer B interrupts (especially if timer B generates more interrupts than timer A). The mean thing is that those (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.747)

  Re: Interesting BrickOS Timing Results
 
(...) My thought was that the OCRA interrupt could be used as the general 1ms interrupt and the subsystem handler (which is currently using OCRB) could be called every other time from the OCRA handler by using a flag (toggled every 1ms). Actually, (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.747)

  Re: Interesting BrickOS Timing Results
 
Hi Marc, (...) Nice idea, but wouldn't that result in at least one of four cycles beeing blocked by OCRA? or is our system interrupt finished within less than 250msec? (...) Right, that was what I did for my Lepomux patch - works fine. Gunther (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.747)

  RE: Interesting BrickOS Timing Results
 
(...) I have been following this thread in my peripheral vision for a while now. All of the talk is very interesting and appears to be leading to a general question about how and why the drivers are the way they are.... As a point of interest, some (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.pbforth)
 

brickos
(score: 1.747)

  Re: Interesting BrickOS Timing Results
 
(...) 250msec? Not blocked entirely, but delayed. That's what I meant by "stutter". I've measured the general interrupt handler to take anywhere from 70-150us. So, the higher the sample rate the more significant the disruption. Anything faster than (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.747)

  Re: Interesting BrickOS Timing Results
 
(...) I forgot to mention... This is *almost* the same as moving some of the subsystem code into a seperate high priority task. For example, LCD refresh code is executed in the 1ms timer ISR. It really doesn't need to be in the ISR. It can do it's (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.747)

  Re: Gcc/BrickOS installation issues
 
(...) BricxCC page. (URL) Hansen (22 years ago, 25-Mar-03, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.747)

  Re: Gcc/BrickOS installation issues
 
(...) Not so. Here is the script I use. I suspect that the buildgcc.sh may have omitted to make sure the newly-installed binutils were in the PATH whilst building gcc. Max. BEGIN-SCRIPT #!/bin/bash # Syntax: ./build-h8x (binutils-srcdir|gcc-srcdir) (...) (22 years ago, 25-Mar-03, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.747)

  Re: Gcc/BrickOS installation issues
 
You did build binutils first didn't you? (22 years ago, 26-Mar-03, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.747)

  Re: getting BrickOS through slow connection
 
(...) You might be able to use the Hitachi pre-built cross compiler for this. Ed (22 years ago, 2-Apr-03, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.747)

  Re: /brickos-0.2.6.10/kernel/dsensor.c:360: `sys_time' undeclared (first use in this function)
 
(...) To get rid of this error, find and replace all occurrences of sys_time with get_system_up_time(). If you look at include/time.h, you will find that the direct reading of the sys_time variable is not allowed anymore. There was a thread about (...) (21 years ago, 28-Apr-03, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.747)

  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)
 

brickos
(score: 1.747)

  Re: BrickOS = shoot self in head
 
(...) A real geek knows the difference between gcc and h8300-hms-gcc and where to use which. Regards, Michael (21 years ago, 29-Sep-03, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.747)

  Re: Strange BrickOS Timing
 
Hi Dietmar, (...) Of course :-) Ciao, Guido (21 years ago, 3-Dec-03, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.747)

  Re: The BrickOS Task Manager
 
(...) Sorry, I'm still just not getting it at all. I have type errors all over the place trying to pass arguments to my task. Could someone please simply email me or post an example of a program that starts, runs two or more threads, and will (...) (21 years ago, 10-Jan-04, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.747)

  Re: The BrickOS Task Manager
 
(...) This works. Steve ---- #include <unistd.h> #include <dbutton.h> #include <dmotor.h> int MotorSpeed = 0; int RunMotor() { while (!shutdown_requested()) { motor_a_dir(MotorSpeed); } return 0; } int CheckButton() { while (!shutdown_requested()) { (...) (21 years ago, 10-Jan-04, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.747)

More:  Next Page >>


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