Go to Post 22 motors? Challenge Accepted. - gyroscopeRaptor [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 10-01-2009, 18:01
computerboi1503 computerboi1503 is offline
Programmer/Driver/Spokesperson
AKA: A former me.
FRC #1503 (Spartonics)
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Niagara Falls, Ontario, Canada
Posts: 29
computerboi1503 will become famous soon enoughcomputerboi1503 will become famous soon enough
cRIO Problems

Hi,

Since updating WR and reimaging the cRIO, we have had a few problems.

Problem #1:

Downloading code takes nearly ten minutes

Problem #2:
When code is downloaded, and after cRIO+ DS is restarted, the DS displays "No Code"

Suggestions?
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 10-01-2009, 18:48
brianc217's Avatar
brianc217 brianc217 is offline
Registered User
None #1153
 
Join Date: Feb 2008
Location: Walpole, MA
Posts: 36
brianc217 is an unknown quantity at this point
Re: cRIO Problems

can you run the code that you download?
Reply With Quote
  #3   Spotlight this post!  
Unread 10-01-2009, 18:51
Greg Marra's Avatar Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
no team (The Blue Alliance)
Team Role: RoboCoach
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,030
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: cRIO Problems

Have you also patched WindRiver, LabView, and the Driver's Station to the newest versions as well?
__________________
Formerly Bobcat Robotics - Team 177 and X-Factor - Team 2124, now The Blue Alliance
Reply With Quote
  #4   Spotlight this post!  
Unread 10-01-2009, 22:59
whitetiger0990's Avatar
whitetiger0990 whitetiger0990 is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Earth
Posts: 157
whitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of light
Re: cRIO Problems

1) Are you fully updated?

2) By downloading do you mean deploying? Or does it take 10 minutes when you hit the white run arrow. You shouldn't be deploying too often.. running it from the laptop is much faster. Deploy when you're done.

3) Is the "No App" switch on the cRIO switched to Off like it should be?
__________________
print$q=chr(ord($q)+$1)while("7443-0201-8465130105-12-03135-82482113-06-7672-070208-0613-70"=~/(-?\d\d)/g);
Reply With Quote
  #5   Spotlight this post!  
Unread 10-01-2009, 23:01
1951-44U's Avatar
1951-44U 1951-44U is offline
ROAR.
AKA: Phil Chang
FRC #0025 (Raider Robotix)
Team Role: Programmer
 
Join Date: Oct 2008
Rookie Year: 2007
Location: NBTHS
Posts: 34
1951-44U has a spectacular aura about1951-44U has a spectacular aura about1951-44U has a spectacular aura about
Re: cRIO Problems

Did you configure the right .out file?

Windows >> Preferences >> FIRST Downloader Preferences

If you get the wrong one, it won't work. It should be the same name as the project you are working on.
Reply With Quote
  #6   Spotlight this post!  
Unread 10-01-2009, 23:13
whitetiger0990's Avatar
whitetiger0990 whitetiger0990 is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Earth
Posts: 157
whitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of light
Re: cRIO Problems

Whoops, completely missed that you're using WR. Skip my second point!
__________________
print$q=chr(ord($q)+$1)while("7443-0201-8465130105-12-03135-82482113-06-7672-070208-0613-70"=~/(-?\d\d)/g);
Reply With Quote
  #7   Spotlight this post!  
Unread 10-01-2009, 23:35
CardcaptorRLH85's Avatar
CardcaptorRLH85 CardcaptorRLH85 is offline
The master of the cards ^_^
AKA: Raa'Shaun H.
FRC #0322 (F.I.R.E. "Flint Inspires Real Engineers")
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Michigan, USA
Posts: 59
CardcaptorRLH85 is an unknown quantity at this point
Send a message via ICQ to CardcaptorRLH85 Send a message via AIM to CardcaptorRLH85 Send a message via MSN to CardcaptorRLH85 Send a message via Yahoo to CardcaptorRLH85
Re: cRIO Problems

Quote:
Originally Posted by computerboi1503 View Post
Hi,

Since updating WR and reimaging the cRIO, we have had a few problems.

Problem #1:

Downloading code takes nearly ten minutes

Problem #2:
When code is downloaded, and after cRIO+ DS is restarted, the DS displays "No Code"

Suggestions?
Our team has never had that first problem however, we have had the "No Code" error before. Once was when I updated the WPILib to 1.2 but neglected to update the cRIO to v7 >_<

However, even after making sure that everything was updated, I still got the "No Code" error. The problem was that the code I ws trying to load was from a new VxWorks 6.3 Downloadable Kernel Module Project that I created instead of just editing one of the examples. If you've already updated everything and are still having problems, try creating a new copy of one of the examples and loading it. If that works then you may be suffering the same problem as we were.

By the way, this isn't in any of the references or manuals (in fact right now the 'Create An Application' page is blank >_<) but, how exactly what settings would have to be set to make a project from scratch. I'm only somewhat familiar with eclipse and my knowledge is from eclipse 3.4x not the 3.3x that WindRiver is based on so any information will be of great help ^_^
__________________

Reply With Quote
  #8   Spotlight this post!  
Unread 11-01-2009, 09:35
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 586
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: cRIO Problems

Quote:
Originally Posted by CardcaptorRLH85 View Post
By the way, this isn't in any of the references or manuals (in fact right now the 'Create An Application' page is blank >_<) but, how exactly what settings would have to be set to make a project from scratch. I'm only somewhat familiar with eclipse and my knowledge is from eclipse 3.4x not the 3.3x that WindRiver is based on so any information will be of great help ^_^
Look at the Users Guide in c:\windriver\docs\extentions\FRC. It has examples of how to create a project from scratch. The way to do it is to take one of the sample programs and edit it into your robot program. The examples are very short and easy to understand. In particular, you might try "SimpleTemplate" and fill in your Autonomous and OperatorControl methods. There's some stuff in the Users Guide that walks you through it.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
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
Problems reimaging cRIO ravena Technical Discussion 13 17-02-2009 20:19
cRIO Problem Pneumaticsman NI LabVIEW 8 10-01-2009 11:59
Problems undeploying a program from the cRIO ellisk Programming 2 29-12-2008 16:21
Labview problems and code problems ajsetter Programming 25 18-01-2006 17:07


All times are GMT -5. The time now is 09:58.

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