Author |
Message |
RobotMaster98
Rookie
Joined: Wed Jun 19, 2013 5:57 pm Posts: 25
|
 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 |
|
 |
roboRed
Expert
Joined: Fri Nov 02, 2012 12:07 am Posts: 163 Location: California, USA
|
 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 |
|
 |
RobotMaster98
Rookie
Joined: Wed Jun 19, 2013 5:57 pm Posts: 25
|
 Re: RobotC crashing after download
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 |
|
 |
NeXT-Generation
Senior Roboticist
Joined: Wed Sep 28, 2011 10:13 pm Posts: 630 Location: If I told you, I'd have to kill you.
|
 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 |
|
 |
RobotMaster98
Rookie
Joined: Wed Jun 19, 2013 5:57 pm Posts: 25
|
 Re: RobotC crashing after download
_________________ -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 |
|
 |
Ernest3.14
Professor
Joined: Sat May 18, 2013 1:24 pm Posts: 271 Location: Olympia, WA
|
 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 |
|
 |
RobotMaster98
Rookie
Joined: Wed Jun 19, 2013 5:57 pm Posts: 25
|
 Re: RobotC crashing after download
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 |
|
 |
roboRed
Expert
Joined: Fri Nov 02, 2012 12:07 am Posts: 163 Location: California, USA
|
 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 |
|
 |
RobotMaster98
Rookie
Joined: Wed Jun 19, 2013 5:57 pm Posts: 25
|
 Re: RobotC crashing after download
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 |
|
 |
Ernest3.14
Professor
Joined: Sat May 18, 2013 1:24 pm Posts: 271 Location: Olympia, WA
|
 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 |
|
 |
roboRed
Expert
Joined: Fri Nov 02, 2012 12:07 am Posts: 163 Location: California, USA
|
 Re: RobotC crashing after download
_________________ string Robored = "Awesome" ~~Neil Balch~~
|
Sun Aug 11, 2013 12:08 am |
|
 |
RobotMaster98
Rookie
Joined: Wed Jun 19, 2013 5:57 pm Posts: 25
|
 Re: RobotC crashing after download
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 |
|
 |
Ernest3.14
Professor
Joined: Sat May 18, 2013 1:24 pm Posts: 271 Location: Olympia, WA
|
 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 |
|
 |
RobotMaster98
Rookie
Joined: Wed Jun 19, 2013 5:57 pm Posts: 25
|
 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 |
|
 |
roboRed
Expert
Joined: Fri Nov 02, 2012 12:07 am Posts: 163 Location: California, USA
|
 Re: RobotC crashing after download
_________________ string Robored = "Awesome" ~~Neil Balch~~
|
Sat Aug 31, 2013 10:58 pm |
|
|