Go to Post Wait, that's exactly how it's supposed to work, isn't it. Well played GDC, well played. - alopex_rex [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 22-12-2013, 11:04
nydnh01 nydnh01 is offline
Registered User
AKA: Naresh Hing
FRC #1601 (Quantum Samurai)
Team Role: Alumni
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Richmond Hill, NY
Posts: 43
nydnh01 is an unknown quantity at this point
CRIO-FRC II not formatting

I have tried formatting a new CRIO-FRC II from NI, when I connect the crio to the FRC CRIO imaging tool from 2013 and apply the applicable settings, I get this error "Unable to assign an IP address for the CompactRIO device. Ensure the IP Reset switch on the CompactRIO device is turned off." When I got this error I went into NI MAX where I ensured that the IP Reset switch was disabled on the CRIO. I still get this error, what should I perform to fix this error?
  #2   Spotlight this post!  
Unread 22-12-2013, 11:20
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,906
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: CRIO-FRC II not formatting

That could also be caused by confusing network setup.
  • Disable all NIC's on your laptop, except for the Ethernet port
  • Configure the port with your standard IP of 10.16.1.5
  • Hardwire via Ethernet between the laptop and the DLink, then the cRIO. (the DLink helps preserve the connection while the cRIO is changing IP addresses)
  • Turn off all firewalls on the laptop
  • Run as administrator
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #3   Spotlight this post!  
Unread 22-12-2013, 11:22
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Re: CRIO-FRC II not formatting

For the FRC cRIO's the measurement and automation explorer tools don't really work. The only way to change the switches on the new cRIO II is by using the imaging tool, but that only works if the imaging tool recognizes an FRC image on the device. We've had the same problem and we solved it by pushing and holding the reset button on the cRIO for about 10 seconds to make it start in safe mode. Then, when you go to the imaging tool, it lets you reformat the cRIO and erase everything and reset everything. After you cycle the power it should let you image the cRIO as normal.

EDIT- also try a different computer if another is available. If the imaging tool doesn't reconnect to the cRIO quick enough, you get weird errors. For whatever reason the classmate laptop works the best for us.

Last edited by Jared : 22-12-2013 at 11:24.
  #4   Spotlight this post!  
Unread 22-12-2013, 11:25
nydnh01 nydnh01 is offline
Registered User
AKA: Naresh Hing
FRC #1601 (Quantum Samurai)
Team Role: Alumni
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Richmond Hill, NY
Posts: 43
nydnh01 is an unknown quantity at this point
Re: CRIO-FRC II not formatting

Thanks Mark,
It turns out that the crio had add ons which were preventing me from using the CRIO Imaging tool. I had to reinstall the base image in NI MAX which then allowed me to proceed into formatting the CRIO with the FRC v43 image in the imaging tool.

Thanks for the help!!
  #5   Spotlight this post!  
Unread 22-12-2013, 20:59
garyk garyk is offline
Programming Mentor: 668, 972, 2643
FRC #0668 (Apes of Wrath)
Team Role: Mentor
 
Join Date: Dec 2006
Rookie Year: 2005
Location: Santa Clara (Silicon Valley) Calif.
Posts: 94
garyk is a jewel in the roughgaryk is a jewel in the roughgaryk is a jewel in the roughgaryk is a jewel in the rough
Re: CRIO-FRC II not formatting

If you're connecting your computer directly to the cRIO, you must use a crossover LAN cable, per the instructions in the "Getting started with the <year> control system." What's confusing is that connectivity can be established using a "regular" (not crossover) cable, but the imaging won't complete. I saw this about a week ago (Dec. 2013) preparing for the 2014 season, with 668's 8-slot cRIO.
__________________

