Go to Post And if in the end the students are inspired and more of the public becomes aware of the program, and people gain more appreciation for engineering, how can that not be a good thing? - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-05-2010, 15:53
Schuyoff Schuyoff is offline
Registered User
FRC #2904
 
Join Date: May 2010
Location: washington
Posts: 3
Schuyoff is an unknown quantity at this point
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 11-05-2010, 16:00
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 11-05-2010, 16:06
Schuyoff Schuyoff is offline
Registered User
FRC #2904
 
Join Date: May 2010
Location: washington
Posts: 3
Schuyoff is an unknown quantity at this point
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".
Reply With Quote
  #4   Spotlight this post!  
Unread 11-05-2010, 16:14
Schuyoff Schuyoff is offline
Registered User
FRC #2904
 
Join Date: May 2010
Location: washington
Posts: 3
Schuyoff is an unknown quantity at this point
Re: downloading issue

oh and i was using the simple robot template and i didnt do anything to it.
Reply With Quote
  #5   Spotlight this post!  
Unread 11-05-2010, 18:04
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
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.
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
Reply With Quote
  #6   Spotlight this post!  
Unread 14-05-2010, 15:22
masoug's Avatar
masoug masoug is offline
Food Consumer
FRC #0114
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Planet Earth
Posts: 78
masoug is an unknown quantity at this point
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
__________________

JabbaScript
Reply With Quote
  #7   Spotlight this post!  
Unread 14-05-2010, 20:38
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: downloading issue

Quote:
Originally Posted by masoug View Post
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.
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Downloading error dnrobotics11 C/C++ 2 02-02-2009 18:52
Downloading help Lyrix NI LabVIEW 1 22-01-2009 00:39
An Issue with downloading the Master Code. Neil [Coconuts] Programming 6 07-02-2008 14:03
Issue with downloading code to the 2007 RC thefro526 Programming 3 10-02-2007 17:26
downloading problems. Dylan Gramlich VEX 9 13-12-2006 13:03


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

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