Subject:
|
Re: legOS - Does it work for you?
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Thu, 31 Dec 1998 16:53:24 GMT
|
Original-From:
|
Joel A. Kunze <joelak@IHATESPAMsage.net>
|
Viewed:
|
1294 times
|
| |
| |
I too have a similar problem. Using cygwin-b20 on a win98 machine to build
the light-sensor demo under legOS 0.1.4 I downloaded the cross compiler from
http://www.beesknees.freeserve.co.uk/lego/ ( Gavin Smyth posted this address
a few days ago.)
With the light-sensor demo, the 12th push of the 'run' button should stop
the task, but the RCX gets 'stuck' on. I have to pull a battery to turn it
off.
Additionally, the speed demo does not work at all like it appears it should.
The 'prgm' button on the RCX has no effect, and the speed of the motor
increases as long as the 'run' button is down. Again, after multiple pushes
of the 'run' button, it appears to get stuck on and ignores further button
pushes (but still increases speed when run button is down.)
I am getting a make error. I don't have perl installed (yet) and the
merge-map portion of the build produces an error. (My impression is this
should not affect the srec, am I correct?)
Also, is it normal for firmdl to download in groups of 20? I observe the LCD
to count up by 20, then go back to displaying only the 'program number 1'
for a couple seconds, then resume the count, again going up 20 from where it
left off. Doing this until a count of several hundred.
Joel A. Kunze
-----Original Message-----
From: Rick Kimball <lugnet.robotics@lugnet.com>
To: lego-robotics@crynwr.com <lego-robotics@crynwr.com>
Date: Thursday, December 31, 1998 6:07 AM
Subject: Re: legOS - Does it work for you?
> > It might be worth picking up the standard malloc/free and seeing if they
> > work any better.
>
> I tried that with the same results. At that point, I added some
> debug messages to the malloc and free routines. Using the demo
> light-sensor program I wrote down the addresses returned by malloc.
> There are only two calls per execi, the process_data structure (AKA pid)
> and the stack for process. However, when the program ends and
> mm_reaper free is being called with bogus addresses. They are not
> the same ones previously returned from the malloc calls. Which
> leads me to the conclusion that the task management routines, or
> my compiler is not doing the right thing.
>
> My real question, is my gcc setup wrong or does the light-sensor
> demo stop working properly for everyone after the 6th time you
> toggle the run button on and off?
>
> Ben are you using gcc and Linux to do your development?
> --
> Did you check the web site first?: http://www.crynwr.com/lego-robotics
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics
|
|
Message has 1 Reply: | | Re: legOS - Does it work for you?
|
| (...) If you change the BUTTON_RUN to BUTTON_PROGRAM in the speeds function it will work properly. Although there seems to be very little difference between a speed of 1 and a speed of 7. -rick (26 years ago, 31-Dec-98, to lugnet.robotics)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|