Go to Post I'm basically only posting this so that future Shaker Robotics kids will see it and tell themselves "never again"... - Chris is me [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 19-01-2010, 16:20
Darkknight512 Darkknight512 is offline
Programmer/Electronics
FRC #3375 (North Stars)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Canada
Posts: 26
Darkknight512 is on a distinguished road
Cannot connect to cRIO from WindRiver

I can't seem to connect to the cRIO, I don't get a task list like the manual says. I can ping the cRIO in the command promt and the DriverStation says there is communication to the robot. The setting for WindRiver looks identical to what the manual says it looks like but I dont get a task list, I use the FIRST -> Download and it appears to be doing something but when i reboot the cRIO the Driverstation reports "No Code"

cRIO is updated to v19... I just updated WindRiver to the latest update on WPI. I also updated the DS yesterday and the mandatory Labview updates.

I am going to do a reinstall on WindRiver tonight and see if that works.

we are a rookie team and any help would be appriciated, we need all the time we have.

Last edited by Darkknight512 : 19-01-2010 at 16:25.
Reply With Quote
  #2   Spotlight this post!  
Unread 19-01-2010, 16:38
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: Cannot connect to cRIO from WindRiver

Make sure you have the following updates:

~http://first.wpi.edu/Images/CMS/Firs...te20100107.exe
~http://joule.ni.com/nidu/cds/view/p/lang/en/id/1534
~http://decibel.ni.com/content/docs/DOC-8891
~http://joule.ni.com/nidu/cds/view/p/lang/en/id/1535

On both computers (development and classmate) as well as installing the DS update like so:
http://www.chiefdelphi.com/forums/sh...9&postcount=44

(Yes, install it, uninstall it [removing both components], and reinstall)

Make sure in Window->Preferences->FIRST Downloader Prefereces to set your team number and the location of the executable you're downloading.

Hope I was of help
Reply With Quote
  #3   Spotlight this post!  
Unread 19-01-2010, 16:44
Darkknight512 Darkknight512 is offline
Programmer/Electronics
FRC #3375 (North Stars)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Canada
Posts: 26
Darkknight512 is on a distinguished road
Re: Cannot connect to cRIO from WindRiver

I installed the same exact updates twice. (When I download it tells me that I'm replacing the file) but I did reinstall it anyways but no dice.
Reply With Quote
  #4   Spotlight this post!  
Unread 19-01-2010, 16:47
TheDominis TheDominis is offline
Registered User
FRC #2152
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Port Orange, Florida
Posts: 88
TheDominis has a spectacular aura aboutTheDominis has a spectacular aura about
Re: Cannot connect to cRIO from WindRiver

Did you setup the remote target correctly? If you're unsure, read the manual.

http://first.wpi.edu/Images/CMS/Firs...artedWithC.pdf
Reply With Quote
  #5   Spotlight this post!  
Unread 19-01-2010, 17:04
Darkknight512 Darkknight512 is offline
Programmer/Electronics
FRC #3375 (North Stars)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Canada
Posts: 26
Darkknight512 is on a distinguished road
Re: Cannot connect to cRIO from WindRiver

Yea, the configuration for the target server options screenshot looks exacly like my setup except im using the ip 10.33.75.2
Reply With Quote
  #6   Spotlight this post!  
Unread 20-01-2010, 14:42
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 357
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: Cannot connect to cRIO from WindRiver

After the target is set up (under options) There is a menu item or a right click menu that says "connect to target"? Did you try that option several times?
Brian
__________________
Brian K
Team 1225 Robotics Mentor
Reply With Quote
  #7   Spotlight this post!  
Unread 20-01-2010, 14:53
sircedric4's Avatar
sircedric4 sircedric4 is offline
Registered User
AKA: Darren
no team (The SS Prometheus)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Lousiana
Posts: 245
sircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond repute
Re: Cannot connect to cRIO from WindRiver

We had a similar problem in that we thought everything was up to date and had success in loading the new C++ to the cRio but still got the no code light on the dashboard.

After reading around and looking through the Getting Started till my eyes bled, I noticed that my Windriver examples list did not include the 2010 Vision Demo or any of the other new examples. It turned out that the update I was running for Windriver did unpack the code to a temporary directory but it was not then moving the files to their proper places in the Windriver folder. I was using the default directory but the batch file that moves the update was corrupted or something.

Long story short, I did what another thread mentioned and renamed my Windriver update to .zip and then extracted the files myself straight into the Windriver directory overwriting any files. Once I put the code on the robot from there it worked fine. So beware that even if you update, it still maybe failing somewhere prior to completion.

Also we found that you had to install the Labview update on the Driver Station before running the Driver station update or it would not work either. The process for getting things to work is still kind of flaky and I hope they get it worked out soon. Our team feels your pain in that it took us 3 days to get to sample code after we started tackling programming.

Another tidbit is that most of the C++ samples do NOT work as is straight from the examples. If you want the dashboard to reflect what your robot is doing, then you have to uncomment some code in the DashboardFormat.cpp file. The 2010 Vision Demo is doing bad stuff with its Watchdog calls, you need to move them around and make sure they're called properly. Welcome to FIRST where torpedoing you is a way of life. I hope any of this may help you.
Reply With Quote
  #8   Spotlight this post!  
Unread 22-01-2010, 00:13
yarb65 yarb65 is offline
Coach
AKA: T Bray
FRC #3189 (Circuit Breakers)
Team Role: Coach
 
Join Date: Jan 2005
Rookie Year: 2005
Location: El Dorado, CA
Posts: 85
yarb65 has a spectacular aura aboutyarb65 has a spectacular aura about
Re: Cannot connect to cRIO from WindRiver

What was the thread?
__________________
2013 Sacramento Regional Winner (3189,701,2489))
2012 Israel Regional Winner (1662,1690,1937)
2008 Sacramento Regional Winner (1662,115,2122)
2006 Sacramento Regional Winner (1662,852,1726)
Reply With Quote
  #9   Spotlight this post!  
Unread 25-01-2011, 19:42
auk auk is offline
Registered User
FRC #1351
 
Join Date: Jan 2009
Location: Bay Area
Posts: 7
auk will become famous soon enough
Question Re: Cannot connect to cRIO from WindRiver

We're missing the file path to kernel, and a couple of other textboxes. Please advise, screenshot in the link.

http://imgur.com/YTBX8
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
Windriver - Cannot Create New Example Project Aaron S C/C++ 6 19-01-2010 21:25
I/O Board Cannot Connect Haragorn FRC Control System 2 14-01-2010 13:50
Cannot get Code to Download to cRIO greekgod8591 C/C++ 25 09-03-2009 22:10
Cannot connect to the Real-time target Mr. E FRC Control System 13 02-02-2009 20:47
Cannot Connect to Axis Camera Wirelessly computerish Technical Discussion 4 11-01-2009 19:19


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

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