Silicon Valley Regional 2005, 2006 972
Silicon Valley Regional 2007 668 Xerox Creativity Award
Championship Event 2007 668
Portland Regional 2008 668
Silicon Valley Regional 2008 668, 972
Beta Test Team 2008 668 (with 100 & 254)
Silicon Valley Regional 2009 668 Regional Chairman's Award; 2643
Sacramento Regional 2009 668 Winning Alliance (thanks, 1717 & 2473!), 2010 Winning Alliance 3256
CalGames 2006, 2007, 2008, 2009, 2010, 2011 Field Tech
NorCal FTC Regional 2008, 2009 Inspector
Championship Event 2009
San Diego, Silicon Valley Regionals; Champ. Event 2010 668, 2643, 3256
Silicon Valley, Madera Regional 2012 2643
WRRF Programming Instructor 2006-2016
Regional Woodie Flowers Award 2014 2643 Utah Regional

  #6   Spotlight this post!  
Unread 23-12-2013, 10:21
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Re: CRIO-FRC II not formatting

Quote:
Originally Posted by garyk View Post
If you're connecting your computer directly to the cRIO, you must use a crossover LAN cable, per the instructions in the "Getting started with the <year> control system." What's confusing is that connectivity can be established using a "regular" (not crossover) cable, but the imaging won't complete. I saw this about a week ago (Dec. 2013) preparing for the 2014 season, with 668's 8-slot cRIO.
We saw the same thing last year, but only on one computer. After imaging, both the crossover and the "regular" cables both work well. From my experience, the reimaging issues come up when the cRIO doesn't reconnect with the imaging tool fast enough. Any modern computer will have an autodetect feature (auto MDIX) that detects if it needs to switch the tx/rx pins, so you only really need a crossover cable to connect the camera and cRIO, which both don't have the auto MDIX.

My thought is that it takes a few seconds for the ethernet controller to decide that it needs to do the switch, so the imaging tool times out before the cRIO can be imaged, but I'm not really sure. We had some pretty extreme imaging issues in 2012, and solved them by using a random desktop computer we had laying around, so it seems like the computer being used might have an effect on the imaging process.
  #7   Spotlight this post!  
Unread 02-01-2014, 12:47
mprikril mprikril is offline
Registered User
FRC #0056 (R.O.B.B.E.)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2003
Location: NJ
Posts: 27
mprikril is a jewel in the roughmprikril is a jewel in the roughmprikril is a jewel in the rough
Re: CRIO-FRC II not formatting

Quote:
Originally Posted by Mark McLeod View Post
That could also be caused by confusing network setup.
  • Disable all NIC's on your laptop, except for the Ethernet port
  • Configure the port with your standard IP of 10.16.1.5
  • Hardwire via Ethernet between the laptop and the DLink, then the cRIO. (the DLink helps preserve the connection while the cRIO is changing IP addresses)
  • Turn off all firewalls on the laptop
  • Run as administrator
If the computer has an IP of 10.16.1.5, what does the IP address of the D-Link have to be?
  #8   Spotlight this post!  
Unread 02-01-2014, 14:43
simpsonboy77 simpsonboy77 is offline
Registered User
AKA: Garrett Dicken
FRC #0041 (RoboWarriors)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: New Jersey
Posts: 91
simpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond repute
Re: CRIO-FRC II not formatting

Quote:
Originally Posted by mprikril View Post
If the computer has an IP of 10.16.1.5, what does the IP address of the D-Link have to be?
10.16.1.1, however just about anything in the form of 10.16.1.X will technically work where X = 0-254 excluding 2, 5, and 6.


http://www.usfirst.org/sites/default...trolSystem.pdf
__________________
2017 Shenzhen, China Regional CSA
2013 - Present MAR Control System Adviser and FTAA
2009 - Present Programming an Electrical Mentor Team 41
2007 - 2008 Team 41 Lead Programmer, Electrical
2005 - 2008 Team 41 Member
2008 NYC Regional Winner
  #9   Spotlight this post!  
Unread 02-01-2014, 18:19
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: CRIO-FRC II not formatting

Quote:
Originally Posted by mprikril View Post
If the computer has an IP of 10.16.1.5, what does the IP address of the D-Link have to be?
It doesn't need to be anything special if you're just using it to connect your computer to the cRIO.

Its address does have to be compatible with the computer's network settings if you intend to log on to it for administration tasks. The 2013 FRC Bridge Configuration Utility will take care of setting it correctly according to your team number.
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


All times are GMT -5. The time now is 03:35.

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