ROBOTC.net forums
http://robotc.net/forums/

RobotC crashing after download
http://robotc.net/forums/viewtopic.php?f=1&t=6509
Page 1 of 2

Author:  RobotMaster98 [ Fri Aug 09, 2013 9:37 pm ]
Post subject:  RobotC crashing after download

Every time I download a program to my NXT, robotc crashes. I have uninstalled and reinstalled robotc, but it still does the same thing.

I am using: Windows 8 pro and RobotC 3.61

Also, the program gets downloaded to the NXT, but robotc crashes right after. :?

Any Help!?!

thanks :)

Author:  roboRed [ Fri Aug 09, 2013 9:44 pm ]
Post subject:  Re: RobotC crashing after download

Can't you run the program on the NXT?

Author:  RobotMaster98 [ Fri Aug 09, 2013 9:49 pm ]
Post subject:  Re: RobotC crashing after download

roboRed wrote:
Can't you run the program on the NXT?


yes but is annoying that I have to restart robotc every time i download a progam

Author:  NeXT-Generation [ Fri Aug 09, 2013 9:57 pm ]
Post subject:  Re: RobotC crashing after download

Using USB or bluetooth?

Author:  RobotMaster98 [ Fri Aug 09, 2013 11:03 pm ]
Post subject:  Re: RobotC crashing after download

NeXT-Generation wrote:
Using USB or bluetooth?


USB

Author:  Ernest3.14 [ Fri Aug 09, 2013 11:35 pm ]
Post subject:  Re: RobotC crashing after download

Bytecode exception?

Author:  RobotMaster98 [ Sat Aug 10, 2013 12:31 am ]
Post subject:  Re: RobotC crashing after download

Ernest3.14 wrote:
Bytecode exception?


i am not sure what you are talking about. RobotC gives me no errors, just a Windows window (lol) pops up saying "RobotC has stopped working" or something like that then it closes.

Author:  roboRed [ Sat Aug 10, 2013 11:59 am ]
Post subject:  Re: RobotC crashing after download

I meant can't you run the program from the NXT?

Author:  RobotMaster98 [ Sat Aug 10, 2013 6:35 pm ]
Post subject:  Re: RobotC crashing after download

roboRed wrote:
I meant can't you run the program from the NXT?



ya i can run the program from the NXT once its downloaded. After it downloads RobotC crashes

Author:  Ernest3.14 [ Sat Aug 10, 2013 7:58 pm ]
Post subject:  Re: RobotC crashing after download

Could you post your code? Maybe it's corrupted?

Author:  roboRed [ Sun Aug 11, 2013 12:08 am ]
Post subject:  Re: RobotC crashing after download

RobotMaster98 wrote:
roboRed wrote:
I meant can't you run the program from the NXT?



ya i can run the program from the NXT once its downloaded. After it downloads RobotC crashes



Interesting. Very. :? :? :?

Author:  RobotMaster98 [ Thu Aug 29, 2013 6:55 pm ]
Post subject:  Re: RobotC crashing after download

Ernest3.14 wrote:
Could you post your code? Maybe it's corrupted?


well any code (including blank code) crashes RobotC. Here is the code that started the whole thing:

Code:
#pragma config(Sensor, S1,     DIMU,                sensorI2CCustomFastSkipStates)

#include "drivers/dexterind-imu.h"



//float accelread = 0;

float A = 0;

float D = 0;

float T = 0;

float V = 0;


int X = 0;

int Y = 0;

int Z = 0;


task main()
{


DIMUconfigGyro(DIMU, DIMU_GYRO_RANGE_500);



   ClearTimer(T2);

   while(nNxtButtonPressed != 3)

   {

      ClearTimer(T1);


      V = D + V;

      T = time1[T1] / 1000;

      T = V * T;

      DIMUreadAccelAxes8Bit(DIMU, X, Y, Z);

      A = X /* + 10 */;

      A = A * 4.584;

      T = T * T;

      A = A * T;

      A = A / 2;

      D = D + D;

      D = T + A;


   nxtDisplayCenteredTextLine(5,  "%f", D );

   }


   nxtDisplayCenteredTextLine(5,  "%f", D );
   wait1Msec(3000);

}





When I downloaded this code it froze the NXT, and had to reset it. I did this 2 times with the same result. The third time after the reset, the FW wouldn't download. After a few more tries I got it downloaded, but since then any program I download crashes RobotC. I have also tried reinstalling the FW to see if would help but it still crashes. Note that it happens on other NXTs not just mine.

Author:  Ernest3.14 [ Sat Aug 31, 2013 10:02 am ]
Post subject:  Re: RobotC crashing after download

Try re-downloading the firmware. Maybe? :?

Author:  RobotMaster98 [ Sat Aug 31, 2013 12:20 pm ]
Post subject:  Re: RobotC crashing after download

I did that and it still crashes

Sent from my LG-LG730 using Tapatalk 4

Author:  roboRed [ Sat Aug 31, 2013 10:58 pm ]
Post subject:  Re: RobotC crashing after download

Hmm... :( :shock: :?

Page 1 of 2 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/