Go to Post I guess nobody on the GDC has ever been whacked with a pool noodle. - Joe Ross [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 21-01-2010, 17:57
rjn rjn is offline
Registered User
no team
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Why is this required
Posts: 15
rjn is an unknown quantity at this point
Another Can't Download Code Thread

Here's the situation. We have updated the DS with the DS update, Labview update, imaged the crio for with v19 for windriver, and on our programming laptop, we freshly installed Windriver, and applied all of the patches. The workbench update was just fine and unpacked everything. I can ping the cRIO and the Dashboard can receive communication, and we can even download LAbview code onto our robot and it will work. In the network tab in Windriver I can see all of the processes running on the crio, and sometimes when I download the code the bar will fill up, and at other times it will error out with an "IO error while downloading...".

Another note is that I created a new remote registry for our IP address, however it won't connect. We have configured our FIRST download preferences and all of our IP stuff has been set up. We have gone through that gosh darned getting started with c manual a million times.
Reply With Quote
  #2   Spotlight this post!  
Unread 21-01-2010, 20:55
ehochstein's Avatar
ehochstein ehochstein is offline
Coach, Volunteer & Mentor
AKA: Evan Hochstein
FTC #5943 (ESGM)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Bloomington, Minnesota
Posts: 933
ehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant future
Re: Another Can't Download Code Thread

Try going through all of the Getting Started manual again! That worked for our team! I'll have exact instructions on how we fixed ours tomorrow if you would like, pm me.
__________________
Minnesota FIRST Senior Mentor | 2013-?

Stratasys Applications Engineering Technician | 2016-?

2009 Regional Win – 2470 @ 10k Lakes (Thanks 2826 and 1714)
2013 WFFA Recipient – 2470 @ 10K Lakes
2016 Ri3D: 'Snow Problem Reveal
2017 Ri3D: 'Snow Problem Reveal

The opinions expressed above are the personal opinions of the author and do not necessarily represent the views and opinions of any organization the author is affiliated with.
Reply With Quote
  #3   Spotlight this post!  
Unread 22-01-2010, 10:39
rjn rjn is offline
Registered User
no team
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Why is this required
Posts: 15
rjn is an unknown quantity at this point
Re: Another Can't Download Code Thread

We have gone through the manual over more than once. Fresh installs, what else?
Reply With Quote
  #4   Spotlight this post!  
Unread 22-01-2010, 11:29
ehochstein's Avatar
ehochstein ehochstein is offline
Coach, Volunteer & Mentor
AKA: Evan Hochstein
FTC #5943 (ESGM)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Bloomington, Minnesota
Posts: 933
ehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant future
Re: Another Can't Download Code Thread

Just checking, but you are going through the benchtop test correct? and i know it has something to do with that error you are getting, but i can't remember exactly what we did to fix it after that... all i know is we went to (in windriver)
window -> preferences
there is something there that should fix it. i'll try to get better information for you today around 240
__________________
Minnesota FIRST Senior Mentor | 2013-?

Stratasys Applications Engineering Technician | 2016-?

2009 Regional Win – 2470 @ 10k Lakes (Thanks 2826 and 1714)
2013 WFFA Recipient – 2470 @ 10K Lakes
2016 Ri3D: 'Snow Problem Reveal
2017 Ri3D: 'Snow Problem Reveal

The opinions expressed above are the personal opinions of the author and do not necessarily represent the views and opinions of any organization the author is affiliated with.
Reply With Quote
  #5   Spotlight this post!  
Unread 22-01-2010, 15:15
heydowns's Avatar
heydowns heydowns is offline
Registered User
AKA: Jeff Downs
FRC #1511 (Rolling Thunder)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Ra-Cha-Cha
Posts: 142
heydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond repute
Re: Another Can't Download Code Thread

Quote:
Originally Posted by rjn View Post
Here's the situation. We have updated the DS with the DS update, Labview update, imaged the crio for with v19 for windriver, and on our programming laptop, we freshly installed Windriver, and applied all of the patches. The workbench update was just fine and unpacked everything. I can ping the cRIO and the Dashboard can receive communication, and we can even download LAbview code onto our robot and it will work. In the network tab in Windriver I can see all of the processes running on the crio, and sometimes when I download the code the bar will fill up, and at other times it will error out with an "IO error while downloading...".

Another note is that I created a new remote registry for our IP address, however it won't connect. We have configured our FIRST download preferences and all of our IP stuff has been set up. We have gone through that gosh darned getting started with c manual a million times.
You mentioned having success with downloading LabVIEW code, but are having trouble with C++ programs from Windriver. Did you re-image for C++ after trying it with LabVIEW? A cRIO imaged for LabVIEW will not run C++ programs and interact with WindRiver properly.

The preference that Wiifi is mentioning controls to what IP address the FIRST->Download tool will attempt to download code to. If you are getting timeouts downloading code, double check the FIRST Downloader preferences: Window->Preferences->FIRST Downloader; ensure your team number is correct and that the path to the binary file to download is correct.

Last edited by heydowns : 22-01-2010 at 16:16.
Reply With Quote
  #6   Spotlight this post!  
Unread 22-01-2010, 15:39
rjn rjn is offline
Registered User
no team
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Why is this required
Posts: 15
rjn is an unknown quantity at this point
Re: Another Can't Download Code Thread

Yes, we formatted more thabn once even, it is v19 and it is for windriver, the DS confrims it. And we are 100% sure that our download preferences are correct.
Reply With Quote
  #7   Spotlight this post!  
Unread 22-01-2010, 15:42
ehochstein's Avatar
ehochstein ehochstein is offline
Coach, Volunteer & Mentor
AKA: Evan Hochstein
FTC #5943 (ESGM)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Bloomington, Minnesota
Posts: 933
ehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant future
Re: Another Can't Download Code Thread

Yes, that is what I could not remember the
Window -> Preferences -> FIRST Downloader

Then you have to enter the information included in section 2.8.2 of this manual: http://usfirst.org/uploadedFiles/Com...ed-Rev-0.7.pdf
__________________
Minnesota FIRST Senior Mentor | 2013-?

Stratasys Applications Engineering Technician | 2016-?

2009 Regional Win – 2470 @ 10k Lakes (Thanks 2826 and 1714)
2013 WFFA Recipient – 2470 @ 10K Lakes
2016 Ri3D: 'Snow Problem Reveal
2017 Ri3D: 'Snow Problem Reveal

The opinions expressed above are the personal opinions of the author and do not necessarily represent the views and opinions of any organization the author is affiliated with.
Reply With Quote
  #8   Spotlight this post!  
Unread 22-01-2010, 15:46
rjn rjn is offline
Registered User
no team
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Why is this required
Posts: 15
rjn is an unknown quantity at this point
Re: Another Can't Download Code Thread

Well, I don't know where to go from here, so I'll just try another clean wipe all over and see how that goes. Wait, C++ binaries work on the Labview cRIO image?

Last edited by rjn : 22-01-2010 at 15:50.
Reply With Quote
  #9   Spotlight this post!  
Unread 22-01-2010, 16:16
heydowns's Avatar
heydowns heydowns is offline
Registered User
AKA: Jeff Downs
FRC #1511 (Rolling Thunder)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Ra-Cha-Cha
Posts: 142
heydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond repute
Re: Another Can't Download Code Thread

Quote:
Originally Posted by rjn View Post
Well, I don't know where to go from here, so I'll just try another clean wipe all over and see how that goes. Wait, C++ binaries work on the Labview cRIO image?
No, typo! Sorry and corrected
Reply With Quote
  #10   Spotlight this post!  
Unread 24-01-2010, 10:17
Bryan Herbst's Avatar
Bryan Herbst Bryan Herbst is offline
Registered User
AKA: Bryan
FRC #2052 (KnightKrawler)
Team Role: Mentor
 
Join Date: Sep 2007
Rookie Year: 2007
Location: Minneapolis, Minnesota
Posts: 545
Bryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond repute
Re: Another Can't Download Code Thread

We got it working. The only thing we did was turn off the laptop. As soon as it began shutting down, the DS recognized the robot code. From then on, everything worked as it should.

Apparently we did not restart the laptop after reinstalling windriver, which may have been the problem.
__________________
Team 2052- Knightkrawler
Mentor and volunteer
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
Yet another Camera thread... Pancake C/C++ 2 26-01-2009 11:42
Yet another bumper thread Vikesrock Technical Discussion 26 19-01-2009 17:04
Can't Download Code nickmagus Programming 1 05-01-2009 17:52
Can't download from Autodesk FIRSTbase Bomberofdoom Inventor 11 01-01-2008 20:06
Why can't I reply to a thread???? Q. Sheets CD Forum Support 2 23-11-2005 20:10


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

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