|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
"No code" each time cRIO is rebooted
Hi all,
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. Any one else having this issue? Any ideas? |
|
#2
|
||||
|
||||
|
Re: "No code" each time cRIO is rebooted
Did you remember to run the image updater for your cRIO with the v11 Update?
|
|
#3
|
|||
|
|||
|
Re: "No code" each time cRIO is rebooted
Yes.
|
|
#4
|
|||
|
|||
|
Re: "No code" each time cRIO is rebooted
Quote:
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." |
|
#5
|
||||
|
||||
|
Re: "No code" each time cRIO is rebooted
Have you tried viewing the console through the serial port? Sometimes if there is an error in the code it will not run it and you will get the no code message. View the entire boot text that it displays, the error should come up the the end if this is the case.
|
|
#6
|
|||
|
|||
|
Re: "No code" each time cRIO is rebooted
Quote:
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. |
|
#7
|
|||||
|
|||||
|
Re: "No code" each time cRIO is rebooted
Create a new default project and download it.
|
|
#8
|
||||
|
||||
|
Re: "No code" each time cRIO is rebooted
are you clicking Run or Run Kernel Task? you have to Run Kernel Task W/ the proper setup
|
|
#9
|
||||
|
||||
|
Re: "No code" each time cRIO is rebooted
Use the console via RS-232
if you've reflashed, then make sure you do a full power down. |
|
#10
|
||||
|
||||
|
Re: "No code" each time cRIO is rebooted
Quote:
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cRio losing connection when "run as startup" | mgurgol | Programming | 2 | 12-01-2009 12:18 |
| Team 1261 - cRIO on 2008 "Longshot" | Tanner | Robot Showcase | 2 | 31-12-2008 12:44 |
| "Battery: No Code" after uploading .out file to cRIO | knine143 | FRC Control System | 1 | 20-12-2008 22:14 |
| Getting two Vex controllers to "talk" to each other | thefro526 | Programming | 1 | 28-05-2007 11:59 |
| Coolist "bot" in each division | Michael King | Championship Event | 46 | 21-04-2003 18:20 |