Go to Post FIRST may very well be the healthiest drug on the market. - Herodotus [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 23-01-2013, 22:04
Korakos Korakos is offline
Programming Mentor
AKA: Andres Molina
FRC #2283 (Panteras)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2007
Location: Mexico
Posts: 7
Korakos is an unknown quantity at this point
Problem Imaging 8-slot cRIO

Well.

Turns out we are having a bit of a problem here, maybe someone has run into it and can help us out:

We are not able to image our 8-slot cRIOs. whenever we try we get a "could not connect to ip (10.22.83.2), ensure you have a network adapter in the same subnet..."

I have checked and have the configuration of the laptop all in order, have tried both windows 8 and 7, on 4 different machines, and every time we get the same mistake, the strange part is: all 4 of those machines can image our 4-slot cRIO, just not the 8-slot ones. no matter what i do, i always get the same error, I've tried:

setting the Subnet Mask to both: 255.0.0.0 and 255.255.255.0 .
disabling all other network adapters.
disabling the firewall in windows.
using both a cross-over and regular UTP cable.
safe mode restoring the cRIO (i am able to reformat, but when the time comes to load an image, i get the connection error)

do you guys have any idea for why we would be unable to image the 8-slot? when we can do the 4-slot just fine?
  #2   Spotlight this post!  
Unread 23-01-2013, 23:22
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,112
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: Problem Imaging 8-slot cRIO

Quote:
Originally Posted by Korakos View Post
...using both a cross-over and regular UTP cable.
Try it with a router (e.g. the D-Link) between the computer and the cRIO.

(The Imaging Utility is supposed to try to ride out the momentary loss of network connection when the cRIO changes its configuration, but maybe the 8-slot version is a little slower?)
  #3   Spotlight this post!  
Unread 23-01-2013, 23:59
Korakos Korakos is offline
Programming Mentor
AKA: Andres Molina
FRC #2283 (Panteras)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2007
Location: Mexico
Posts: 7
Korakos is an unknown quantity at this point
Re: Problem Imaging 8-slot cRIO

sounds logical... will see if that does the trick and let you know tomorrow.
  #4   Spotlight this post!  
Unread 24-01-2013, 01:18
4057programmer 4057programmer is offline
Registered User
FRC #4057
 
Join Date: Jan 2012
Location: Klamath Falls
Posts: 37
4057programmer is an unknown quantity at this point
Re: Problem Imaging 8-slot cRIO

I would also like to know if you have changed your computer's IP address to the specified 10.xx.yy.5 that is required to connect. I know our team did this and ran into a similar problem. And when we looked into it we found that there were two different IP addresses which required us to go into the advanced settings and remove one. We had to command line and ipconfig to locate that problem.
__________________
Team 4057: Autodesk regional Rookie All-stars!

If it's not on fire, its programming. If it compiles, it's electrical
  #5   Spotlight this post!  
Unread 24-01-2013, 01:29
Korakos Korakos is offline
Programming Mentor
AKA: Andres Molina
FRC #2283 (Panteras)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2007
Location: Mexico
Posts: 7
Korakos is an unknown quantity at this point
Re: Problem Imaging 8-slot cRIO

yes i did, although you can have it be either 10.xx.yy.5 (this is the default for the classmate) and 10.xx.yy.6 (this is the one recommended for your development machine), tried both ways, did ipconfig to verify the adapters, and check that everything was in order. It was, and still no luck, also, the last number shouldn't really matter. or should it? as long as you do not try and use an address already taken up by another device. From what i understand its all about being on the same subnet.
  #6   Spotlight this post!  
Unread 24-01-2013, 08:43
Electric Sheep Electric Sheep is offline
Registered User
FRC #2546
 
Join Date: Jan 2008
Location: Baltimore
Posts: 8
Electric Sheep is an unknown quantity at this point
Re: Problem Imaging 8-slot cRIO

REad something on the cRIO imaging regarding SAFE Mode. Directions say to make sure SAFE Mode is off. How do you know Safe Mode is off. I see the switch on the cRIO panel but which way is off?
  #7   Spotlight this post!  
Unread 24-01-2013, 09:12
Electric Sheep Electric Sheep is offline
Registered User
FRC #2546
 
Join Date: Jan 2008
Location: Baltimore
Posts: 8
Electric Sheep is an unknown quantity at this point
Re: Problem Imaging 8-slot cRIO

Aww man...there all the time...glasses anyone?
  #8   Spotlight this post!  
Unread 24-01-2013, 17:18
Korakos Korakos is offline
Programming Mentor
AKA: Andres Molina
FRC #2283 (Panteras)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2007
Location: Mexico
Posts: 7
Korakos is an unknown quantity at this point
Re: Problem Imaging 8-slot cRIO

Hmmm... no luck with using the bridge as an intermediary, still get the same mistake, I´ve used MAX to check the configuration on the cRIO and it is configured properly as far as the IP address goes, namely the same as my laptop (with the only notable exception being the last block, which is a 2 as should be expected), do you guys know if there is any way to do a manual upload of the image using MAX? its a bit unorthodox, but i really need some way to get this done
  #9   Spotlight this post!  
Unread 25-01-2013, 14:54
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,112
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: Problem Imaging 8-slot cRIO

Let's see if we can find out why the Imaging Utility running on your laptop can't connect to the cRIO.

Copy the results of the ipconfig command here so we can double-check that everything looks proper. There are a couple of "gotchas" that might be giving you problems.
  #10   Spotlight this post!  
Unread 25-01-2013, 15:32
ProgrammerTori's Avatar
ProgrammerTori ProgrammerTori is offline
It's always a programming error.
AKA: Victoria Vanderbach
FRC #2068 (Team 2068 - The Metal Jackets)
Team Role: Programmer
 
Join Date: Dec 2012
Rookie Year: 2011
Location: Manassas, Virginia
Posts: 13
ProgrammerTori is on a distinguished road
Re: Problem Imaging 8-slot cRIO

I had similar issues reconfiguring the 8 slot this year. I've imaged it before, but this year has given me many issues.

1st point of attack should be seeing if any connection at all exists between the cRIO and the laptop. If you've used it before, ping the ip address and see if it responds.
If not, the problem exists either in its ip address or in a physical connection. If it's ip, try and reset the cRIO and configure it again.

If it does respond to a ping, and since you've already tried using the bridge as an intermediary, check the bridge setting. Make sure it's configured correctly.

Next, if you still have issues, check the laptop's LAN settings, although I think you've already done so.

If it still gives you issues, try just getting the ip address to configure using the imaging tool. There's an IP RESET switch on the cRIO you will have to turn on.

Check to see if your modules are in the right place. The 8 slot cRIO hates having it's modules out of order.

Vacuum the cRIO as well. It's surprising how determined metal shavings are to find their way into it.

And if all else fails, shutdown the whole system, restart everything back to factory settings, and try again. It was probably just a cosmic ray.
  #11   Spotlight this post!  
Unread 25-01-2013, 16:54
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 507
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: Problem Imaging 8-slot cRIO

Try a different Ethernet cable.

I know, I know, but try, I did this for two hours with our home built 100' competition tether, that has worked just fine for other things without issue, but I switched to another cable and it worked?

I haven't remembered to bring in my Ethernet tester from home to test the 100' yet, but it worked perfectly fine for setting up the camera.
__________________
The sooner we get behind schedule, the more time we have to catch up.

  #12   Spotlight this post!  
Unread 25-01-2013, 17:53
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,047
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: Problem Imaging 8-slot cRIO

I've found that the only way I can reliably get the imaging to work is by directly connecting my computer to the cRio, with no switches/routers in between.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
  #13   Spotlight this post!  
Unread 26-01-2013, 11:50
rathsdaemon rathsdaemon is offline
Registered User
FRC #2283
 
Join Date: Jan 2013
Location: mexico
Posts: 4
rathsdaemon is an unknown quantity at this point
Re: Problem Imaging 8-slot cRIO

Thanks all for helping. Im on the same team as Korakos. Worth noting, as korakos stated, that we have been able to reimage the 4-slot CRIO without any hitch. That should tell us that our base configuration and network settings areat least sound, right? So when we try to reimage any of our two 8-slot spare CRIOS it fails. What could be different between the 4 and 8 slot crios to cause this problem? any ideas?

or perhaps im giving too much thought to the fact that these are different-slotted crios and just happens that the 8 slots are in a particular state that blocks the imaging process and the slot numbers have nothing to do with this?
  #14   Spotlight this post!  
Unread 26-01-2013, 14:45
mandrews281 mandrews281 is offline
Registered User
FRC #0281
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Greenville SC
Posts: 82
mandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to behold
Re: Problem Imaging 8-slot cRIO

Here's how we've had the best (only) success. First, no network devices between the cRIO and the computer. We use the pink cross-over network cable that was in the kit of parts a couple years ago (back when the camera was connected to the cRIO second network port). Third, we disable any non-wired network adapter on the computer. Fourth, we set the computer ethernet adapter with a fixed ip address (10.xx.yy.zz) I forget the netmask, but its either 255.0.0. or 255.255.255.0. The xx.yy are based on your team number and zz is typically in the 5-99 range. Fifth, we disable the windows firewall on the PC. Then we run the imaging tool. That has always worked.

If the cRIO is new, it has a factory set IP address that I forget. Good luck.
__________________
Michael Andrews
Team #281 Programming Mentor
  #15   Spotlight this post!  
Unread 26-01-2013, 16:13
rathsdaemon rathsdaemon is offline
Registered User
FRC #2283
 
Join Date: Jan 2013
Location: mexico
Posts: 4
rathsdaemon is an unknown quantity at this point
Re: Problem Imaging 8-slot cRIO

Ok this is going to be a bit lengthy, thanks for helping

1st, we have verified that wesee have the right IP address, and we can actually ping the CRIO at the correct address
see:



2nd, as we can ping and we can connect, we can run the imaging tool


As you can see, we have the crio in the right IP address, and it detects it as an 8 slot crio, even the name PANTERAS is ok

so we select to Format the controller with the right version, and choose LabView and press APPLY

a popup appears stating Connecting to the CRIO and finally after a few seconds we get this error




We cant find the error in the process and yet it does not re-image

Any suggestions?

Last edited by rathsdaemon : 26-01-2013 at 16:17.
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 07:01.

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