View Single Post
  #6   Spotlight this post!  
Unread 02-01-2009, 12:26 PM
Shinigami2057 Shinigami2057 is offline
Slackware Is Your New God (Mentor)
AKA: Harry Bock
FRC #1350 (Rambots)
Team Role: Programmer
 
Join Date: Oct 2006
Rookie Year: 2006
Location: Johnston, RI
Posts: 106
Shinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really nice
Re: "No code" each time cRIO is rebooted

Quote:
Originally Posted by ComradeNikolai View Post
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."
No, we're using just the Run dialog, where the program is loaded directly into memory. Our code loads and shows up in the Remote Systems panel, but the driver station still says "No Code". After deleting the code from the panel (right-click 'project.out' and click Delete) and re-running it (again directly from memory), it works fine until you reboot the cRIO.

It's not a huge problem - it only takes about 10 seconds do load-unload-load and get it working, but it is a little annoying.
__________________
One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Reply With Quote