To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 1782
1781  |  1783
Subject: 
Re: Swan firmware crash!
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Tue, 19 Jul 2005 23:09:18 GMT
Viewed: 
6300 times
  
In lugnet.robotics.rcx.nqc, Daniele Benedettelli wrote:
Hi.
I've installed new NQC and BRICXcc to test new functions
in fast firmware by Dick Swan.
I wanted to see if the new 1/1000th second resolution could let me drive a
servo.

When I try to use the SetMotorPower128 command, compiler is ok, downloading is
ok,but program crashes: RCX beeps and on display there is

" 40 "  "tiny legoman blinking"  "number of the program"

Why?

Please help!
I think someone had similar problems

You haven't given us(readers) much to go on. I had a similair problem but
finding the solution was a bit of a fluke.

If you could provide some info like program size, and a description of what the
program does or some code we may have more luck in identifying the problem.

Steve



Message has 2 Replies:
  RE: Swan firmware crash!
 
Exception error 40 is intended to indicate that you've tried to write to an invalid source parameter value. "Source parameter" is the first byte of an internal interpreter variable (0 is variable, 2 is constant, etc). If you send me the NQC source I (...) (19 years ago, 20-Jul-05, to lugnet.robotics.rcx.nqc)
  Re: Swan firmware crash!
 
(...) * Maybe I wasn't too clear, but really there isn't much to say: it is the SetMotorPower128 command that causes the error. * Another question is: why costants MTR_A or MTR_B don't work at all? Here's the code(all the code): task main{ (...) (19 years ago, 20-Jul-05, to lugnet.robotics.rcx.nqc)

Message is in Reply To:
  Swan firmware crash!
 
Hi. I've installed new NQC and BRICXcc to test new functions in fast firmware by Dick Swan. I wanted to see if the new 1/1000th second resolution could let me drive a servo. When I try to use the SetMotorPower128 command, compiler is ok, downloading (...) (19 years ago, 19-Jul-05, to lugnet.robotics.rcx.nqc)

23 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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