Thread: roboRIO issues
View Single Post
  #14   Spotlight this post!  
Unread 19-03-2015, 18:38
Geerthan Geerthan is offline
Registered User
no team
 
Join Date: Mar 2014
Rookie Year: 2010
Location: Canada
Posts: 2
Geerthan is an unknown quantity at this point
Re: roboRIO issues

Quote:
Originally Posted by Arron1999 View Post
I am the student that found the problem. So I finished building the auto for the code we were currently using. To build and deploy the code this is what I did. I right clicked on FRC Robot Boot up Deployment, then I clicked on build. After the code built successful I then right clicked on FRC Robot Boot up Deployment and clicked deploy. The computer said that the code deployed successfully. I then power cycled the robot and when the driver station connected with the robot it said that there was no robot code. This is what we have done every time we built and deployed code and had zero problems.
Your second step will not keep code on the robot after a power cycle. The alternate mode for downloading code, however, fixes this problem.

According to WPI,
Quote:
In the Project Explorer, click the + next to Build Specifications to expand it.
Right-click on FRC Robot Boot-up Deployment and select Build. Wait for the build to complete.
Right-click again on FRC Robot Boot-Up Deployment and select Run as Startup. If you receive a conflict dialog, click OK. This dialog simply indicates that there is currently a program on the roboRIO which will be terminated/replaced.
Either check the box to close the deployment window on successful completion or click the close button when the deployment completes.
The roboRIO will automatically start running the deployed code within a few seconds of the dialog closing.
This should keep code saved even after cycling power on the RoboRio. However, a detailed link can be found here and has fancy images. (under Deploying the Program)