Go to Post The mission is to mobilize community, school and corporate resources to support the vision. The method is to provide an interesting, exciting program that gives young people opportunities to explore and expand their capabilities and interests. - Rick TYler [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 16-02-2014, 19:18
nheft nheft is offline
Registered User
FTC #0533 (Psichotics)
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 1999
Location: Lindenhurst HS
Posts: 35
nheft is a jewel in the roughnheft is a jewel in the roughnheft is a jewel in the roughnheft is a jewel in the rough
imaging tool does not see modules

I tried re-imaging a cRIO-II with the 2014 imaging tool. The whole process runs through (takes about 30 minutes), gives me a message that the process completed successfully. After rebooting the cRIO and re-scanning I do not see any of the modules (I have one analog module, one digital module, and one pneumatics module installed).

I saw a similar problem last year. Went to another PC with the same version of the imaging tool - re-imaged the cRIO and saw the modules and all was well.

In all cases I am able to ping the cRIO from a command prompt with no problem.

Any ideas?

Thanks in advance

Neil Heft

Team 533 Advisor
  #2   Spotlight this post!  
Unread 16-02-2014, 19:49
eddie12390's Avatar
eddie12390 eddie12390 is offline
Registered User
AKA: Eddie
FRC #3260 (SHARP)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Pittsburgh
Posts: 285
eddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of light
Re: imaging tool does not see modules

Quote:
Originally Posted by nheft View Post
I tried re-imaging a cRIO-II with the 2014 imaging tool. The whole process runs through (takes about 30 minutes), gives me a message that the process completed successfully. After rebooting the cRIO and re-scanning I do not see any of the modules (I have one analog module, one digital module, and one pneumatics module installed).

I saw a similar problem last year. Went to another PC with the same version of the imaging tool - re-imaged the cRIO and saw the modules and all was well.

In all cases I am able to ping the cRIO from a command prompt with no problem.

Any ideas?

Thanks in advance

Neil Heft

Team 533 Advisor
Can you ensure that the cRIO is not working? As far as I know, the only time that the modules will show up is when using a 255.255.255.0 subnet mask but I could be wrong. I've seen weird bugs like that in the past but I've never had it cause any issues.
  #3   Spotlight this post!  
Unread 16-02-2014, 20:26
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,748
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 does not see modules

The modules are not visible directly to the laptop. The cRIO has to put the info into a file and the laptop has to be able to ftp the file back. My guess is that laptop one had a firewall issue.

Greg McKaskle
  #4   Spotlight this post!  
Unread 16-02-2014, 20:29
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,072
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: imaging tool does not see modules

Something is wrong. Imaging should not take 30 minutes to complete.

Connect the cRIO straight to your computer with a crossover cable and boot the cRIO while holding down the reset button. That should boot the cRIO into safe mode and force your computer to see it.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #5   Spotlight this post!  
Unread 16-02-2014, 22:24
Team3266Spencer's Avatar
Team3266Spencer Team3266Spencer is offline
Team Captain and Lead Programmer
AKA: Spencer Lanman
FRC #3266 (Robots-R-US)
Team Role: Programmer
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Richmond, Indiana
Posts: 280
Team3266Spencer is an unknown quantity at this point
Re: imaging tool does not see modules

A crossover cable is not necessary. Or so I've been told by multiple mentors.
__________________
2012: Buckeye Regional, Queen City Regional, Human Player
2013: Queen City Regional, Buckeye Regional, Crossroads Regional
Shooter Operator
2014: Crossroads Regional, Queen City Regional
Catapult Operator
2015: Georgia Southern Classic Regional (Winner), Queen City Regional
Chainsaw Operator
Want to talk? TeamSpeak: team3266.noip.me
  #6   Spotlight this post!  
Unread 16-02-2014, 22:29
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,072
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: imaging tool does not see modules

Quote:
Originally Posted by Team3266Spencer View Post
A crossover cable is not necessary. Or so I've been told by multiple mentors.
Some computers can switch automatically, but the cRIO can't, and I like to be sure that it can connect.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #7   Spotlight this post!  
Unread 17-02-2014, 18:03
nheft nheft is offline
Registered User
FTC #0533 (Psichotics)
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 1999
Location: Lindenhurst HS
Posts: 35
nheft is a jewel in the roughnheft is a jewel in the roughnheft is a jewel in the roughnheft is a jewel in the rough
Re: imaging tool does not see modules

- I'm able to ping the cRIO at 10.5.33.2 from a command prompt so I think the cabling is OK. (PC address is 10.5.33.5)

- The imaging tool formats the cRIO, reboots the cRIO, transfers a bunch of files to the cRIO over a period of about 30 minutes, and finally gives me a message that the re-imaging went successfully.

- When I deploy software, I get a message from the imaging tool that imaging process has completed successfully.

- When I re-scan, one PC sees the cRIO but not the modules. Another PC does not see the cRIO at all via the re-imaging tool but I can ping it from a command prompt.

- When I try to run the driver station I get "no robot communication"

- When I swap in another cRIO, I see the modules and the driver station sees the cRIO properly.
  #8   Spotlight this post!  
Unread 17-02-2014, 18:12
nheft nheft is offline
Registered User
FTC #0533 (Psichotics)
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 1999
Location: Lindenhurst HS
Posts: 35
nheft is a jewel in the roughnheft is a jewel in the roughnheft is a jewel in the roughnheft is a jewel in the rough
Re: imaging tool does not see modules

Can the cRIO be re-imaged while in safe mode?
  #9   Spotlight this post!  
Unread 17-02-2014, 21:01
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,748
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 does not see modules

http://wpilib.screenstepslive.com/s/...ging-your-crio

Yes. Safe mode is a way to image a "messed up" cRIO.

When the DS doesn't get communications, please switch to the Diagnostics tab and see if the messages and LEDs give any clues. The LEDs show the results of pings. The error messages may indicate something that caused it.

If the cRIO responds to ping, but communications doesn't work, it means the UDP communications between DS and robot are not working. Check firewalls, and if you have a null-modem serial cable, you can see if the cRIO or the FRC_Communications.out file have crashed.

Another tool I sometimes use is to use wireshark to verify that the DS is sending packets to the robot and see whether the robot is sending status back. I know this is a pretty advanced tool, but if you are familiar with it, it gives lots of valuable data.

Greg McKaskle
  #10   Spotlight this post!  
Unread 18-02-2014, 00:04
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: 89
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: imaging tool does not see modules

Quote:
Originally Posted by Team3266Spencer View Post
A crossover cable is not necessary. Or so I've been told by multiple mentors.
It's easy to be fooled. The Imaging may partially work, but fail to complete, without a crossover cable - I saw it happen this season. Best connect a crossover cable directly from the cRIO (port 1 on the 8 slot one), to your computer.

I've also seen Imaging fail with the computer not on the same subnet, again running partway. The imaging tool will show the IP address of your cRIO but not complete. In this case, change the computer's IP address to the same first three
dotted numbers (eg, if the imaging tool gives the IP address as www.xxx.yyy.zzz, set your computer's IP address to www.xxx.yyy.zzz+1, for example. Hopefully the Imaging will complete, then set your computer's IP address to 10.te.am.5, etc.
__________________

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

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 02:02.

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