Go to Post Representing data in a good way is an art in its own right. - Andrew Schreiber [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 16-02-2013, 20:21
swapnil94 swapnil94 is offline
Registered User
FRC #2935
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Toronto, Ontario
Posts: 19
swapnil94 is an unknown quantity at this point
CRio Imaging tool not connecting

Hi,
Whenever I try to open the crio imaging tool, it would fail to scan the CRio. But whenever I restart the crio with my netconsole on, it will load fine, and show all the usual information. But as soon as I open the imaging tool I get following errors.
Quote:
task 0xcde788 (Command Server TCP Connection Thread) deleted: errno=0 (0) status=0 (0)
task 0x1108270 (Command Server TCP Connection Thread) deleted: errno=0 (0) Status=0 (0)
task 0xceea28 (Command Server TCP Connection Thread) deleted: errno=0 (0) status=0 (0)
task 0xcfecc8 (command Server TCP Connection Thread) deleted: errno=0 (0) status=0 (0)
I have tried usual things by disabling all the other network drives, disabling firewall, and no antivirus software installed.
Also, I have tried resetting the CRio and now It has the ip address of "169.254.84.198" so i have set my laptop to obtain ip address automatically instead of usual team ips.
Thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 17-02-2013, 00:14
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: CRio Imaging tool not connecting

It does seem odd that you were able to run normally with no troubles, but the imaging tool could not find it. I would have guessed firewall for sure. But you're certain no firewall and no antivirus? Hmm.

When you say you've 'reset' the cRio - what does this mean? I was going to suggest that you boot the cRio into safe mode and then image it from there. That should work well. Also, I'd suggest connecting an ethernet cable directly between your PC and port 1 of the crio (for 8-slot -- or the only ethernet port for the 4-slot). BTW, which do you have 4 or 8 slot?

bob
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
Reply With Quote
  #3   Spotlight this post!  
Unread 17-02-2013, 00:46
swapnil94 swapnil94 is offline
Registered User
FRC #2935
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Toronto, Ontario
Posts: 19
swapnil94 is an unknown quantity at this point
Re: CRio Imaging tool not connecting

Its a 4 slot new CRio, I have been connecting it directly till now.
and well by reset I mean ip reset. Before it was connecting with driver station and working fine with previously loaded program. But it wouldn't deploy new programs. Like it wouldn't give any error while deploying, but the program still wouldn't work. So when i tried re imaging it, it never showed up in the crio imaging tool.
Reply With Quote
  #4   Spotlight this post!  
Unread 17-02-2013, 00:57
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: CRio Imaging tool not connecting

How did you manage to do an 'ip reset' on the cRio?
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
Reply With Quote
  #5   Spotlight this post!  
Unread 17-02-2013, 01:11
swapnil94 swapnil94 is offline
Registered User
FRC #2935
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Toronto, Ontario
Posts: 19
swapnil94 is an unknown quantity at this point
Re: CRio Imaging tool not connecting

doesn't just pressing the reset button once on crio reset the ip? I might be mistaken :\
Reply With Quote
  #6   Spotlight this post!  
Unread 17-02-2013, 01:18
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: CRio Imaging tool not connecting

I think you might need to do a 'safe mode reset' on the device. On the 8-port cRio I'm familiar with doing this, but on the 4-port I don't have direct experience. I believe to do a safe-mode reset, you either hold down reset for 10 seconds or you power off, hold down the reset, and power on while holding reset for the first 10 seconds of reboot. This might get you to a place where the imaging tool would help. Please also read the following web page carefully and follow these instructions and troubleshooting tips. Let us know your results too!

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

bob
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
Reply With Quote
  #7   Spotlight this post!  
Unread 17-02-2013, 15:08
swapnil94 swapnil94 is offline
Registered User
FRC #2935
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Toronto, Ontario
Posts: 19
swapnil94 is an unknown quantity at this point
Re: CRio Imaging tool not connecting

Tried re resetting it to safe mode but still no luck.
this is what I get.....
first picture is when I just give power to the robot and second one is when I load up the imaging tool
Quote:
Reply With Quote
  #8   Spotlight this post!  
Unread 17-02-2013, 19:22
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: CRio Imaging tool not connecting

Wow - thanks for the screen shots. That's quite helpful. I'm afraid that I'm unable to figure out the problem. But I do still suspect there is a firewall of some kind "in the way" for this to occur. I would suggest two things:
1) Try using a different computer to use the imaging tool and see if you can discover the cRio there.
2) If #1 fails, I would suggest calling NI tech support. wpilib.screenstepslive.com has a troubleshooting section which lists that phone number. They should be able to get you running if no other mentors jump in on this thread.

Sorry I was unable to diagnose it any further. Good luck! And *PLEASE* let us know the solution as this builds the knowledge base of the mentors and the community in general when answers are eventually found.

bob
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
Reply With Quote
  #9   Spotlight this post!  
Unread 19-02-2013, 13:54
swapnil94 swapnil94 is offline
Registered User
FRC #2935
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Toronto, Ontario
Posts: 19
swapnil94 is an unknown quantity at this point
Re: CRio Imaging tool not connecting

I still have no idea what was wrong with it.. But switching computers solved the issue. We are now re-installing everything from scratch on first laptop.
Thanks for your help!
Reply With Quote
  #10   Spotlight this post!  
Unread 19-02-2013, 18:50
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: CRio Imaging tool not connecting

I'm still betting firewall - even if the Windows firewall was off, there may have been a factory installed OEM firewall of some sort which got in the way. Glad you're off to the races heading in the right direction!

bob
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
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 12:41.

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