Go to Post Because you know what they say, the new year doesn't begin until Dean, Dave, and Woodie drop the big one. - Jay Trzaskos [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 24-01-2011, 10:29
Revant54 Revant54 is offline
Registered User
FRC #1474
 
Join Date: Jan 2011
Location: Tewksbury, MA
Posts: 3
Revant54 is an unknown quantity at this point
WindRiver Deployment Error

Hey everyone,

Everytime we try to deploy our sample code to the cRIO, we get an error and this is what it says in the details box: "Please set your team number and file under Window->Preferences".

Now I went to Window -> Preferences -> Team, and I haven't been able to find anything refering to the team number and file. Any advice would be greatly appreciated.

Thanks.
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2011, 10:33
Alexander Meyer Alexander Meyer is offline
Registered User
FRC #2358 (Bearbotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Lake Zurich, Illinois
Posts: 36
Alexander Meyer is on a distinguished road
Re: WindRiver Deployment Error

The team number option will be under Preferences->FIRST Downloader Preferences.
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2011, 11:00
Casual nonsense Casual nonsense is offline
Registered User
FRC #1474
 
Join Date: Jan 2011
Location: Tewksbury
Posts: 6
Casual nonsense is an unknown quantity at this point
Re: WindRiver Deployment Error

Hi, I am the coder on the same team. Even after entering our team number here, whenever we deploy our code, nothing occurs, and no code is deployed.

I dont know how to deploy our C++ code to our robot successfully. Any advice?
Reply With Quote
  #4   Spotlight this post!  
Unread 24-01-2011, 12:34
demosthenes2k8's Avatar
demosthenes2k8 demosthenes2k8 is offline
Graduated but not gone
AKA: Matt Soucy
FRC #0166 (Chop Shop 166)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Merrimack, NH
Posts: 589
demosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to behold
Send a message via AIM to demosthenes2k8 Send a message via Yahoo to demosthenes2k8
Re: WindRiver Deployment Error

Do you power cycle the robot afterwards?
__________________


GSR Dean's List Finalist 2011
Reply With Quote
  #5   Spotlight this post!  
Unread 24-01-2011, 12:42
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: WindRiver Deployment Error

In the same window you typed the team number into, you also need to tell it where the code is for your project. Assuming you started with the SimpleTemplate example, click browse and direct it to C:/windriver/workspace/<Project Name>/PPC603gnu/SimpleTemplate/Debug/SimpleTemplate.out
__________________

"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 24-01-2011, 21:18
Casual nonsense Casual nonsense is offline
Registered User
FRC #1474
 
Join Date: Jan 2011
Location: Tewksbury
Posts: 6
Casual nonsense is an unknown quantity at this point
Re: WindRiver Deployment Error

So after doing all of these steps and having the RIO find our file (thanks for the tip btw) It doesn't have an error when deploying. the thing is nothing happens when I click deploy. Literally nothing, the drop down menu just goes away. I then shut off the RIO and connected it to the DS and it says there is no robot code on the brain. Any advice at this point?
Reply With Quote
  #7   Spotlight this post!  
Unread 24-01-2011, 21:22
Jake-3284's Avatar
Jake-3284 Jake-3284 is offline
Registered User
FRC #3284
 
Join Date: Jan 2011
Location: Camdenton, MO
Posts: 3
Jake-3284 is an unknown quantity at this point
Re: WindRiver Deployment Error

You're firewall is probably not disabled. Disable it and deployment should work.
Reply With Quote
  #8   Spotlight this post!  
Unread 26-01-2011, 18:56
Casual nonsense Casual nonsense is offline
Registered User
FRC #1474
 
Join Date: Jan 2011
Location: Tewksbury
Posts: 6
Casual nonsense is an unknown quantity at this point
Re: WindRiver Deployment Error

So we haven't got a perfect deploy. So we followed a tutorial example of using a debugger in Windriver, after the first successful run and the program terminates, I try to run again and get the following error "Download failed, possibly caused by object module already in memory". We seem to have made progress in that the Driver Station notices we have robot code on the Rio, However the code does not function and essentially the debugger can't even fully run. http://thinktank.wpi.edu/article/137
Reply With Quote
  #9   Spotlight this post!  
Unread 26-01-2011, 19:09
Casual nonsense Casual nonsense is offline
Registered User
FRC #1474
 
Join Date: Jan 2011
Location: Tewksbury
Posts: 6
Casual nonsense is an unknown quantity at this point
Re: WindRiver Deployment Error

We temporarily resolved the previous issue by changing the advanced download options, by unchecking the do not unload existing module box, so now when the simple robot template executes we are getting an error during the startrobottaskfunctioninrobotbase.cpp the error is "default code was still running please try again". We don't know what this means. Help?
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


All times are GMT -5. The time now is 03:26.

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