Go to Post It's a skid-steer vehicle, so it depends on the phase of the moon and yesterday's lottery numbers. - Ether [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
  #16   Spotlight this post!  
Unread 12-02-2010, 14:01
oddjob oddjob is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Earth
Posts: 118
oddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to behold
Re: c-RIO connection troubles

You didn't say if you have run the Imaging tool. If the cRIO is not imaged correctly, it might not be set for IP 10.23.93.2 and then it wouldn't respond to a ping, or maybe the IP is set but the cRIO image is damaged and it's not booting the image. The Imaging tool will enable you to (re)set the cRIO IP address. Select the C++ option in the Imaging tool if you plan to use Windriver.
Reply With Quote
  #17   Spotlight this post!  
Unread 12-02-2010, 14:23
Sev's Avatar
Sev Sev is offline
Lead Programmer
FRC #2393
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Knoxville
Posts: 14
Sev is an unknown quantity at this point
Re: c-RIO connection troubles

If this works, I'm going to be very disappointed/angry with myself...

Edit: Didn't work

Edit II: Got the following error when using a different computer:
Unable to complete operation because of unexpected error 56:
TCP Open Connection in repFPC open connection.vi->SendRebootCmd.vi->RebootSystem.vi->ConfigUtility.lvlib:ReImageTarget.vi->ConfigUtility.lvlibialog.vi
__________________
Has anyone really ever been as far as decided even to want and go to do look more like?

Last edited by Sev : 12-02-2010 at 14:30.
Reply With Quote
  #18   Spotlight this post!  
Unread 12-02-2010, 14:41
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: c-RIO connection troubles

Which ethernet jack on the cRIO are you plugged into? Does it have a green light? Is there any activity on the yellow light when you're trying to communicate with the cRIO?

Are all of the cRIO's DIP switches in the "off" position?
Reply With Quote
  #19   Spotlight this post!  
Unread 12-02-2010, 14:46
Sev's Avatar
Sev Sev is offline
Lead Programmer
FRC #2393
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Knoxville
Posts: 14
Sev is an unknown quantity at this point
Re: c-RIO connection troubles

Jack 1, green light, no yellow light, and yes.

Edit: There is now a yellow light blinking on the ethernet 1 port.

Edit II: Using Terterm also produces a time out
__________________
Has anyone really ever been as far as decided even to want and go to do look more like?

Last edited by Sev : 12-02-2010 at 16:31.
Reply With Quote
  #20   Spotlight this post!  
Unread 12-02-2010, 18:28
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: c-RIO connection troubles

Perhaps you need to use MAX, Start>>National Instruments>>Measurement and Automation Explorer.

In the left column it will have an entry for remote targets which you can open and it will hopefully list your cRIO. If it does, you can determine its IP address, change the IP address, etc.

If MAX also cannot locate your cRIO, it could possibly be a firewall issue. You stated it was off, but it is certainly worth verifying. Also, you may need to toggle one of the DIP switches on the cRIO to reset the IP address and then try formatting again either using the format utility. Finally, there is a safe mode DIP for cRIOs that have corrupted Flash. You may be able to find the step by step instructions on ni.com/FIRST searching for safe mode reformat or some similar query.

Greg McKaskle
Reply With Quote
  #21   Spotlight this post!  
Unread 12-02-2010, 20:57
Sev's Avatar
Sev Sev is offline
Lead Programmer
FRC #2393
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Knoxville
Posts: 14
Sev is an unknown quantity at this point
Re: c-RIO connection troubles

Update: able to ping the cRIO, still not able to connect or download to it. New error:
Failed to connect to 10.23.93.2 (Registry localhost) failed to connect target
Possibly caused by: runtime information undefined or uncatchable, TOS library support for target OS "6.3" cannot be loaded
How are the DIPs supposed to be set up?
__________________
Has anyone really ever been as far as decided even to want and go to do look more like?

Last edited by Sev : 12-02-2010 at 21:29.
Reply With Quote
  #22   Spotlight this post!  
Unread 13-02-2010, 03:53
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: c-RIO connection troubles

In normal operation all DIP switches are off, you may want to leave the console out on if you have the serial cable connected.

Greg McKaskle
Reply With Quote
  #23   Spotlight this post!  
Unread 13-02-2010, 19:02
Sev's Avatar
Sev Sev is offline
Lead Programmer
FRC #2393
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Knoxville
Posts: 14
Sev is an unknown quantity at this point
Re: c-RIO connection troubles

Error when trying to update the cRIO:
Unable to complete operation because of unexpected error 54:
TCP Open Connection in repFPC open connection.vi->SendRebootCmd.vi->RebootSystem.vi->ConfigUtility.lvlib:ReImageTarget.vi->ConfigUtility.lvlib: Dialog.vi

Edit: Realized we had the DIPs backwards: new error: Unable to complete operation because of unexpected error 1:
TCP Read in NI_InternetTK_Common_VIs.lvlib:TCP Read xTP Reply.vi:14->NI_InternetTK_FTP_VIs.lvlib:FTP Get Command Reply.vi:13->NI_InternetTK_FTP_VIs.lvlib:FTP Open Session.vi->NI_InternetTK_FTP_VIs.lvlib:FTP Put Multiple Files and Buffers.vi->NI_InternetTK_FTP_VIs.lvlib:FTP Put File.vi->ConfigUtility.lvlib:ReImageTarget.vi->ConfigUtility.lvlib: Dialog.vi

Edit edit: FTP Timeout
__________________
Has anyone really ever been as far as decided even to want and go to do look more like?

Last edited by Sev : 13-02-2010 at 21:13.
Reply With Quote
  #24   Spotlight this post!  
Unread 14-02-2010, 23:30
Sev's Avatar
Sev Sev is offline
Lead Programmer
FRC #2393
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Knoxville
Posts: 14
Sev is an unknown quantity at this point
Re: c-RIO connection troubles

Crossover czble and XP laptop: all is fix'd now

Edit: Still won't connect in windriver; still says backend is disconnected. i can ping, but cant connect. crossover cable doesnt change anything, except allowing me to connect with the Re imager
__________________
Has anyone really ever been as far as decided even to want and go to do look more like?

Last edited by Sev : 15-02-2010 at 13:45.
Reply With Quote
  #25   Spotlight this post!  
Unread 17-02-2010, 22:39
Sev's Avatar
Sev Sev is offline
Lead Programmer
FRC #2393
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Knoxville
Posts: 14
Sev is an unknown quantity at this point
Re: c-RIO connection troubles

bump
__________________
Has anyone really ever been as far as decided even to want and go to do look more like?
Reply With Quote
  #26   Spotlight this post!  
Unread 18-02-2010, 00:37
misko misko is offline
Registered User
FRC #0852
 
Join Date: Dec 2009
Location: California
Posts: 22
misko is an unknown quantity at this point
Re: c-RIO connection troubles

Quote:
Originally Posted by Sev View Post
Crossover czble and XP laptop: all is fix'd now

Edit: Still won't connect in windriver; still says backend is disconnected. i can ping, but cant connect. crossover cable doesnt change anything, except allowing me to connect with the Re imager
Can you fire up a command window in your PC, and post the output
of ipconfig /all and route print? Thanks.
Reply With Quote
  #27   Spotlight this post!  
Unread 18-02-2010, 05:43
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: c-RIO connection troubles

Quote:
Originally Posted by Sev View Post
Crossover czble and XP laptop: all is fix'd now

Edit: Still won't connect in windriver; still says backend is disconnected. i can ping, but cant connect. crossover cable doesnt change anything, except allowing me to connect with the Re imager
I'm sorry, maybe it's implied in one of your posts, but it's not clear to me that you've been able to reimage your cRio properly.

Have you seen this post -- about using a switch/hub instead of a x-over cable?

http://www.chiefdelphi.com/forums/sh...1&postcount=14
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)
Reply With Quote
  #28   Spotlight this post!  
