Go to Post From what I've been told, it's BASIC. Just BASIC. Basic BASIC. Basically BASIC. To be basic, it's BASIC. - Aignam [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 08-01-2012, 19:18
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 592
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Imaging tool for the new 4-slot cRIO

Quote:
Originally Posted by jhersh View Post
It's in the language update of your choice.
As Joe said, the image tool looks in the language installation for the image. Each language has an image included so the languages don't have to update in lock-step when new images are shipped.

Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #17   Spotlight this post!  
Unread 10-01-2012, 13:35
flriley flriley is offline
Registered User
FRC #0086
 
Join Date: Feb 2011
Location: Jacksonville, FL
Posts: 5
flriley is an unknown quantity at this point
Re: Imaging tool for the new 4-slot cRIO

A couple of things that helped me find my cRIO and image it.

Finding cRIO with imaging tool
0. Assign static IP address and subnet masks as described above.
1. Disable any other internet connections (i.e. wireless)
2. For Windows XP SP2 turn off all firewalls and auto software updates

Format cRIO to latest image (i.e. v43)
1. Use a hub/switch to format.
Reply With Quote
  #18   Spotlight this post!  
Unread 10-01-2012, 15:20
Peter Randall Peter Randall is offline
Director of Technology
FRC #1218 (Vulcan Robotics)
Team Role: Teacher
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Philadelphia
Posts: 37
Peter Randall will become famous soon enoughPeter Randall will become famous soon enough
Re: Imaging tool for the new 4-slot cRIO

Folks,

We finally made my way through this maze and uploaded my first test code on the FRC II. In addition to all the requirements listed above, you need to add two more:

1. Use a simple switch or hub linked only to the cRIO and your PC. Do not use the Linksys wireless router.

2. DISABLE all Ethernet ports except the hardwired port linked to the hub or switch. Simply turning off the radio is not sufficient, you must disable the port.

I hope this helps. I really appreciate the support of the folks in this forum. Good luck.

PGR
__________________
Peter Randall
Chairman, Department of Engineering & Robotics
Springside Chestnut Hill Academy
TEAM 1218

Last edited by Peter Randall : 10-01-2012 at 15:29.
Reply With Quote
  #19   Spotlight this post!  
Unread 10-01-2012, 15:33
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 674
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Imaging tool for the new 4-slot cRIO

Like I said in my previous post, to simplify things to only deal with minimum changes, connect your laptop to the cRIO directly with an ethernet cable (for the old cRIO, connect to port 1 and disconnect port 2). Then you don't have to deal with switches/hub/AP/Bridge.
__________________
Reply With Quote
  #20   Spotlight this post!  
Unread 10-01-2012, 16:19
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Imaging tool for the new 4-slot cRIO

Quote:
Originally Posted by mikets View Post
Like I said in my previous post, to simplify things to only deal with minimum changes, connect your laptop to the cRIO directly with an ethernet cable (for the old cRIO, connect to port 1 and disconnect port 2). Then you don't have to deal with switches/hub/AP/Bridge.
For some computers, the Ethernet driver on the PC takes too long to recover when the cRIO reboots (and the link is lost). If there is a Switch in the path between the cRIO and the PC, the Switch will prevent the PC from loosing link even when the cRIO is rebooting. This will allow the imaging to succeed where it may otherwise fail. That is the reason using a switch in between may be helpful.
Reply With Quote
  #21   Spotlight this post!  
Unread 10-01-2012, 16:28
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 674
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Imaging tool for the new 4-slot cRIO

Good to know. I am surprise about this though. I understand when the cRIO is rebooting, the link is lost. If the PC ethernet takes time to "recover" and so does the Ethernet switch (reestablishing link to the cRIO). But I suppose most of the swtiches may be able to recover faster than some of the PC ethernet adapters. Also, if the "formatting timeout" is short enough that it doesn't even allow the ethernet adapter to "recover", it's really too short. Any plan to fix this issue in the future?
__________________
Reply With Quote
  #22   Spotlight this post!  
Unread 10-01-2012, 16:58
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Imaging tool for the new 4-slot cRIO

