When we attempt to download to the cRio through the driver station, we get an error that tells us to check the details. The details tell us that there is an IO error in downloading the code. I am trying to download the simpleTemplate that came with the WPILib, by the way. It builds without a hitch, but I cannot download it.
I have flashed and rebooted the system more times than we can count, as well as changed the battery and ensured that I am connected.
I have also tried connecting directly from my machine to the cRio with a crossover cable. Still, I get the same error. It appears almost instantaneously, also. Nothing appears in the console. Just that inexplicable error.
Has anyone else encountered this, or can help me know what’s failing on me?
I’m not sure, but I think I saw this happen today when a teammate tried to download a non-existent .out file. Make sure your download filename is right.
Make sure your FIRST downloader preferences are correct. You might have switched projects or deleted the file or something…
Assuming your .out file builds fine…
Go to Window->Preferences…
Go to FIRST Downloader Preferences and input your team number and navigate to your <Project Name>.out file. It should be somewhere in workspace/<Project Folder>/PPC603/Debug (or something of that sort)…
Either way, look for it in the project folder… Press OK and try again when you get comms…
The most likely problems are either (1) lack of network connectivity to the cRIO or (2) incorrect setting of the FIRST Downloader preferences in Wind River Workbench or (3) no compiled executable.
I would suggest investigating each of these as follows:
(1) Verify network connectivity to the cRIO. This is most easily done by trying to “ping” the cRIO from your PC. To do this, start up a command prompt on Windows, and enter “ping 10.1.51.2” You should get a series of four successful responses indicating “Reply from 10.1.51.2…” If you instead get a series of four “Request timed out.” responses, your problem is with network connectivity to the cRIO.
(2) Check the settings of the FIRST Downloader preferences in Wind River Workbench. For information on how to do this, see the “Deploying the C/C++ Program” section of the “C Programming Guide for FRC” (This is on page 26 as of revision 0.75 of this document)
(3) It may be the case that your code didn’t compile and that you have no executable file to download. Look to see if the file specified for use in the FIRST Downloader actually exists.
Please let us know if you manage to get past this, and, if so, what the problem was! If none of the above work, post that, too; maybe others will have additional suggestions.
Following up on a thread started nearly a year ago… :rolleyes:
Seriously though, thanks for following up. :]
Better late than never.
Too many dangling threads here.
Makes searching for solutions turn up way too many unresolved problems.