Go to Post We draw the line when our students are more affectionate towards the tools rather than eachother. - ksafin [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
  #1   Spotlight this post!  
Unread 31-12-2011, 18:41
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: 671
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
Imaging tool for the new 4-slot cRIO

Our team got the new 4-slot cRIO for this season. I thought I would prep the cRIO and load some test code to check it out. But the 2011 imaging tool does not see the device. I was told I need the new 2012 imaging tool that will come with the KoP this season. I was also told some beta teams may have gotten it already. If so, would somebody in the beta teams care to send the tool to me?

Thanks.
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 31-12-2011, 19:19
Aren Siekmeier's Avatar
Aren Siekmeier Aren Siekmeier is offline
on walkabout
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: 대한민국
Posts: 735
Aren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond repute
Re: Imaging tool for the new 4-slot cRIO

The old imaging tool will not recognize the new 4-slot cRio, and if it did you would not have an appropriate image, so you would be unable to write code for it. The new imaging tool, new image, and new software libraries that the Beta Test teams have been playing with will be made available at kickoff (in just a week!), so you'll just have to wait for now. It is against the Beta Test teams agreement they signed in October to distribute the software they have been testing (and it's not even the final version anyway).
Reply With Quote
  #3   Spotlight this post!  
Unread 31-12-2011, 19:35
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: 671
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

That's what I suspected. Thanks for the information.
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread 07-01-2012, 21:07
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: Imaging tool for the new 4-slot cRIO

So, how do we image the new cRio? I'm not finding the needed software in the new release.
__________________
Attending: MN Duluth Regional
Reply With Quote
  #5   Spotlight this post!  
Unread 07-01-2012, 23:28
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Imaging tool for the new 4-slot cRIO

Quote:
Originally Posted by theprgramerdude View Post
So, how do we image the new cRio? I'm not finding the needed software in the new release.
I believe it should be on the labview credit card flash drive. FRC tools are what you want (so option 2)
Reply With Quote
  #6   Spotlight this post!  
Unread 07-01-2012, 23:36
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: Imaging tool for the new 4-slot cRIO

I found it; it's installed only as part of the 2012 utilities update from NI's website.
__________________
Attending: MN Duluth Regional
Reply With Quote
  #7   Spotlight this post!  
Unread 08-01-2012, 03:02
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 WizenedEE View Post
I believe it should be on the labview credit card flash drive. FRC tools are what you want (so option 2)
Quote:
Originally Posted by theprgramerdude View Post
I found it; it's installed only as part of the 2012 utilities update from NI's website.
Both are needed.
Reply With Quote
  #8   Spotlight this post!  
Unread 08-01-2012, 06:32
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: 671
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

I am attempting to image the new 4-slot cRIO and it failed with the following message:
Code:
Unable to complete operation because of unexpected error:
Error -2147220304 occurred at nisyscfg.lvlib:Restart.vi:1
Possible reason(s):
NI System Configuration:  (Hex 0x800404B0) Timeout while waiting for reboot. System is offline.

Complete call chain:
     nisyscfg.lvlib:Restart.vi:1
     ConfigUtility.lvlib:2012_FormatSystem.vi
     ConfigUtility.lvlib:ReImageTarget.vi
     ConfigUtility.lvlib:Dialog.vi
I attempted several times with the same result. It looks like it had succeeded in assigning the team number to the cRIO but timeout on formatting it.
The configuration I picked was:
- Wind River Workbench (C++)
- Enable NetConsole
- 2CAN Ethernet Bridge (not V2 though)
- Format Controller with Image FRC_2012_v43.zip
- Team ID: 492
__________________
Reply With Quote
  #9   Spotlight this post!  
Unread 08-01-2012, 08:37
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Imaging tool for the new 4-slot cRIO

On some computers it is currently necessary to disable all unused network interfaces except for the one connected to the cRIO. Also, make sure that the subnet mask for the PC NIC is set as specified. I believe it is supposed to be 255.255.255.0, rather than the wide open one. Finally, it is sometimes useful to plug the cRIO and PC into a switch so that the PC NIC doesn't go down while the cRIO reboots.

This was still being investigated late into the beta, but was rather uncommon, so please respond with anything that improved your symptoms.

Greg McKaskle
Reply With Quote
  #10   Spotlight this post!  
Unread 08-01-2012, 11:47
adf0221 adf0221 is offline
Registered User
FRC #1517 (Lumberjacks)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Bow NH
Posts: 24
adf0221 is an unknown quantity at this point
Re: Imaging tool for the new 4-slot cRIO

I am getting the same error but trying to format it for Java..any help would be appreciated
Reply With Quote
  #11   Spotlight this post!  
Unread 08-01-2012, 12:23
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 adf0221 View Post
I am getting the same error but trying to format it for Java..any help would be appreciated
Please be sure you tried Greg's suggestions. Specifically, make sure you actually click "disable" on every network interface, regardless of connection type. This includes wifi and 1394 and anything else. I can't stress this enough. We burned a number of hours in beta because we thought the teams with this error had already done this, but it was glossed over. Please verify that you have done this so we can start thinking about what else might be wrong with your computer's configuration.

Joe
Reply With Quote
  #12   Spotlight this post!  
Unread 08-01-2012, 13:56
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: 671
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

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.
__________________
Reply With Quote
  #13   Spotlight this post!  
Unread 08-01-2012, 16:46
bob.wolff68's Avatar
bob.wolff68 bob.wolff68 is offline
Da' Mentor Man
FRC #1967
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2007
Location: United States
Posts: 157
bob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nice
Re: Imaging tool for the new 4-slot cRIO

Hey all - I've managed to find the NI update for the cRIO Imager, but I don't find the FRC_2012_v*.zip file anywhere. Can anyone direct me where to find that?

Thanks,
bob
Reply With Quote
  #14   Spotlight this post!  
Unread 08-01-2012, 17:14
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 bob.wolff68 View Post
Hey all - I've managed to find the NI update for the cRIO Imager, but I don't find the FRC_2012_v*.zip file anywhere. Can anyone direct me where to find that?

Thanks,
bob
It's in the language update of your choice.
Reply With Quote
  #15   Spotlight this post!  
Unread 08-01-2012, 17:33
bob.wolff68's Avatar
bob.wolff68 bob.wolff68 is offline
Da' Mentor Man
FRC #1967
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2007
Location: United States
Posts: 157
bob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nice
Re: Imaging tool for the new 4-slot cRIO

Aha!

So, for C++, Brian mentioned the NI updates in links here....

http://firstforge.wpi.edu/sf/frs/do/...2_update_for_c

but there is also a link at the bottom of that page which is the actual C++ workbench update that contains the cRIO image in it at:

http://firstforge.wpi.edu/sf/frs/do/...h_update_v2993
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 03:06.

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