| | BrickOS motor port horrors
|
|
I was writing some simple programs to test out BrickOS last night, and had some really strange behavior. I hooked up a motor to port B and a rotation sensor to port 2. My programs were just testing out various motor speeds and positioning accuracy. (...) (21 years ago, 25-Oct-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS motor port horrors
|
|
Well, I don't know much about it being possessed, but you should try to divide the problem probabilities in half. Try loading the original lego firmware. (Yes I know, this brings horror to some of you fellow programmers out there, but its just (...) (21 years ago, 26-Oct-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS motor port horrors
|
|
(...) That is the part that really bites me. Are you able to reproduce the error? If yes, try to put out the batteries for a longer time. Anyway, it seems worthwile to have a look at the brickOS initialization code for the motors. If you can (...) (21 years ago, 26-Oct-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS motor port horrors
|
|
(...) Rob, I've had the same problem with BrickOS. The installation I used came with BrickOS already built. I reloaded the RCX with LEGO firmware and all three motor ports worked fine. I concluded it was a BrickOS problem that I would wrestle with (...) (21 years ago, 26-Oct-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS motor port horrors
|
|
(...) Me too. Without any program loaded, it seems to do funny things with the motors. But once I get a program downloaded, it works fine. The only thing that I find freaky is the different values for light sensors. There's hex percentages and dec (...) (21 years ago, 27-Oct-03, to lugnet.robotics.rcx.legos, FTX)
|
|
| | Re: BrickOS motor port horrors
|
|
(...) As we discussed in email, it appears to be the firmware downloader causing the problem. I just tried downloading BrickOS 0.2.6.10 with both NQC 2.5 a1 and BricxCC 3.3.6.2 and experienced growling motors. I then downloaded BrickOS using firmdl3 (...) (21 years ago, 27-Oct-03, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc)
|
|
| | Re: BrickOS motor port horrors
|
|
(...) [snip] (...) Mark, Thanks for shooting this so quickly. Kevin (21 years ago, 27-Oct-03, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc)
|
|
| | Re: BrickOS motor port horrors
|
|
(...) [snippage] (...) I will be releasing a new version of BricxCC shortly (by the end of the week, with any luck) which will include a fix for this bug. It is already fixed but I'm trying to get a couple other items done before I publish a new (...) (21 years ago, 27-Oct-03, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc)
|