View Single Post
  #4   Spotlight this post!  
Unread 01-31-2009, 04:38 PM
ComradeNikolai ComradeNikolai is offline
Registered User
AKA: Nicholas
FRC #2603 (Team Hornet)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Medina, Ohio
Posts: 203
ComradeNikolai is a splendid one to beholdComradeNikolai is a splendid one to beholdComradeNikolai is a splendid one to beholdComradeNikolai is a splendid one to beholdComradeNikolai is a splendid one to beholdComradeNikolai is a splendid one to beholdComradeNikolai is a splendid one to behold
Re: "No code" each time cRIO is rebooted

Quote:
Originally Posted by Shinigami2057 View Post
We're having a problem loading code onto the bot with the new WPILib update. The first time the cRIO is started, and you run your user program directly, it still says "No Code". Only when you delete the program from memory and run it again does it start working. This did not happen until we updated WPILib and the cRIO/FPGA firmware.
For clarification: are you asking if you have to use "FIRST->Undeploy" before using "FIRST->Download"? Are you asking if you have to use "FIRST->Undeploy" before running the program off of the cRIO RAM?

If the former, this is normal procedure, and a good idea even if you could get away with not undeploying; your cRIO will eventually need formatting again if you download without undeploying. Always undeploy before downloading. Also, I believe you have to undeploy to run the program with "Run" or "Debug."
__________________
I cut myself shaving with Occam's razor.

Reply With Quote