View Full Version : downloading issue
Schuyoff
11-05-2010, 15:53
Hi i can connect to the cRIO and "download" but i don't think that it is downloading my program to the right place. when i right click the .out file and download it downloads it to the cRIO but everytime i restart the robot it deletes itself so i have come to the conclusion that i downloaded it to the RAM and thus is has a phyiscal memory dump every shutdown. can anyone fix this?
nighterfighter
11-05-2010, 16:00
You are using Windriver correct? And using the FIRST->Download button?
Also, how do you know it is deleting your code?
Does it say "No Code"? If so, that could be a different error such as undefined symbols, AKA- A problem in your code.
Schuyoff
11-05-2010, 16:06
i tried first download but it had the same effect.
when i rebooted i went into the driver station and it said "no code".
Schuyoff
11-05-2010, 16:14
oh and i was using the simple robot template and i didnt do anything to it.
Radical Pi
11-05-2010, 18:04
Did you set up the FIRST downloader to work with your project? Go to Window->Preferences (I think) and click on FIRST downloader. Enter your team number and locate the .out file for your project.
Have you tried FTP to it? (10.xx.yy.1 Username:FRC Password:FRC, where xx is the first two digits of your team # and yy is the last two digits.)
It is supposed to be under the "ni-rt" directory and called "FRC_UserProgram.out".
i downloaded it to the RAM
How do you do that? RAM (literally) can only be accessed by the computer itself...
-Masoug
byteit101
14-05-2010, 20:38
How do you do that? RAM (literally) can only be accessed by the computer itself...
It's done with the Run/Debug (popcorn!) kernel task command in Windriver. WR sends it to the cRIO, which immediately loads it into memory, and runs it without saving it to a file.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.