Go to Post FIRST doesn't end after your last year within a team. It's never going to end. - Tetraman [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 22-01-2012, 15:13
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Deploying code in WindRiver never finishes

Deploying code is typically very quick. Perhaps you have a firewall enabled that's preventing FTP connections?
Reply With Quote
  #2   Spotlight this post!  
Unread 22-01-2012, 15:29
bob.wolff68's Avatar
bob.wolff68 bob.wolff68 is offline
Da' Mentor Man
FRC #1967
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2007
Location: United States
Posts: 157
bob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nice
Re: Deploying code in WindRiver never finishes

I'm not quite a pro yet at WindRiver, but the first diagnostic things I would suggest are:

1) open a command prompt (Start->Run... type in 'cmd' then click ok) -- then at the command prompt do "ping 10.xx.yy.2" where xxyy is your team number (example - team 1234 would ping 10.12.34.2 while team 701 would type ping 10.7.1.2. See if you get "reply received..." messages or "request timed out". If you are geting timeout messages, then your cRio config is messed up - go back to the FRC setup for the cRIO to re-flash your robot in this case until you do get a ping functioning.

2) at that command prompt, run "ipconfig" and see that YOUR ip address is of the form 10.xx.yy.*. If not, you'll need to setup tcp/ip there properly to fix.

3) If ping is working, I would think that your WindRiver connection setup to the robot is not correct (or has become corrupted by something) -- re-step through the WindRiver FRC setup to re-setup the connection and delete the old connection.

Others may have BETTER suggestions, but #1 is a for-sure quick item that can help with the most basic of issues.

bob
Reply With Quote
  #3   Spotlight this post!  
Unread 23-01-2012, 22:51
msulaimain's Avatar
msulaimain msulaimain is offline
Registered User
AKA: Muhammad Sulaiman
FRC #3346 ([{Kamikaze Komets}])
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2009
Location: USA
Posts: 36
msulaimain can only hope to improve
Send a message via AIM to msulaimain Send a message via Yahoo to msulaimain
Re: Deploying code in WindRiver never finishes

Have you set up your team number under preferences in Windriver and there's always the option of using FileZilla in times like this to upload your .out file which you can find in one of the WindRiver directory folders and then uploading that to your cRio using FileZilla. Be sure to rename the .out file to FRC_UserProgram.out when uploading to cRio. You upload it to the ni-rt/system folder in your cRio. I hope that helps.
__________________
int main()
{
::::::::: include=>commitment;
::::::::: int=>school name=>Asheboro::High
::::::::: int=>team name=>Kamikaze::Komets;
::::::::: Priority_Queue=>FRC Championship::2012;
::::::::: Max_Element=>Teamwork;
}
Reply With Quote
  #4   Spotlight this post!  
Unread 27-01-2012, 13:06
wadehas wadehas is offline
Registered User
FRC #1258
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2004
Location: Seattle
Posts: 8
wadehas is an unknown quantity at this point
Re: Deploying code in WindRiver never finishes

The times I have seen this is when the Firewall is enabled and blocking things...

You can manually deploy the code by doing the following:

- In an Explorer window (NOT Internet Explorer, but Windows Explorer), in the address box type "ftp://10.xx.yy.2", where "xx.yy" is your team number

- go to the "ni-rt/system" folder, and copy your .out file to this folder

- rename your .out file to "FRC_UserProgram.out"

- Reboot cRio.

I see this with my work laptop, because corporate IT pushes down all kinds of policies which don't allow me to turn of the firewall. (Yes, I am an admin on the box, and still can't turn off the firewall).

Also suggest turning of Antivirus software as well as that could be blocking something as well.
Reply With Quote
  #5   Spotlight this post!  
Unread 31-01-2012, 11:17
DjScribbles DjScribbles is offline
Programming Mentor
AKA: Joe S
FRC #2474 (Team Excel)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Niles MI
Posts: 284
DjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to behold
Re: Deploying code in WindRiver never finishes

I have been seeing this happening sporadically myself.

I am usually able to deploy code, but I find some combination of FTPing into the robot using firefox and enabling teleop on the driver station will cause my deploys to hang in such a way that windriver will just sit at "Deploying" (or "Undeploying") forever.

Typically, I have to power down the robot and close windriver to get it to work again after this happens.
Not sure if this is your issue, but it definately caused me some pain the first few times it happened.
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


All times are GMT -5. The time now is 03:04.

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