Unread 12-11-2010, 12:05
DaBossToss's Avatar
DaBossToss DaBossToss is offline
Registered User
FRC #1318 (IRS)
Team Role: Programmer
 
Join Date: Sep 2010
Rookie Year: 2009
Location: Issaquah, Washington
Posts: 31
DaBossToss is an unknown quantity at this point
Re: c-RIO connection troubles

I have the same problem that the other guy had toward the end of his when i get the error:

Failed to launch target server

possibly caused by backend not connected.

and for me the X-over cable did not change anything either.

when i ran route print my netmask was 0.00.00.0, and network connection was 0.00.00.0, my gateway was 10.13.18.2, and it said metric was 20.

Last edited by DaBossToss : 12-11-2010 at 12:17.
Reply With Quote
  #29   Spotlight this post!  
Unread 06-12-2010, 23:06
ksanger's Avatar
ksanger ksanger is offline
Registered User
FRC #0211 (MaK)
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Rochester NY
Posts: 62
ksanger is on a distinguished road
Re: c-RIO connection troubles

We are using a Crio from last year where we had it programmed for C++. Last week we used Crio Imaging Tool to try and set it to Java, but it won't connect. Tries and Times out. We are connected via ethernet and a router. ie pc to router, and crio to router. We can ping the Crio ethernet address from the pc.

Last year at the competition we had issues upgrading the latest version on a second Crio as we had the Can Jaguar software mods and that didn't allow us to update. Someone thought there was a checksum issue so it didn't connect and didn't give us a checksum error. I don't remember if that looked like a connection issue too. But I've just found the update instructions so I can try backing that fix out and then see if we may connect. I'm hoping that is all we need to do.

Where may we find how to reformat the Crio? If we do can we then update to the latest version or do we need to start with an earlier version and update one version at a time?

I can't find anything on the Crio switches either is there a post with how the Crio works anywhere? I tried downloading the pdf from usfirst site for hardware descriptions but that link causes firefox to hang on all of my home computers. I can't even copy the link as Firefox has to be aborted using task manager.
Reply With Quote
  #30   Spotlight this post!  
Unread 07-12-2010, 21: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: c-RIO connection troubles

As far as I know the only thing we needed to do to get the cRIO update working was remove the CAN plugin.

To reformat the cRIO, in the imaging tool you used to switch to Java, there should be a checkbox that says something along the lines of "Reformat cRIO". Check that and you should get a few more boxes available to select an image. If you have all of the programming updates installed on your computer, I believe the v20 image will be shown in the selection box. Make sure it is set to format to team #211 and language is Java (if you want to keep that).

Also, formatting the cRIO is equivalent to updating it. The only way to send an update to the cRIO is through a reformat.

With the switches the only one you really need to know about for this is the SAFE MODE switch. If you're still having troubles with this update, flip that and try again. Afterwards I believe you need to flip it back to off and perform the update a second time.
__________________

"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
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
c-RIO Blarglefish1255 Electrical 0 06-02-2010 15:11
Extra C Rio? falconmaster General Forum 26 21-10-2009 17:14
Lights On Compact Rio? excel2474 Electrical 13 24-01-2009 11:35
Flashing compact rio? excel2474 Programming 3 06-01-2009 14:10
RIO update? Betty_Krocker General Forum 3 03-12-2008 07:46


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

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