Go to Post robots like to give you troubles... its like they have a mind of their own. - hayleybayley217 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-01-2014, 20:59
1024Programming 1024Programming is offline
Registered User
FRC #1024
 
Join Date: Jan 2014
Location: Indiana
Posts: 43
1024Programming is an unknown quantity at this point
CRio II will not communicate

Good evening,

We have attempted to image 2 of our CRio II (4 slot) units with the 2014 image (FRC_2014_v52.zip). Initially, we could connect to the CRio II both directly and through the access point. When we used the imaging tool, it found the CRio, we put in our settings, formatting began, and the unit got to the "rebooting state" and got stuck there.

After waiting about 10 minutes with no change in the rebooting status, we shut off power to the Crio to start over.

Now, we can't even ping the CRio. Our best guess is that the IP address somehow got changed, but we can't find any documentation that gives us a decent guess at what address to ping. (or maybe this isn't the problem).

Of course, we decided that something strange happened and repeated the process on another CRio. So, now we have 2 CRios that we can't ping.

After 3 hours of effort, we bow to your support. Any suggestions would be appreciated. We think we tried all the troubleshooting documented thus far.

We did find that our computer IP was 10.10.24.8 (not 10 or above). We have changed it to .10 now.

The AP is 10.10.24.1 and the CRio was 10.10.24.2 (when we could ping it).

Again, any help is appreciated.

Thanks, AJ & Parker
  #2   Spotlight this post!  
Unread 13-01-2014, 21:19
Tem1514 Mentor's Avatar
Tem1514 Mentor Tem1514 Mentor is offline
Registered User
FRC #1514
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Toronto
Posts: 239
Tem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to behold
Re: CRio II will not communicate

Make sure you have your TCP set to 'use this IP'
and for you it should be '10.10.24.2'

If all else fails, NI support will be able to help you out. I just hope you haven't turned your cRIO's into "bricks"
  #3   Spotlight this post!  
Unread 13-01-2014, 22:23
Zmarken Zmarken is offline
Registered User
FRC #1716 (Redbird Robotics)
Team Role: Engineer
 
Join Date: Dec 2013
Rookie Year: 2012
Location: De Pere
Posts: 30
Zmarken is an unknown quantity at this point
Re: CRio II will not communicate

My team had a similar issue, in which we couldn't update a cRIO, and one of our programmers shut off the power.

What worked for my team was simple: just reset the cRIO using the reset button. After resetting the cRIO, we were able to connect to it and image it like normal using the imaging tool.

Hope that helps!
  #4   Spotlight this post!  
Unread 13-01-2014, 22:30
DDSLoan96's Avatar
DDSLoan96 DDSLoan96 is offline
Jack of all trades
AKA: Danny
FRC #1468 (J-Birds)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Hicksville
Posts: 40
DDSLoan96 is an unknown quantity at this point
Re: CRio II will not communicate

When you are imaging the cRIO dont connect through the router, just connect straight into the cRIO Ethernet port. Not sure exactly why but the signal that the cRIO rebooted gets lost sometimes with the router. I just had this same issue over the past 2 days
  #5   Spotlight this post!  
Unread 14-01-2014, 09:02
1024Programming 1024Programming is offline
Registered User
FRC #1024
 
Join Date: Jan 2014
Location: Indiana
Posts: 43
1024Programming is an unknown quantity at this point
Re: CRio II will not communicate

Quote:
Originally Posted by DDSLoan96 View Post
When you are imaging the cRIO dont connect through the router, just connect straight into the cRIO Ethernet port. Not sure exactly why but the signal that the cRIO rebooted gets lost sometimes with the router. I just had this same issue over the past 2 days
Yes, we tried this too before losing communication with the CRio. It resulted in the same state of waiting for the CRio to reboot. The troubleshooting guides say to avoid this you should go through a router. So, that is what we did, had the same problem and then it was compounded by the additional inability to communicate with the CRio.

So, until we find a way to restore communication with the CRio, imaging it has been taken off the table

Thanks!!
  #6   Spotlight this post!  
Unread 14-01-2014, 09:04
1024Programming 1024Programming is offline
Registered User
FRC #1024
 
Join Date: Jan 2014
Location: Indiana
Posts: 43
1024Programming is an unknown quantity at this point
Re: CRio II will not communicate

Quote:
Originally Posted by Zmarken View Post
My team had a similar issue, in which we couldn't update a cRIO, and one of our programmers shut off the power.

What worked for my team was simple: just reset the cRIO using the reset button. After resetting the cRIO, we were able to connect to it and image it like normal using the imaging tool.

Hope that helps!
We reset (holding the reset button to put it in safe mode) the CRio several times and unfortunately it did not restore our ability to communicate.

One thing we did not try is removing power from the CRio and then holding the reset button as we power up the CRio. Any chance that is what you did to restore communication?

Thanks!!
  #7   Spotlight this post!  
Unread 14-01-2014, 09:09
1024Programming 1024Programming is offline
Registered User
FRC #1024
 
Join Date: Jan 2014
Location: Indiana
Posts: 43
1024Programming is an unknown quantity at this point
Re: CRio II will not communicate

Quote:
Originally Posted by Tem1514 Mentor View Post
Make sure you have your TCP set to 'use this IP'
and for you it should be '10.10.24.2'

If all else fails, NI support will be able to help you out. I just hope you haven't turned your cRIO's into "bricks"
Our "TCP"? The computer's IP is set to 10.10.24.10. The CRio was originally communicating on 10.10.24.2 (meaning we could ping it and the imaging tool found it and tried to image it). Our present guess is that the IP address of the CRio was somehow changed.

We were unable to download wireshark to search for the device (and this would be our first time using wireshark). So, we decided to ask here first. We will be trying to install wireshark to see if we can find the CRio on another IP address as soon as possible.

Thanks!!
  #8   Spotlight this post!  
Unread 14-01-2014, 09:30
gluxon's Avatar
gluxon gluxon is offline
\n
AKA: Brandon Cheng
FRC #0178 (The 2nd Law Enforcers)
Team Role: Leadership
 
Join Date: Apr 2012
Rookie Year: 2011
Location: Connecticut
Posts: 65
gluxon has a spectacular aura aboutgluxon has a spectacular aura aboutgluxon has a spectacular aura about
Re: CRio II will not communicate

My guess is that your firewall is blocking communication. Are you sure Windows firewall is completely disabled?
  #9   Spotlight this post!  
Unread 14-01-2014, 09:34
1024Programming 1024Programming is offline
Registered User
FRC #1024
 
Join Date: Jan 2014
Location: Indiana
Posts: 43
1024Programming is an unknown quantity at this point
Re: CRio II will not communicate

Quote:
Originally Posted by gluxon View Post
My guess is that your firewall is blocking communication. Are you sure Windows firewall is completely disabled?
Yes - it is disabled...we triple checked this because it seemed a likely candidate

Thanks!!
  #10   Spotlight this post!  
Unread 14-01-2014, 10:02
TogetherSword8 TogetherSword8 is offline
Registered User
FRC #0888 (Robotiators)
Team Role: Alumni
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Glenelg High School
Posts: 85
TogetherSword8 is an unknown quantity at this point
Re: CRio II will not communicate

I am not sure about exactly what happens, but when you reset a crio, doesn't its ip address change? I think you need to change your computer ip to 10.0.0.8 (I chose 8 because nothing uses it) and try to ping 10.0.0.2. (That is a period, not an extra dot.) It would be because the subnet mask on the crio is masking the ip address of the computer, until you change it to have the same initial numbers in the ip address.
__________________
I program a robot. Which means I write code and everyone gets mad at me when something doesn't work, even if I am the only one that knows it doesn't work. The key part to know is that the robot never works.
  #11   Spotlight this post!  
Unread 14-01-2014, 10:06
1024Programming 1024Programming is offline
Registered User
FRC #1024
 
Join Date: Jan 2014
Location: Indiana
Posts: 43
1024Programming is an unknown quantity at this point
Re: CRio II will not communicate

Quote:
Originally Posted by TogetherSword8 View Post
I am not sure about exactly what happens, but when you reset a crio, doesn't its ip address change? I think you need to change your computer ip to 10.0.0.8 (I chose 8 because nothing uses it) and try to ping 10.0.0.2. (That is a period, not an extra dot.) It would be because the subnet mask on the crio is masking the ip address of the computer, until you change it to have the same initial numbers in the ip address.
Thanks!! We will definitely try this today.
  #12   Spotlight this post!  
Unread 14-01-2014, 10:32
walterev walterev is offline
Registered User
FRC #1758
 
Join Date: Mar 2011
Location: Florence, SC
Posts: 12
walterev is a name known to allwalterev is a name known to allwalterev is a name known to allwalterev is a name known to allwalterev is a name known to allwalterev is a name known to all
Re: CRio II will not communicate

Having a similar problem although our cRIO (original model) does not lose communications with the laptop. It simply freezes on the "rebooting cRIO" message, while I can still ping the device or open it with ftp.

The image wipe is not working correctly, because the old robot code is still there along with some image files from last year. Maybe these files are causing problems. I'll try to find some log information tonight.

Firewall disabled along with the wlan adapter.

I've left it in this state for ~1 hour hoping the avoid a watched pot issue, but no luck.
  #13   Spotlight this post!  
Unread 14-01-2014, 11:07
TogetherSword8 TogetherSword8 is offline
Registered User
FRC #0888 (Robotiators)
Team Role: Alumni
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Glenelg High School
Posts: 85
TogetherSword8 is an unknown quantity at this point
Re: CRio II will not communicate

Walter, I had the same problem when initially updating my crio. I found the rebooting crio time to abnormally long. I got lucky in that when doing it, I went on here to see if anyone had problems (not yet when i was checking) and I came back 6 minutes later and it was updating again after the reboot. I ran into the same problem as you multiple times, it might just be patience. IFF (if an only if) it takes 15 minutes, force close the program and reboot the power to the crio (waiting 10 seconds after shutting off power before turning it back on) and try it again. I did this 6 times on one of my crios before it worked. Seems to be a bug in the image or imaging software.
__________________
I program a robot. Which means I write code and everyone gets mad at me when something doesn't work, even if I am the only one that knows it doesn't work. The key part to know is that the robot never works.
  #14   Spotlight this post!  
Unread 14-01-2014, 11:24
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,756
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: CRio II will not communicate

If you are having difficulties imaging your cRIO, I would suggest going to ni.com/frc and looking through the forums or contacting a support engineer.

Greg McKaskle
  #15   Spotlight this post!  
Unread 14-01-2014, 11:30
dmellich dmellich is offline
Registered User
AKA: Mr. E
FRC #1251 (TechTiger Robotics)
Team Role: Mentor
 
Join Date: Dec 2002
Rookie Year: 2000
Location: Coconut Creek, FL
Posts: 79
dmellich has a spectacular aura aboutdmellich has a spectacular aura aboutdmellich has a spectacular aura about
Re: CRio II will not communicate

Here's what worked for us:

1. Put cRio in safe mode (hold reset button down for several seconds)
2. Launch NI imaging tool - select appropriate radio button in "Development Environment" and "Format Controller" checkbox and click apply.
3. A dialog box will pop up that says the cRio is in safe mode and cannot be imaged but gives the option to format. Click "format cRio"
4. The "Reconfiguring Device" dialog box comes up and first says it is formatting (maybe 30sec) then rebooting (another 30sec).
5. After the reboot completes, the same dialog box will indicate the format is complete.
6. Power down the cRio, turn safe mode off (dip switch on 8 slot - power cycle for 4 slot), turn on cRio. NOTE: when you turn on the cRio, the status light will flash 2 times (repeating). This indicates the chassis has detected an error in its software. Not to worry.
7. Click apply on the imaging tool - the "Reconfiguring Device" dialog box comes back up indicating it's formatting (maybe 20sec) then rebooting (maybe 30sec).
8. If all wen well it should then start re-imaging the cRio.
__________________
David M. Ellich
Team 1251, TechTiger Robotics
South Florida Regional Planning Committee
"It's Cool to be Smart"
Closed Thread


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 03:23.

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