Go to Post Without the game, there is no FIRST ... period. - Paul Copioli [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 06-01-2009, 20:30
dpeterson3 dpeterson3 is offline
Registered User
FRC #1178 (DURT)
Team Role: Alumni
 
Join Date: Aug 2008
Rookie Year: 2008
Location: St. Louis
Posts: 158
dpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the rough
CRIO not working with Windriver

All right. I am tired of this CRIO. It will not take code from Windriver. We just tried a sample project and it will not deploy. The DS says no code next to the battery. Tonight, we switched the CRIO from Windriver to Labview in the imaging tool, and we all of a sudden have battery power readings, motors running, and everything else. The problem is we want to code in C++.

Here is the error message we get sometimes. "can not connect to 10.11.78.2:21" We have tried this through the DS, with a crossover, and just over the network. Any ideas what might be wrong?
Reply With Quote
  #2   Spotlight this post!  
Unread 06-01-2009, 23:02
Racer26 Racer26 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Racer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond repute
Re: CRIO not working with Windriver

...are you starting with one of the example projects?

If not, I suspect thats your problem.
Reply With Quote
  #3   Spotlight this post!  
Unread 07-01-2009, 00:28
m3rc1l3ss m3rc1l3ss is offline
Registered User
FRC #1178 (DURT)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Missouri
Posts: 14
m3rc1l3ss is an unknown quantity at this point
Re: CRIO not working with Windriver

Yes, it is one of the example projects, specifically "simple template" We are figuring it is probably something insanely obvious, but as of yet, our team has had no luck.
Reply With Quote
  #4   Spotlight this post!  
Unread 07-01-2009, 08:24
charrisTTI charrisTTI is offline
Ramblin' Wreck
AKA: Charles Harris
FRC #0623
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Vienna, VA
Posts: 106
charrisTTI has a spectacular aura aboutcharrisTTI has a spectacular aura about
Send a message via AIM to charrisTTI
Re: CRIO not working with Windriver

1) Did your system pass benchtop test?
2) Did you successfully format (reimage) the cRIO and update driver station?
3) Did you select the development environment (C++ vs LabView) AFTER the reimage?
4) Can you ping the ip address of all elements of your "robot" network? cRIO, driver station, etc. from the PC?
5) Have you tried turning off the firewall in your PC?
__________________
FRC 623 2003,2004,2005,2006,2007,2008, 2009, 2010, 2011
FRC 1900 2007
FVC 60 and 193 2006
FVC 3271 2007
FTC 226 and 369 2008, 2009, 2010, 2011
FTC 3806 2010
Reply With Quote
  #5   Spotlight this post!  
Unread 07-01-2009, 08:41
jtdowney jtdowney is offline
Boiler Up
AKA: John Downey
FRC #4302 (Robophins)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Chicago
Posts: 300
jtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant future
Re: CRIO not working with Windriver

Quote:
Originally Posted by dpeterson3 View Post
All right. I am tired of this CRIO. It will not take code from Windriver. We just tried a sample project and it will not deploy. The DS says no code next to the battery. Tonight, we switched the CRIO from Windriver to Labview in the imaging tool, and we all of a sudden have battery power readings, motors running, and everything else. The problem is we want to code in C++.

Here is the error message we get sometimes. "can not connect to 10.11.78.2:21" We have tried this through the DS, with a crossover, and just over the network. Any ideas what might be wrong?
I am going to echo charrisTTI and say the problem sounds like you didn't tell it to switch environments. You have to use the FRC Imagining Tool to reflash the cRIO and tell it if you wan't to use LabView or C++.
__________________
John Downey
Lead Robot Inspector - Purdue IndianaFIRST District
Whitney Young Magnet High School/Robophins (FRC 4302) - Mentor (2013-current)
Midwest Regional Planning Committee - Member (2012-current)
Boilermaker Regional Planning Committee - Member (2011-2014)
Robot Inspector (2008-current)
Purdue FIRST Programs - Staff Advisor (2008-2011)
Lafayette-Jefferson High School/Precision Guessworks (FRC 1646) - Mentor (2006-2011)
Reply With Quote
  #6   Spotlight this post!  
Unread 07-01-2009, 11:02
kyungjin kyungjin is offline
Software Specialist
AKA: Daniel
VRC #0646
Team Role: Programmer
 
Join Date: Aug 2008
Rookie Year: 2009
Location: Honolulu, Hawaii
Posts: 65
kyungjin is an unknown quantity at this point
Send a message via AIM to kyungjin Send a message via MSN to kyungjin
Re: CRIO not working with Windriver

Can you connect to your cRIO device? If you can connect, it should have a list of processes that are running on your device in the target pane. Having said that... If it says "No Code", I would go FIRST -> Download (after your cRIO is connected). After the file successfully transfers... Reboot your cRIO and your DSU and hopefully it will switch from No Comms to a battery voltage level.
Reply With Quote
  #7   Spotlight this post!  
Unread 07-01-2009, 11:15
nickmagus's Avatar
nickmagus nickmagus is offline
Registered User
AKA: Nick Clayton
FRC #0008 (Paly Robotics)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Palo Alto, Califorinia
Posts: 56
nickmagus is an unknown quantity at this point
Send a message via AIM to nickmagus
Re: CRIO not working with Windriver

Quote:
I am going to echo charrisTTI and say the problem sounds like you didn't tell it to switch environments. You have to use the FRC Imagining Tool to reflash the cRIO and tell it if you wan't to use LabView or C++.
JTdowney is right. Its sounds as if you imaged your cRio to be LabView compatible. What you probably want to do is download the new cRio image update and make sure you select C++ in the cRio Imaging Tool.
Reply With Quote
  #8   Spotlight this post!  
Unread 07-01-2009, 20:49
m3rc1l3ss m3rc1l3ss is offline
Registered User
FRC #1178 (DURT)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Missouri
Posts: 14
m3rc1l3ss is an unknown quantity at this point
Re: CRIO not working with Windriver

The problem has been solved. I guess the first notation figured that the crio would automatically connect to the crio as I didn't see any notes about how to connect. (The button is nicely buried) Anyway thank you for all of the tips.


If anyone else has this problem there will be an icon in the bottom corner that says show as fast view. In that window make sure you right click on the "vxworks6x" and click connect. Subsequent connections seem to be automatic. Another note to teams having difficulty is if you get an error saying you cant connect plug in directly with a crossover cable, and if problems persist, turn off the computers wireless if it has wireless capability. (
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
Getting Familiar with Programming in WindRiver kyungjin C/C++ 35 17-01-2009 13:04
Axis Camera responding in the Vision Assistant but not in WindRiver DanDon C/C++ 3 11-01-2009 12:50
Need some help with arm not working... neilcooper Programming 3 15-03-2008 06:16
IR Board Not Working (But NOT Fried) itsme Electrical 2 18-02-2008 06:11
cam not working with CMUcam2GUI itay_ms Programming 5 22-01-2007 10:58


All times are GMT -5. The time now is 02:40.

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