Go to Post just a gentle reminder not to limit yourself to just one viewpoint - every problem can and should be examined from different angles - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 31-01-2013, 20:51
William Kunkel William Kunkel is offline
Programming Lead
AKA: Kunkel
FRC #0422 (Mech Tech Dragons)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Richmond, VA
Posts: 94
William Kunkel is an unknown quantity at this point
How does Wind River deploy code to the robot?

I've been wondering how to deploy code to the robot by hand, because the FRC deploy tool has been...finicky, at best. I was under the impression that the deploy tool just connected to the robot via FTP and transferred over the code to FRCUserProgram.out. However, when I did this, the driver station complains about "no robot code". Am I missing a step?
  #2   Spotlight this post!  
Unread 31-01-2013, 21:33
ebarker's Avatar
ebarker ebarker is offline
Registered User
AKA: Ed Barker
FRC #1311 (Kell Robotics)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Kennesaw GA
Posts: 1,437
ebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond repute
Re: How does Wind River deploy code to the robot?

If you have your pc firewall enabled then you will have trouble deploying the code from the WindRiver IDE. So turn the firewall off and it will probably work fine. Make sure that you have WindRiver configured properly to pick up the right object from your project.

you can use FTP to move the file over. I cannot remember precisely where on the cRio you need to drop the code and you also need to have a particular filename. If I get a chance I'll look it you but I think you can find it pretty quickly on a properly formatted cRio using something like Filezilla.

edit: from another thread: "Next, use Filezilla or some other FTP client and log into your cRIO with a user ID of "FRC" and password of "FRC". CD to /ni-rt/system and copy your .out to FRC_UserProgram.out, exit the FTP client and reboot the cRIO. You should be good to go."

Note the spelling of 'FRC_UserProgram.out' versus 'FRCUserProgram.out' in your post.
__________________
Ed Barker

Last edited by ebarker : 31-01-2013 at 21:37.
  #3   Spotlight this post!  
Unread 31-01-2013, 21:51
William Kunkel William Kunkel is offline
Programming Lead
AKA: Kunkel
FRC #0422 (Mech Tech Dragons)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Richmond, VA
Posts: 94
William Kunkel is an unknown quantity at this point
Re: How does Wind River deploy code to the robot?

Hm. I misspelled the file name in my original post, but that's definitely what I did. And it's not a firewall problem, I have it completely disabled when I deploy. Maybe I just had bad luck the first time.
  #4   Spotlight this post!  
Unread 31-01-2013, 21:58
ebarker's Avatar
ebarker ebarker is offline
Registered User
AKA: Ed Barker
FRC #1311 (Kell Robotics)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Kennesaw GA
Posts: 1,437
ebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond repute
Re: How does Wind River deploy code to the robot?

success often hinges on overlooked details.

Success depends on getting all ALL the details correct. The devil is in the details. Details, Details, Details.
__________________
Ed Barker
Closed Thread


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 02:08.

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