FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannon download default Code

Ok so here is our problem.  We are trying to get our 2010 Robot to play with our nice programming team kids.  It was driving fine through the off-season and would pretty much always work when booted up.  At our team meeting yesterday we hit a snag trying to download new code onto the cRIO (we hadn't needed to program it since Nationals).  After connecting a (unproperly) updated laptop to the router and trying to deploy code onto the cRIO, we got the cRIO Timeout Error.  After a couple reboots we still had this issue although we could ping the cRIO from the laptop.  So the next step was imaging the cRIO.  We had some issues with our laptop (obviously it wasn't updated correctly, even though the firmware listed in the imaging tool is v20, the current version) and the wireless would turn on and connect to the school's internet whenever the LAN connection dropped.  So last night I updated the laptop to the most current version of everything (Labview update and DS update) and turned off all the wireless stuff.  Came in today and started the firmware update again.  Had some issues with it still (yay for Vista) but pushed through and was able to update the firmware successfully.  On reboot the Dashboard Laptop shows Communications, No Robot Code and no Voltage (all expected I believe).  We can ping the cRIO.  There are no crossover's, and we still get the timeout issue.  We can ping wired and wirelessly.  I can't Connect to the cRIO Target through the Project Explorer, can't Run at Startup and can't deploy Code, all with the FRC cRIO default Code.  I didn't try the User App switch but don't think it will matter.  Thoughts?  

0 Kudos
Message 1 of 2
(3,676 Views)

Hi David,

Here are a few things to try:

- flip the No App dip switch and try deploying the robot code. Sometime previously deployed code will take up all of the processing power on cRIO and prevent you from connecting to it. Flipping this switch will prevent an previous robot code deployed on the cRIO from running.

- In the imaging tool, check the box to reformat the the controll.er. This will remove any previously deployed code (essentially wiping it clean) and then redeploy the robot code.

Let me know if you still get the timeout error. If so, can you post a screenshot of the dialog?

~Olivia

0 Kudos
Message 2 of 2
(2,830 Views)