Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Problem Imaging 8-slot cRIO (http://www.chiefdelphi.com/forums/showthread.php?t=111923)

Korakos 23-01-2013 22:04

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?

Alan Anderson 23-01-2013 23:22

Re: Problem Imaging 8-slot cRIO
 
Quote:

Originally Posted by Korakos (Post 1220869)
...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?)

Korakos 23-01-2013 23:59

Re: Problem Imaging 8-slot cRIO
 
sounds logical... will see if that does the trick and let you know tomorrow.

4057programmer 24-01-2013 01:18

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.

Korakos 24-01-2013 01:29

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.

Electric Sheep 24-01-2013 08:43

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?:confused:

Electric Sheep 24-01-2013 09:12

Re: Problem Imaging 8-slot cRIO
 
Aww man...there all the time...glasses anyone?

Korakos 24-01-2013 17:18

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

Alan Anderson 25-01-2013 14:54

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.

ProgrammerTori 25-01-2013 15:32

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.

tr6scott 25-01-2013 16:54

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.

virtuald 25-01-2013 17:53

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.

rathsdaemon 26-01-2013 11:50

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?

mandrews281 26-01-2013 14:45

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.

rathsdaemon 26-01-2013 16:13

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?

rathsdaemon 26-01-2013 18:01

Re: Problem Imaging 8-slot cRIO
 
Could it be that there are no modules installed? i.e. do you have to have the modules plugged in the right slots in order to image the CRIO?

Greg McKaskle 26-01-2013 18:09

Re: Problem Imaging 8-slot cRIO
 
No, modules do not matter. The imaging tool will give feedback if they are wrong, but imaging doesn't care about modules.

The first thing I'd do is to disable the wifi on the computer, verify that no firewall is on, and try again.

Greg McKaskle

apples000 26-01-2013 18:17

Re: Problem Imaging 8-slot cRIO
 
We had similar trouble today. When we were reimaging, we chose a different team number so that the cRIO's IP would be different. The first time we tried, the tool changed the cRIO's IP to the new address, then lost connectivity. After trying many times, we found that we needed to change the IP address of the computer so that it would work with the cRIO's new IP. For example, if we started with the cRIO on team 123, the cRIO's address would be 10.1.23.2, and the computer would be 10.1.23.5. After you run/fail the imaging tool setting the robot on team 999, your computer's IP would need to be 10.9.99.5. Also, be sure to check the advanced menu in network adapter settings and make sure your network adapter only has ONE address. If it has two, it doesn't work!

Alan Anderson 26-01-2013 19:01

Re: Problem Imaging 8-slot cRIO
 
Everything looks correct, but something is obviously wrong. Otherwise it would be working.

Does your computer not have a wireless network interface? I don't see one mentioned in the ipconfig output.

I assume you've tried simply rebooting. That fixed a network problem for me today.

The only clue I have to a potential problem is that the imaging tool error message doesn't actually tell you what your network adapter addresses are set to. That suggests that it isn't able to read something from the system properly. I doubt it's something as silly as the program being confused by the Spanish language, but if you have another computer with Windows running in English you might try using it instead.

SuperBK 26-01-2013 23:28

Re: Problem Imaging 8-slot cRIO
 
We had the same problem with our original 8 slot cRio. I don't know what it is about this year, but we have never had this much trouble with it.

I would suggest turing off IPV6 on the adapter being used. The fact that it doesn't list an address in the error message is odd. The "unreachable" message means it's on the wrong ip address to me. I have seen the network address revert to something else after a reboot.

This is what we did to get ours to image today.

We shut off the wireless adapter with a hardware switch and then disabled it in the control panel (it still showed up).

Second, we also had to delete another internet address under the advanced setting of the ethernet adapter. I think it may have been added by running the driver's station on the development laptop.

We used a crossover cable between the laptop and crio, although I don't see any reason it wouldn't work with the router in between.

We set the internet address to 10.x.y.6 (x.y is our team number of course) and the mask to 255.255.255.0 as per the "Getting Started" guide.

Finally the student noticed that we had been running the 2012 verion of the imaging tool running. It was still on the laptop from last year. Running the 2013 version and entering the team number helped.

Firewall has been off the whole time.

Finally, with all that fixed, we were able to image it.

The cRio is howerver, acting flakey when we put robot code in it and run it, but that's a post for another day if we can't get it settled down.

rsisk 27-01-2013 02:06

Re: Problem Imaging 8-slot cRIO
 
Set the subnet mask on your laptop to 255.0.0.0 then try to reimage again

rathsdaemon 27-01-2013 16:03

Re: Problem Imaging 8-slot cRIO
 
Thanks Alan.
Yes we tried rebooting, then we even tried installing everything on a different laptop. We were sure that was going to fix it!. No luck. The problem continued exactly the same. We tried with a different 8-slot CRIO, and no change. I verified we are running the 2013 imaging tool, since we installed the software from scratch. As I mentioned before, firewall is deactivated, as well as anti-virus (which should not have anything to do, but nevertheless we tried) . We tried with different regular and crossover cables.


