Go to Post I have way too much time on my hands. - Brandon Martus [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 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
  #2   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
  #3   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