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 :slight_smile:

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.

Glad the me from the past could help you now :slight_smile:

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/showthread.php?t=105877 and http://www.chiefdelphi.com/forums/showthread.php?t=109385)

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

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!

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.

Good luck!