Go to Post Doesnt that sound like a McDonalds Item....Ya ill have a MacTablet with fries and a large Coke - Bill_Hancoc [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 14-02-2014, 01:04
jmiller18 jmiller18 is offline
Registered User
FRC #2429
 
Join Date: Sep 2012
Location: La Canada
Posts: 26
jmiller18 is an unknown quantity at this point
[URGENT]Unable to connect to crio

My team has two crios, one for the competition and one for testing and we program in Java. Today I tried updating out competition crio to the 2014 image over a cable. I managed to successfully update it. When I tried loading our java software onto the crio, it was unable to reconnect after restarting the first of the 2 vms on the robot, I think its called OW, its not the squawk-java one. When I power cycled the robot, it reconnected and then loaded the code onto the robot. Then I went to the driver station to enable to see if the code loaded correctly, the driver station had both the "communications" and "robot code" lights red, but under diagnostics the "robot" light was green. My ip was set to 10.24.29.5. When I had a cable going directly from the robot to the computer, I can ping the robot from the computer but I could not ping the computer using the net console thing they added this year.

The imaging tool said it successfully updated the crio to 2014 v52 image.
The classmate laptop I was using was the 2012 version. We bought it this year and I loaded the correct image onto the classmate a few days ago. The driver station is the most and netbeans pluggins are both the 2014 version.

Does anyone have any idea what could be the problem??????

Last edited by jmiller18 : 14-02-2014 at 01:06.
Reply With Quote
  #2   Spotlight this post!  
Unread 14-02-2014, 09:03
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,752
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: [URGENT]Unable to connect to crio

The Diagnostics robot light shows the results of ping. So it agrees with your command line ping in verifying that the cRIO is up and running its TCP stack and has the ip address set correctly.

The Communications light indicates whether the FRC_Communications library is loaded and running. The ni-rt.ini file lists it in the libraries to load, and either it is crashing on load, or the file no longer exists or has been modified. A null-modem serial cable to a terminal program will help determine what is happening during load.

As for the Robot Code light, it indicates that your robot's code is sending back voltage values. It can't do that if there is no Communication task running.

I'm confused by the VM comment. It sounds as though you have tried to install your own Java VM on the robot? As much difficulty as Sun/Oracle had getting Squawk to run on VxWorks, I'd say that sounds ambitious. Do you have more details?

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 14-02-2014, 13:20
jmiller18 jmiller18 is offline
Registered User
FRC #2429
 
Join Date: Sep 2012
Location: La Canada
Posts: 26
jmiller18 is an unknown quantity at this point
Re: [URGENT]Unable to connect to crio

Sorry, by other vm I meant the OTA server, I thought I saw vm but I guess I was wrong.

Can you elaborate on the "null-modem serial to a terminal program"??
Reply With Quote
  #4   Spotlight this post!  
Unread 14-02-2014, 13:33
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,752
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: [URGENT]Unable to connect to crio

http://en.wikipedia.org/wiki/Null_modem

You will also need to use the imaging tool to enable the serial console. No need to image, just flip the setting and apply.

You can use any terminal program that supports serial communications. PuTTy is nice, but Hyperterminal can do in a pinch.

Greg McKaskle
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 05: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