Thread: can't run code
View Single Post
  #4   Spotlight this post!  
Unread 18-09-2009, 21:25
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: can't run code

Quote:
Originally Posted by viper110110 View Post
Sorry I forgot to mention, I'm using windriver workbench. I believe the IP addresses are all set correctly, as I have not changed them. I have the laptop plugged into the DS, plugged into the router and the bot connected to the router. I have also tried connecting the bot directly to the DS, with the laptop still connected to the DS. I have also tried connecting the laptop to the router.

This seems to be either an error putting the code on the robot or an error running the code.
Then I can help
are you entering the entry point correctly with the right options? Right click the correct project, Run kernel task, Run? the target is connected properly, and set as the location to download to? also make sure that the run dialogs Download and Build project tabs contain one entry, your project, with the download, a path, a checked checkbox, an unchecked checkbox, and an option
You should not run when code is downloaded, it may cause errors, so I would Unload the current code (reboot), and run, debug etc, then when you are finished, set the correct project (window prefernces...) and then download.
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib