Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   downloading issue (http://www.chiefdelphi.com/forums/showthread.php?t=85760)

Schuyoff 11-05-2010 15:53

downloading issue
 
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

Re: downloading issue
 
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

Re: downloading issue
 
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

Re: downloading issue
 
oh and i was using the simple robot template and i didnt do anything to it.

Radical Pi 11-05-2010 18:04

Re: downloading issue
 
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.

masoug 14-05-2010 15:22

Re: downloading issue
 
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".
Quote:

Originally Posted by Schuyoff
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

Re: downloading issue
 
Quote:

Originally Posted by masoug (Post 962163)
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.


All times are GMT -5. The time now is 13:50.

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