View unanswered posts | View active topics It is currently Thu Jul 31, 2014 2:33 am






Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
RobotC crashing after download 
Author Message
Rookie
User avatar

Joined: Wed Jun 19, 2013 5:57 pm
Posts: 25
Post 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 :)

_________________
-TheRobotMaster (or soon to be one)

FRC Team #2550 Skynet -Programmer 2013 - present
Website [url]sites.google.com/site/2550robotics[/url]

FTC Team #4508 E=MC^Squirreled -Second Programmer 2013-2014

FLL Team #3414 Team Brickstein -Mentor


Fri Aug 09, 2013 9:37 pm
Profile
Expert
User avatar

Joined: Fri Nov 02, 2012 12:07 am
Posts: 164
Location: California, USA
Post Re: RobotC crashing after download
Can't you run the program on the NXT?

_________________
string Robored = "Awesome"
~~Neil Balch~~


Fri Aug 09, 2013 9:44 pm
Profile WWW
Rookie
User avatar

Joined: Wed Jun 19, 2013 5:57 pm
Posts: 25
Post 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

_________________
-TheRobotMaster (or soon to be one)

FRC Team #2550 Skynet -Programmer 2013 - present
Website [url]sites.google.com/site/2550robotics[/url]

FTC Team #4508 E=MC^Squirreled -Second Programmer 2013-2014

FLL Team #3414 Team Brickstein -Mentor


Fri Aug 09, 2013 9:49 pm
Profile
Senior Roboticist
User avatar

Joined: Wed Sep 28, 2011 10:13 pm
Posts: 630
Location: If I told you, I'd have to kill you.
Post Re: RobotC crashing after download
Using USB or bluetooth?

_________________
A.K.A. inxt-generation
Self-proclaimed genius, and future world dominator.
My Brickshelf Folder
"Don't they teach recreational mathematics anymore?" - The Tenth Doctor
Bow down to Nikola Tesla, King of the Geek Gods.


Fri Aug 09, 2013 9:57 pm
Profile WWW
Rookie
User avatar

Joined: Wed Jun 19, 2013 5:57 pm
Posts: 25
Post Re: RobotC crashing after download
NeXT-Generation wrote:
Using USB or bluetooth?


USB

_________________
-TheRobotMaster (or soon to be one)

FRC Team #2550 Skynet -Programmer 2013 - present
Website [url]sites.google.com/site/2550robotics[/url]

FTC Team #4508 E=MC^Squirreled -Second Programmer 2013-2014

FLL Team #3414 Team Brickstein -Mentor


Fri Aug 09, 2013 11:03 pm
Profile
Professor
User avatar

Joined: Sat May 18, 2013 1:24 pm
Posts: 272
Location: Olympia, WA
Post Re: RobotC crashing after download
Bytecode exception?

_________________
FTC Team 6424, the 'Oly Cow - Chief programmer.
FRC Team 4450, Olympia Robotics Federation (ORF).

and also quadrotors. Quadrotors!


Fri Aug 09, 2013 11:35 pm
Profile
Rookie
User avatar

Joined: Wed Jun 19, 2013 5:57 pm
Posts: 25
Post 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.

_________________
-TheRobotMaster (or soon to be one)

FRC Team #2550 Skynet -Programmer 2013 - present
Website [url]sites.google.com/site/2550robotics[/url]

FTC Team #4508 E=MC^Squirreled -Second Programmer 2013-2014

FLL Team #3414 Team Brickstein -Mentor


Sat Aug 10, 2013 12:31 am
Profile
Expert
User avatar

Joined: Fri Nov 02, 2012 12:07 am
Posts: 164
Location: California, USA
Post Re: RobotC crashing after download
I meant can't you run the program from the NXT?

_________________
string Robored = "Awesome"
~~Neil Balch~~


Sat Aug 10, 2013 11:59 am
Profile WWW
Rookie
User avatar

Joined: Wed Jun 19, 2013 5:57 pm
Posts: 25
Post 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

_________________
-TheRobotMaster (or soon to be one)

FRC Team #2550 Skynet -Programmer 2013 - present
Website [url]sites.google.com/site/2550robotics[/url]

FTC Team #4508 E=MC^Squirreled -Second Programmer 2013-2014

FLL Team #3414 Team Brickstein -Mentor


Sat Aug 10, 2013 6:35 pm
Profile
Professor
User avatar

Joined: Sat May 18, 2013 1:24 pm
Posts: 272
Location: Olympia, WA
Post Re: RobotC crashing after download
Could you post your code? Maybe it's corrupted?

_________________
FTC Team 6424, the 'Oly Cow - Chief programmer.
FRC Team 4450, Olympia Robotics Federation (ORF).

and also quadrotors. Quadrotors!


Sat Aug 10, 2013 7:58 pm
Profile
Expert
User avatar

Joined: Fri Nov 02, 2012 12:07 am
Posts: 164
Location: California, USA
Post 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. :? :? :?

_________________
string Robored = "Awesome"
~~Neil Balch~~


Sun Aug 11, 2013 12:08 am
Profile WWW
Rookie
User avatar

Joined: Wed Jun 19, 2013 5:57 pm
Posts: 25
Post 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.

_________________
-TheRobotMaster (or soon to be one)

FRC Team #2550 Skynet -Programmer 2013 - present
Website [url]sites.google.com/site/2550robotics[/url]

FTC Team #4508 E=MC^Squirreled -Second Programmer 2013-2014

FLL Team #3414 Team Brickstein -Mentor


Thu Aug 29, 2013 6:55 pm
Profile
Professor
User avatar

Joined: Sat May 18, 2013 1:24 pm
Posts: 272
Location: Olympia, WA
Post Re: RobotC crashing after download
Try re-downloading the firmware. Maybe? :?

_________________
FTC Team 6424, the 'Oly Cow - Chief programmer.
FRC Team 4450, Olympia Robotics Federation (ORF).

and also quadrotors. Quadrotors!


Sat Aug 31, 2013 10:02 am
Profile
Rookie
User avatar

Joined: Wed Jun 19, 2013 5:57 pm
Posts: 25
Post Re: RobotC crashing after download
I did that and it still crashes

Sent from my LG-LG730 using Tapatalk 4

_________________
-TheRobotMaster (or soon to be one)

FRC Team #2550 Skynet -Programmer 2013 - present
Website [url]sites.google.com/site/2550robotics[/url]

FTC Team #4508 E=MC^Squirreled -Second Programmer 2013-2014

FLL Team #3414 Team Brickstein -Mentor


Sat Aug 31, 2013 12:20 pm
Profile
Expert
User avatar

Joined: Fri Nov 02, 2012 12:07 am
Posts: 164
Location: California, USA
Post Re: RobotC crashing after download
Hmm... :( :shock: :?

_________________
string Robored = "Awesome"
~~Neil Balch~~


Sat Aug 31, 2013 10:58 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 22 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.