Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   How do I deploy code without WindRiver? (http://www.chiefdelphi.com/forums/showthread.php?t=113335)

CardcaptorRLH85 12-02-2013 14:15

How do I deploy code without WindRiver?
 
Here's my problem, the laptop with WindRiver installed is currently broken and a new one will arrive later this week. However, we want to actually operate our robot today. So, I need to get the .out file from my desktop at home on to the cRIO at the school. I know that I can FTP to the cRIO but when I did that yesterday I didn't know which folder to place the .out file in and I don't know if I have to rename it first. These are both things that I think I need to know for the purpose of making this work. I've done some searching but I haven't been able to find the answer anywhere else. Thanks for any assistance you can give ^_^

EDIT: I found the answer. The search function is kinda bad here on CD I found a thread from two years ago using Google just now. For future reference this is where it goes: ftp://10.xx.yy.2/system/startup/FRC_UserProgram.out Thanks go to byteit101 for helping someone else with this same issue.

byteit101 12-02-2013 21:31

Re: How do I deploy code without WindRiver?
 
Glad the me from the past could help you now :-)

That ftp path still works, though if you want to also *build* code without WindRiver, you can use either UCPP makefiles, or the new GCC toolchain (http://www.chiefdelphi.com/forums/sh...d.php?t=105877 and http://www.chiefdelphi.com/forums/sh...d.php?t=109385)

wireties 12-02-2013 23:39

Re: How do I deploy code without WindRiver?
 
The "deployment" is simply a ftp transfer to the robot. You can use any ftp client to do this (like filezilla). The name and password on the robot is "user" and "password". The default directory (on the robot) is the correct destination.

HTH

xraymypanda 13-02-2013 18:03

Re: How do I deploy code without WindRiver?
 
How my team does it:
In Windriver, Clean your code
Download Filezilla
Open Filezilla
Connect to the robot (10.te.am.2)
Navigate to/ni-rt/system/ on the cRIO
Navigate to C:/YourProject/PPC603gnu/YourProject/
Rename YourProject.out to FRC_UserProgram.out
double click on FRC_UserProgram.out to send it to the robot
Once the transfer is complete, reboot your robot and drive away!

CodeYeti 14-02-2013 16:43

Re: How do I deploy code without WindRiver?
 
Somebody actually developed a tool for uploading images to the crio called frctool. It's written in go. If you're interested, the link is below. Obviously, this isn't the best solution if you're just going for a one-time upload.

https://bitbucket.org/zombiezen/frctool

Good luck!


All times are GMT -5. The time now is 18:23.

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