Quote:
Originally Posted by mikets View Post
Good to know. I am surprise about this though. I understand when the cRIO is rebooting, the link is lost. If the PC ethernet takes time to "recover" and so does the Ethernet switch (reestablishing link to the cRIO). But I suppose most of the swtiches may be able to recover faster than some of the PC ethernet adapters. Also, if the "formatting timeout" is short enough that it doesn't even allow the ethernet adapter to "recover", it's really too short. Any plan to fix this issue in the future?
The problem is not recovering link. The problem is the link takes some time to recover and then it has to reassign the IP address settings and get the stack all functional again. This seems to take quite some time on some machines. The timeout is already really long (60 seconds). Since we don't know what the upper bound is on this (hard to believe 60 is not enough, and yet some people still report time-outs), we think this work-around is a reasonable solution if you have an outlier PC setup. For most teams, it is not necessary.

-Joe
Reply With Quote
  #23   Spotlight this post!  
Unread 11-01-2012, 01:45
steinra's Avatar
steinra steinra is offline
(KG7KEO)
AKA: Randy Steiner
FRC #5461 (V.E.R.N.)
Team Role: Coach
 
Join Date: Nov 2008
Rookie Year: 2007
Location: Meridian, Idaho
Posts: 56
steinra is on a distinguished road
Re: Imaging tool for the new 4-slot cRIO

We have a rookie kit of parts this year (I have mentored other teams in the past) and ran into this issue. I had already disabled the firewall when I ran across this thread. I first tried fixing the net mask from 255.0.0.0 to 255.255.255.0. That did not fix it. I then disabled the wireless network interface on the classmate and that did the trick.

So a fresh install of the classmate and the 4 slot cRIO out of the box direct connected with a cross over reproduced this same error until we disabled the wireless network interface. I may try putting the net mask back to 255.0.0.0 and see if that changes anything, but it is working now.

Not sure if that will help in the trouble shooting or not.

Thanks!

Randy
__________________
Randy Steiner
2014-2015 FIRST Team 5461 - Coach
2011-2014 FIRST Team 4106 - Head Mentor
2007-2011 FIRST Team 1891 - Mentor
Reply With Quote
  #24   Spotlight this post!  
Unread 11-01-2012, 07:50
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: Imaging tool for the new 4-slot cRIO

Quote:
Originally Posted by steinra View Post
I then disabled the wireless network interface on the classmate and that did the trick.
Just checking -- you don't mean simply that you pressed the button to turn off the wireless radio, right? You actually went into the networking configuration controls in Windows, selected the icon representing the wireless LAN adapter, and chose the menu option to disable it?
Reply With Quote
  #25   Spotlight this post!  
Unread 16-01-2012, 19:28
rogerroger rogerroger is offline
Registered User
FRC #1111
 
Join Date: Jan 2012
Location: Edgewater
Posts: 2
rogerroger is an unknown quantity at this point
Re: Imaging tool for the new 4-slot cRIO

Quote:
Originally Posted by mikets View Post
Thanks for the info. I got it successfully formatted. Here is a quick way of how I did it without disabling/reconfiguring a lot of things on the network.
- Disabled the wireless adapter of my laptop.
- Configure my wired ethernet adapter on my laptop to have a static IP address of 10.xx.xx.6 with a mask of 255.255.255.0.
- Connect my laptop to the 4-slot cRIO directly with an ethernet wire. I don't need a cross over cable because either the 4-slot cRIO or my laptop has autosense.
- Power up the cRIO and ping it from my laptop to make sure it sees it (ping 10.xx.xx.2).
- Run the cRIO imaging tool and select all the options and firware you need and click Apply.
- When it finished, you are done.
- Remember to configure your laptop's ethernet adapter back to auto IP address and auto DNS.
By doing the above, the only network configuration I changed was my laptop's ethernet adapter. The resulting network will have only my laptop and the cRIO with a narrow mask of 255.255.255.0. So the enumeration of devices should be very quick.
Curious though, since the imaging tool already did enumeration of the cRIO and showed its proper IP address (10.xx.xx.2) and I have "selected" the cRIO, why can't the imaging tool just use the 10.xx.xx.2 IP address to communicate with the cRIO when formatting instead of trying to enumerate it again on a wider network mask (255.0.0.0)? Or at the very least, lengthen the timeout to allow enough time to enumerate the subnet. After all, the initial "scanning" allowed enough time to "find" the cRIO so there is no reason why "format reboot" cannot use the same timeout length.
This worked for our team. Thanks for the post.

Go FIRST!
Reply With Quote
Reply


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 13:38.

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