Go to Post I want to take a moment to thank every single FIRST mentor on behalf of all the FIRSTers (students) out there, for giving us the best we can get. - Arefin Bari [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 27-11-2008, 23:16
nickmagus's Avatar
nickmagus nickmagus is offline
Registered User
AKA: Nick Clayton
FRC #0008 (Paly Robotics)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Palo Alto, Califorinia
Posts: 56
nickmagus is an unknown quantity at this point
Send a message via AIM to nickmagus
updating firmware on crio

so i hooked up my computer and the rio to the drivers station just like it says in the instructions but my computer says it cant find a rio when i try to load the stuff on it. any ideas whats up there. i checked power to everything and all the lights on the Ethernet ports were lit up.
  #2   Spotlight this post!  
Unread 27-11-2008, 23:21
samir13k samir13k is offline
Registered User
AKA: Samir Shaikh
FRC #4329
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2008
Location: St. Louis, MO
Posts: 281
samir13k has a brilliant futuresamir13k has a brilliant futuresamir13k has a brilliant futuresamir13k has a brilliant futuresamir13k has a brilliant futuresamir13k has a brilliant futuresamir13k has a brilliant futuresamir13k has a brilliant futuresamir13k has a brilliant futuresamir13k has a brilliant futuresamir13k has a brilliant future
Send a message via AIM to samir13k Send a message via MSN to samir13k
Re: updating firmware on crio

does it at least see that its there but just not let you download it, or will it completely not recognize it?
  #3   Spotlight this post!  
Unread 27-11-2008, 23:44
whitetiger0990's Avatar
whitetiger0990 whitetiger0990 is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Earth
Posts: 157
whitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of light
Re: updating firmware on crio

When you start the Imaging Tool, does it say "No CompactRIO devices were found. Verify the network connection." or does it let you select the cRIO from the list and then it complains after you hit Apply?

Either way, double check that you have made your IP static to the right thing.

If you are going straight from the laptop to the cRIO, you'll need to use the crossover cable (the orange one), if you are connecting to it through either the DS or the router, then normal cables will work.

If it still doesn't work, try disabling your other network interfaces. I had a loopback device I forgot about that was within the range of the cRIO. Two interfaces in the IP range = bad.
__________________
print$q=chr(ord($q)+$1)while("7443-0201-8465130105-12-03135-82482113-06-7672-070208-0613-70"=~/(-?\d\d)/g);
  #4   Spotlight this post!  
Unread 28-11-2008, 00:44
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: updating firmware on crio

Quote:
Originally Posted by nickmagus View Post
so i hooked up my computer and the rio to the drivers station just like it says in the instruction...
Which instructions in particular are you using? There's a typo in the IP address in one section, showing 10.x.x.1 where 10.x.x.6 is correct. Maybe that's your problem.
  #5   Spotlight this post!  
Unread 28-11-2008, 13:40
samir13k samir13k is offline
Registered User
AKA: Samir Shaikh
FRC #4329
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2008
Location: St. Louis, MO
Posts: 281
samir13k has a brilliant futuresamir13k has a brilliant futuresamir13k has a brilliant futuresamir13k has a brilliant futuresamir13k has a brilliant futuresamir13k has a brilliant futuresamir13k has a brilliant futuresamir13k has a brilliant futuresamir13k has a brilliant futuresamir13k has a brilliant futuresamir13k has a brilliant future
Send a message via AIM to samir13k Send a message via MSN to samir13k
Re: updating firmware on crio

Quote:
Originally Posted by Alan Anderson View Post
Which instructions in particular are you using? There's a typo in the IP address in one section, showing 10.x.x.1 where 10.x.x.6 is correct. Maybe that's your problem.
yup, 1501 got hung up on that for aout 4 hours, basically a whole workday!
  #6   Spotlight this post!  
Unread 28-11-2008, 13:59
nickmagus's Avatar
nickmagus nickmagus is offline
Registered User
AKA: Nick Clayton
FRC #0008 (Paly Robotics)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Palo Alto, Califorinia
Posts: 56
nickmagus is an unknown quantity at this point
Send a message via AIM to nickmagus
Re: updating firmware on crio

so i have my ip set to 10.0.0.6 and the computer is plugged in via Ethernet to the drivers station and the rio is plugged into the drivers station but my computer still cant see the rio. it just keeps saying no rio devices found.
  #7   Spotlight this post!  
Unread 28-11-2008, 16:38
trilogy2826's Avatar
trilogy2826 trilogy2826 is offline
Mentor - 2826
AKA: Jake Fischer
FRC #2826 (Wave Robotics)
Team Role: Mentor
 
Join Date: Nov 2008
Rookie Year: 2006
Location: Oshkosh, WI
Posts: 113
trilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond repute
Re: updating firmware on crio

Nick, I would suggest skipping the suggestion in the manual directing you to hook your PC to the cRIO through the Driver Station. If you have already updatedup your driver station, It's new IP address will be 10.XX.YY.5, or in your case 10.0.8.5, and the cRIo is by default 10.0.0.2. Since they are on a different subnet, then they cannot communicate with eachother.

Assuming you have already updated your DS and set you team # into it, I suggest taking the orange crossover cable from the kit that is designated for the camera, connecting it from the PC to the cRIo port 1. For reference, you can always tell its a crossover if you hold the two connectors of the cable side-by-side and they ahve a different pinout/color arrangement.

Then set your IP address on the PC to 10.0.0.6. Power on the cRio and do the update process.

If you still have troubles, go to Start->Run and type cmd. This should bring up your prompt terminal. Two commands to remember are ipconfig and ping. If you type ipconfig, and there are at least two devices on the connection (in this case a cRio and a PC) this will show you what your ip and subnet are configured as. If you have multiple NICs or a wireless adapter, make sure you look for the right one. If you type ping <address> , where address is the IP address you want to see is communicating on your network, you should see a test of that address which at the end should tell you if there was a reply from the device in question.

In your case type ping 10.0.0.2. If the cRIO is there and has an IP as expected, you should see four successful message packets sent and replied to. If not, then you might have bigger troubles on your hands, or someone updated your cRIO and didn't tell you.

As a last, and I mean last, resort, you can consult page 15 in the crio-frc_Operating_Instructions.pdf available on the NI.com/first site at:

http://decibel.ni.com/content/docs/DOC-2632

This will show you how to set the IP to 0.0.0.0. Then setting your PC to 0.0.0.X, where X is not zero with a subnet of 255.0.0.0, should allow you to update the cRio.

When you have successfully updated the cRio, make sure you set you PCs IP address back to 10.0.8.6 and test out the entire system as outlined in the manual on the network setup. I suggest a qiuck ping test to each of the devices in the network for confirmation.

Good luck...
  #8   Spotlight this post!  
Unread 28-11-2008, 16:39
trilogy2826's Avatar
trilogy2826 trilogy2826 is offline
Mentor - 2826
AKA: Jake Fischer
FRC #2826 (Wave Robotics)
Team Role: Mentor
 
Join Date: Nov 2008
Rookie Year: 2006
Location: Oshkosh, WI
Posts: 113
trilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond repute
Re: updating firmware on crio

Nick, I would suggest skipping the suggestion in the manual directing you to hook your PC to the cRIO through the Driver Station. If you have already updated your driver station, It's new IP address will be 10.XX.YY.5, or in your case 10.0.8.5, and the cRIo is by default 10.0.0.2. Since they are on a different subnet, then they cannot communicate with eachother.

Assuming you have already updated your DS and set you team # into it, I suggest taking the orange crossover cable from the kit that is designated for the camera, connecting it from the PC to the cRIo port 1. For reference, you can always tell its a crossover if you hold the two connectors of the cable side-by-side and they ahve a different pinout/color arrangement.

Then set your IP address on the PC to 10.0.0.6. Power on the cRio and do the update process.

If you still have troubles, go to Start->Run and type cmd. This should bring up your prompt terminal. Two commands to remember are ipconfig and ping. If you type ipconfig, and there are at least two devices on the connection (in this case a cRio and a PC) this will show you what your ip and subnet are configured as. If you have multiple NICs or a wireless adapter, make sure you look for the right one. If you type ping <address> , where address is the IP address you want to see is communicating on your network, you should see a test of that address which at the end should tell you if there was a reply from the device in question.

In your case type ping 10.0.0.2. If the cRIO is there and has an IP as expected, you should see four successful message packets sent and replied to. If not, then you might have bigger troubles on your hands, or someone updated your cRIO and didn't tell you.

As a last, and I mean last, resort, you can consult page 15 in the crio-frc_Operating_Instructions.pdf available on the NI.com/first site at:

http://decibel.ni.com/content/docs/DOC-2632

This will show you how to set the IP to 0.0.0.0. Then setting your PC to 0.0.0.X, where X is not zero with a subnet of 255.0.0.0, should allow you to update the cRio.

When you have successfully updated the cRio, make sure you set you PCs IP address back to 10.0.8.6 and test out the entire system as outlined in the manual on the network setup. I suggest a qiuck ping test to each of the devices in the network for confirmation.

Good luck...
  #9   Spotlight this post!  
Unread 28-11-2008, 18:21
nickmagus's Avatar
nickmagus nickmagus is offline
Registered User
AKA: Nick Clayton
FRC #0008 (Paly Robotics)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Palo Alto, Califorinia
Posts: 56
nickmagus is an unknown quantity at this point
Send a message via AIM to nickmagus
Re: updating firmware on crio

nvm figured it out its a problem with my computer (which is old and a piece of junk)
  #10   Spotlight this post!  
Unread 16-12-2008, 12:40
Darren Collins Darren Collins is offline
Coach
AKA: Darren Collins
FRC #2046 (Bear Metal)
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Maple Valley, WA
Posts: 47
Darren Collins is a name known to allDarren Collins is a name known to allDarren Collins is a name known to allDarren Collins is a name known to allDarren Collins is a name known to allDarren Collins is a name known to all
Re: updating firmware on crio

We're having issues updating the firmware on our cRIO too. The status in the "Reconfiguring Device" window shows us going through the following:

Extracting CompactRio Image...
Connecting to CompactRio device...
Formatting CompactRio device...
Assigning IP Address...

Updating CompactRIO Image...
unable to complete operation because of unexpected error 15425
FTP transaction 425 connection error



We are connected directly to the cRIO via a crossover cable. We have also tried through the driver station and the wireless. Additionally, we have tried different IP addresses on the computer. We have also disabled our firewall on the computer.

Any suggestions would be most appreciated. Thanks in advance.
  #11   Spotlight this post!  
Unread 16-12-2008, 12:49
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: updating firmware on crio

Quote:
Originally Posted by D Collins View Post
We are connected directly to the cRIO via a crossover cable.
This is probably not your problem since you said you've also tried it through the DS, but I'll post anyway in case others have this issue.

We initially tried to update the Rio firmware with a direct connection between the PC and the Rio, but that caused the Labview updater program to crash, returning some cryptic error about an unhandled exception or something. (we tried a few times). In the end, I decided this was probably due to the fact that when using a direct connection, the Rio reboots and when that happens the laptop thinks the network cable is unplugged (because the Rio shuts down its network port for a moment). I suspect the updater program is trying to communicate at some point when Windows thinks the network is unplugged and this causes an error which the updater fails to handle. I ended up connecting the laptop to the DS and the DS to the controller as recommended (just had to find another ethernet cable) and then it worked OK.
  #12   Spotlight this post!  
Unread 16-12-2008, 13:09
Darren Collins Darren Collins is offline
Coach
AKA: Darren Collins
FRC #2046 (Bear Metal)
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Maple Valley, WA
Posts: 47
Darren Collins is a name known to allDarren Collins is a name known to allDarren Collins is a name known to allDarren Collins is a name known to allDarren Collins is a name known to allDarren Collins is a name known to all
Re: updating firmware on crio

Thanks for the input. We have tried through the DS and unfortunately we are continuing to get the same error. We're not sure where to go from here.
  #13   Spotlight this post!  
Unread 16-12-2008, 13:48
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: updating firmware on crio

Quote:
Originally Posted by D Collins View Post
...
Updating CompactRIO Image...
unable to complete operation because of unexpected error 15425
FTP transaction 425 connection error
...
We have also disabled our firewall on the computer.
Are you sure your firewall is off? I had disabled ours even before loading the FRC LabVIEW software, but we got the same FTP error the first time we tried to update the cRIO. I found that the firewall had mysteriously re-enabled itself, turned it off again, and the update succeeded on the next attempt.
  #14   Spotlight this post!  
Unread 16-12-2008, 19:00
Matt Clayson Matt Clayson is offline
Registered User
FRC #2046
 
Join Date: Dec 2008
Location: Washington
Posts: 2
Matt Clayson is an unknown quantity at this point
Re: updating firmware on crio

The firewall was disabled and the error still shows up.
  #15   Spotlight this post!  
Unread 16-12-2008, 19:14
Darren Collins Darren Collins is offline
Coach
AKA: Darren Collins
FRC #2046 (Bear Metal)
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Maple Valley, WA
Posts: 47
Darren Collins is a name known to allDarren Collins is a name known to allDarren Collins is a name known to allDarren Collins is a name known to allDarren Collins is a name known to allDarren Collins is a name known to all
Re: updating firmware on crio

Does the camera have to be connected to the cRIO during the firmware upgrade?
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
Live updating prices in Excel Michael Hill Chit-Chat 0 05-11-2006 01:28
Updating the paperwork? DinkyDogg 3D Animation and Competition 3 11-02-2006 21:09
RC Firmware JoeFryman Programming 1 12-02-2005 12:54
RC Firmware JoeFryman Control System 1 12-02-2005 12:54


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

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