Go to Post Sometimes the complex can be done very simply. - Cory [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-02-2009, 16:21
gamemonk0 gamemonk0 is offline
John Nguyen
AKA: John Nguyen
FRC #0151 (Tough Techs)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Nashua, NH
Posts: 7
gamemonk0 is an unknown quantity at this point
Strange download errors

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?
Reply With Quote
  #2   Spotlight this post!  
Unread 08-02-2009, 18:20
elstaqub elstaqub is offline
Purported Programming Mentor
AKA: Ed Staub
FRC #0131 (C.H.A.O.S.)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Manchester NH
Posts: 5
elstaqub is an unknown quantity at this point
Re: Strange download errors

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.

When you figure out your problem - please post!
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2009, 06:55
kyungjin kyungjin is offline
Software Specialist
AKA: Daniel
VRC #0646
Team Role: Programmer
 
Join Date: Aug 2008
Rookie Year: 2009
Location: Honolulu, Hawaii
Posts: 65
kyungjin is an unknown quantity at this point
Send a message via AIM to kyungjin Send a message via MSN to kyungjin
Re: Strange download errors

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...
Reply With Quote
  #4   Spotlight this post!  
Unread 09-02-2009, 07:52
Ken Streeter's Avatar
Ken Streeter Ken Streeter is offline
Let the MAYHEM begin!
FRC #1519 (Mechanical Mayhem)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Team: Milford, NH; Me: Bedford, NH
Posts: 471
Ken Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond repute
Re: Strange download errors

Quote:
Originally Posted by gamemonk0 View Post
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.
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.
__________________
Ken Streeter - Team 1519 - Mechanical Mayhem (Milford Area Youth Homeschoolers Enriching Minds)
2015 NE District Winners with 195 & 2067, 125 & 1786, 230 & 4908, and 95 & 1307
2013 World Finalists & Archimedes Division Winners with 33 & 469
2013 & 2012 North Carolina Regional Winners with teams 435 & 4828 and 1311 & 2642
2011, 2010, 2006 Granite State Regional Winners with teams 175 & 176, 1073 & 1058, and 1276 & 133
Team 1519 Video Gallery - including Chairman's Video, and the infamous "Speed Racer!"
Reply With Quote
  #5   Spotlight this post!  
Unread 30-01-2010, 14:09
gamemonk0 gamemonk0 is offline
John Nguyen
AKA: John Nguyen
FRC #0151 (Tough Techs)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Nashua, NH
Posts: 7
gamemonk0 is an unknown quantity at this point
Re: Strange download errors

Quote:
Originally Posted by Ken Streeter View Post
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.
It was the subnet mask that was the issue, I think. Once we changed the subnet mask, then everything started to work again. Thanks a lot.
Reply With Quote
  #6   Spotlight this post!  
Unread 30-01-2010, 14:56
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: Strange download errors

Following up on a thread started nearly a year ago...

Quote:
Originally Posted by gamemonk0 View Post
It was the subnet mask that was the issue, I think. Once we changed the subnet mask, then everything started to work again. Thanks a lot.
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.
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
WindRiver Errors ExarKun666 C/C++ 7 04-03-2009 20:32
WindRiver errors dnrobotics11 C/C++ 1 27-01-2009 20:44
Makefile Errors neutrino15 Programming 1 29-01-2008 15:45
CAMERA ERRORS!!!!!!!!!!!! Hershey Programming 0 21-01-2005 18:59
CAMERA ERRORS!!!!!!!!!!!! Hershey Technical Discussion 0 21-01-2005 18:59


All times are GMT -5. The time now is 14:59.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi