Go to Post What Delphi says doesn't matter. What the official Q&A says matters. - Tetraman [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 28-01-2010, 20:05
sp33chy sp33chy is offline
Registered User
FRC #3332
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Melbourne, FL
Posts: 29
sp33chy is an unknown quantity at this point
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.
  #2   Spotlight this post!  
Unread 28-01-2010, 21:27
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: Trouble flashing cRIO

I believe you should be using a crossover ethernet cable.
  #3   Spotlight this post!  
Unread 28-01-2010, 21:37
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
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
  #4   Spotlight this post!  
Unread 28-01-2010, 21:43
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: Trouble flashing cRIO

Quote:
Originally Posted by Radical Pi View Post
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.
  #5   Spotlight this post!  
Unread 28-01-2010, 23:33
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,113
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: Trouble flashing cRIO

Quote:
Originally Posted by Radical Pi View Post
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.
  #6   Spotlight this post!  
Unread 29-01-2010, 09:30
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
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?
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack

Last edited by apalrd : 29-01-2010 at 10:02.
  #7   Spotlight this post!  
Unread 30-01-2010, 13:46
Labot2001's Avatar
Labot2001 Labot2001 is offline
Registered User
FRC #3332
 
Join Date: Jan 2010
Location: Space Coast, FL
Posts: 11
Labot2001 is an unknown quantity at this point
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
  #8   Spotlight this post!  
Unread 30-01-2010, 17:28
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
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.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #9   Spotlight this post!  
Unread 30-01-2010, 17:35
Jason Law's Avatar
Jason Law Jason Law is offline
Team Captain
FRC #2834 (Bionic Barons)
Team Role: Mechanical
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Michigan
Posts: 92
Jason Law is just really niceJason Law is just really niceJason Law is just really niceJason Law is just really niceJason Law is just really nice
Re: Trouble flashing cRIO

Quote:
Originally Posted by Labot2001 View Post
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.
  #10   Spotlight this post!  
Unread 30-01-2010, 17:47
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
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.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #11   Spotlight this post!  
Unread 30-01-2010, 18:05
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: Trouble flashing cRIO

Quote:
Originally Posted by apalrd View Post
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.
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)
  #12   Spotlight this post!  
Unread 30-01-2010, 18:09
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Trouble flashing cRIO

Meaning a crossover cable or a normal cable will work. Crossover cable is better in case the laptop dosen't.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #13   Spotlight this post!  
Unread 30-01-2010, 18:42
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: Trouble flashing cRIO

Quote:
Originally Posted by apalrd View Post
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".
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)
  #14   Spotlight this post!  
Unread 15-02-2010, 08:40
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: Trouble flashing cRIO

Quote:
Originally Posted by sp33chy View Post
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.
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)
  #15   Spotlight this post!  
Unread 15-02-2010, 10:49
oddjob oddjob is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Earth
Posts: 118
oddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to behold
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.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flashing cRIO flyvin Programming 3 27-01-2010 08:19
Trouble connecting to cRIO? darty Programming 17 31-01-2009 16:15
Trouble Downloading from LabView to cRio MikePres FRC Control System 0 15-01-2009 16:17
Inventor software trouble/ FIRST Base trouble nasa-senpai General Forum 2 24-01-2007 09:15
flashing LEDs jacob_dilles Electrical 1 22-02-2004 21:52


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

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