Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Trouble flashing cRIO (http://www.chiefdelphi.com/forums/showthread.php?t=81381)

sp33chy 28-01-2010 20:05

Trouble flashing cRIO
 
I've been trying for the past hour or so, following the directions of different people when others' didn't work, but every time the cRIO keeps giving me this error when I try to flash it, sometimes the IP changes but the error is the same.

http://i47.tinypic.com/213lyf6.png

The cRIO is connected with a regular ethernet cable. Any tips for me to get this to get working? Thanks.

basicxman 28-01-2010 21:27

Re: Trouble flashing cRIO
 
I believe you should be using a crossover ethernet cable.

Radical Pi 28-01-2010 21:37

Re: Trouble flashing cRIO
 
Also, make sure you have set the IP of your computer you are flashing from properly with the correct subnet mask

basicxman 28-01-2010 21:43

Re: Trouble flashing cRIO
 
Quote:

Originally Posted by Radical Pi (Post 908925)
Also, make sure you have set the IP of your computer you are flashing from properly with the correct subnet mask

Read the control systems manuals found here, http://usfirst.org/roboticsprograms/....aspx?id=10934 for more information on setting your IP correctly.

Alan Anderson 28-01-2010 23:33

Re: Trouble flashing cRIO
 
Quote:

Originally Posted by Radical Pi (Post 908925)
Also, make sure you have set the IP of your computer you are flashing from properly with the correct subnet mask

I believe the correct subnet mask is 255.0.0.0, which is not the 255.255.255.0 that most people are familiar with.

apalrd 29-01-2010 09:30

Re: Trouble flashing cRIO
 
We are getting the EXACT same error, except we had it set to LabVIEW.
We spent 5 hours working on it before spending 2 hours on the phone with NI, and still can't fix it. NI was able to replicate the problem by setting an invalid IP address (not close to correct), but the problem stopped when the IP error was fixed.

We tried using the Classmate as well as my laptop, running Vista 32 bit. We thought that the cRio was rebooting when loading code, but found through ping that it was still running. We have tried using the Safe Mode and reformatting, setting Reset IP and trying again, and trying No Code and trying again. The NI guy asked us to try just about every network configuration, from crossover cable to full wireless system, with static and dynamic IP addresses on the two computers.

The NI guy was going to talk to the author of the cRio imaging tool, when he got in today and call us back.

I'm glad to know its no just us..

Network config:
The subnet mask is 255.0.0.0, the IP is 10.xx.yy.5 for the DS, 10.xx.yy.6 for the dev laptop, and 10.xx.yy.2 for the crio.
For us that's 10.00.33.5, 10.00.33.6, and 10.00.33.2
Crossover cable

Still nothing?
Try turning on the Safe Mode DIP switch, rebooting the cRio, and running the tool again. It will ask you to reformat, say yes. After it is done, turn the DIP switch off and reboot the cRio. Run the tool again. the IP of the cRio should be 0.0.0.0 and there should be no name. Set the Team ID, and a name, and try it again. If it fails again, the IP will be correct and the name will be "temp". If you get an error 56 when imaging after reformatting, you've got the same problem as us.

Do you have another laptop to use?

Labot2001 30-01-2010 13:46

Re: Trouble flashing cRIO
 
Hey all, fellow team member of OP here.

We got our problem fixed earlier today. Used a regular ethernet cable instead of a crossover, and used my laptop to flash the cRIO. Set the IP (in Windows 7 this is your IPv4 address, not IPv6; this may or may not apply to Vista aswell) to 10.xx.xx.6, where x's are team number.

Thanks for the help :D

apalrd 30-01-2010 17:28

Re: Trouble flashing cRIO
 
We have already exhausted all networking possibilities and tried three different programming computers. NI tech support needs to ask the engineer who wrote the FRC cRio imaging tool to find out the cause. I am wondering, has anyone else had problems flashing the cRio that weren't caused by invalid IP addresses? That could indicate a bug in the imaging tool. If no one else is having these problems, then this is probably a fried cRio.

We will try our 2009 cRio after the 2009 bot is finished with a demo on Friday.

Jason Law 30-01-2010 17:35

Re: Trouble flashing cRIO
 
Quote:

Originally Posted by Labot2001 (Post 909927)
Hey all, fellow team member of OP here.

Used a regular ethernet cable instead of a crossover...

I believe that using a regular ethernet cable instead of a crossover cable is the correct way to go. The crossover is not needed when flashing the cRIO.

apalrd 30-01-2010 17:47

Re: Trouble flashing cRIO
 
Unless you are connecting directly from the laptop to the cRio, no router in between. Then you need a crossover cable.

gvarndell 30-01-2010 18:05

Re: Trouble flashing cRIO
 
Quote:

Originally Posted by apalrd (Post 910098)
Unless you are connecting directly from the laptop to the cRio, no router in between. Then you need a crossover cable.

Unless the laptop has, and most modern machines do, automatic polarity correction.

apalrd 30-01-2010 18:09

Re: Trouble flashing cRIO
 
Meaning a crossover cable or a normal cable will work. Crossover cable is better in case the laptop dosen't.

gvarndell 30-01-2010 18:42

Re: Trouble flashing cRIO
 
Quote:

Originally Posted by apalrd (Post 910121)
Crossover cable is better in case the laptop dosen't.

There are people reading these forums who don't know some computers will silently accommodate either cable.
If some know enough to even vaguely understand the difference between a normal cable and a crossover cable, and they read that you MUST use a crossover cable, yet they know that they used a normal cable and it worked, then they are confused.
I just like to provide, when I can, information that might enable those confused people to say "Ah, that's why I was able to get away with doing so-and-so when everyone said it wouldn't work unless I did such-and-such".

gvarndell 15-02-2010 08:40

Re: Trouble flashing cRIO
 
Quote:

Originally Posted by sp33chy (Post 908867)
I've been trying for the past hour or so, following the directions of different people when others' didn't work, but every time the cRIO keeps giving me this error when I try to flash it, sometimes the IP changes but the error is the same.

http://i47.tinypic.com/213lyf6.png

The cRIO is connected with a regular ethernet cable. Any tips for me to get this to get working? Thanks.

I know this thread began over 2 weeks ago and the OP may no longer be having this particular problem.

However, I've just gone through the re-imaging process several times and I see why so many people have been having trouble with it.

You should not direct connect (crossover cable or not) your PC to the cRio when re-imaging.
Use cable instead of wireless, but use a switch or hub between the cRio and the PC.
The reason is the cRio is rebooted several times during the imaging process.
Each time the cRio reboots, it has the potential to disrupt link status on your PC LAN connection.
The time it takes your PC to recover from the lost link status, and the extent to which that makes your PC unable to communicate with the cRio is more or less -- depending on your machine.

In my case, this morning, my laptop would not successfully image the cRio with a direct cable connection. After putting a switch in between, it worked first time. The switch prevents my wired port from losing link status when the cRio boots and that made all the difference.

oddjob 15-02-2010 10:49

Re: Trouble flashing cRIO
 
Our team also had a very difficult time reimaging the cRIO. The strategy that worked for us was to set the cRIO into Safe mode, cycle power, reformat using the Image app, exit Safe mode, cycle power, then Image it fully to v19 C++. That worked from the Classmate, on which we installed the complete suite of FRC software. We also have a laptop and it didn't work from that at all, so that needs all the FRC software uninstalled and reinstalled.

Note - disable Windows Firewall and UAC. Both have the potential to silently interfere with the software installation and Imaging process so it might fail and you aren't sure why.


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

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