We have not tried turning off IPV6, but im puzzled by the fact that we have the 4-slot CRIO re-imaged with no problem...

What could we be doing so different that other teams have been able to re-image the CRIO?. We are a team that has used the CRIo since it was introduced to FRC and its the first time we see this behaviour.

Alan Anderson 27-01-2013 21:50

Re: Problem Imaging 8-slot cRIO
 
I'm pretty much out of helpful suggestions. Maybe do a careful search of your computers for another installed firewall? That's hit some teams before.

ehochstein 27-01-2013 23:17

Re: Problem Imaging 8-slot cRIO
 
I've been working with 2470 this week, they have two 8-slot crios and one 4-slot crio. We have no problem dowloading code, running code or updating the image on the 4-slot crio but whenever we do anything with the 8-slot crio there is an incredible amount of communication errors between the laptop and the robot (wired or wireless) half the time we cannot connect to the crio.

I am going to work on some debugging this week, hopefully get wireshark up and running to see where the packets are being sent and received. Just know it sounds like you are not alone in this problem and if I find anything out I'll let you know.

Evan

Greg McKaskle 28-01-2013 06:01

Re: Problem Imaging 8-slot cRIO
 
Can you describe the communication errors in more detail?

Greg McKaskle

tr6scott 29-01-2013 07:43

Re: Problem Imaging 8-slot cRIO
 
Not any help, but just following up with another data point. Last night we tested our long tethering cable and it tested fine. ($50 tester that will do CAT5, Split Pair detection, and open short detection)

We also had many attempts where it did not work over wireless, hard connected to bridge, without success.

The only way we got it to work was direct connected with computer to cRio, and even when this was done, it wasn't 100% "normal", slower than in the past, but completed.

Korakos 04-02-2013 17:25

Re: Problem Imaging 8-slot cRIO
 
All i can tell you about the Communication errors is what has already been said in this thread but just to recap.
This is what i can do:
  • Connect to the cRIO using the imaging tools
  • Configure the IP on the cRIO
  • Connect to the cRIO using MAX, and verify that the IP configuration is correct
This is what i cannot do:
  • Format the cRIO using safe mode
  • Load a new image to the cRIO

Korakos 04-02-2013 17:28

Re: Problem Imaging 8-slot cRIO
 
and also, the error message i get is always this:
The cRIO IP address (10.22.83.2) is unreachable. Ensure that one of your computer's network adapters is on the same subnet. Your network adapters are currently set to the following:

(and no, i did not forget to copy the ip address shown for my network adapters, NO IP address is shown there)

NotInControl 04-02-2013 19:11

Re: Problem Imaging 8-slot cRIO
 
Why not try using last years 2012 imaging tool and last years image to see that you can flash using that.

The 2012 tool (assuming you used this computer last year) should be in the:

C:/program files/national instruments/labview 2011/project/crio tool

The images would be in their default location. If you don't have last years tools I can provide them.

It looks like your CRIO doesn't have an image at all based on the figure.

Once you have version 43 of the image loaded from 2012, retry loading the 2013 image using the current image tool.

I know this shouldn't be the way its done, but who knows I'd say its worth a try.

Hope this helps,
Kev

Alan Anderson 04-02-2013 22:04

Re: Problem Imaging 8-slot cRIO
 
Grasping at straws...

Click the Advanced button in the IPV4 properties and make sure there's only one address set on the Ethernet interface.

Greg McKaskle 05-02-2013 07:38

Re: Problem Imaging 8-slot cRIO
 
Anyone still having issues with the imaging tool should feel free to contact NI technical support. The number and email info is on the Getting Started screen. You can also go to ni.com/frc.

Greg McKaskle

Alan Anderson 05-02-2013 08:13

Re: Problem Imaging 8-slot cRIO
 
Hey, here's a thought. If a 4-slot cRIO works okay but an 8-slot one fails, it might be a power issue. What is the cRIO power input connected to?

Korakos 06-02-2013 15:47

Re: Problem Imaging 8-slot cRIO
 
The power is fine, i checked and the cRIO is receiving the full 24V required, also i did check the IPv4 thing and it is correctly configured... i wish it wasn't and that the problem was that simple XD...

and about the 2012 imaging tool... i thought about trying that out... but it was on my personal computer, so i have already re-installed everything (wanted to give Gentoo a try... XD), do you know where i can find it... i don't have the 2012 labview install disk anymore, although it should be able to work with the new version just fine shouldn't it?

Mike AA 16-02-2013 18:47

Re: Problem Imaging 8-slot cRIO
 
Figured it out, someone had attached to port 2 instead of 1

ONeill6330 17-02-2013 12:56

Re: Problem Imaging 8-slot cRIO
 
Last year we noticed that the slots were changed to match up with the 4 slot cRIO. Also we found that the switches on/off was a bit misleading. So here is what worked on our 8 slot this year.

Switches from the outside edge of cRIO...Are they up/ or pushed down???
All these are the outside edge of each switch...
SafeMode-down
Console Out-down
IP Reset-down
No App-UP
User1-down
No FPGA-down

Hope this helps some teams on 8-slot...
2625 Mentor...


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi