Go to Post Sometimes people are just offended too easily. Sometimes offensively so. - GeeTwo [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-02-2017, 15:46
michaelwm's Avatar
michaelwm michaelwm is offline
Integrated Systems Lead
AKA: Michael Midura
FRC #4976 (Rebel Robotics)
Team Role: Programmer
 
Join Date: Dec 2013
Rookie Year: 2010
Location: Georgetown
Posts: 24
michaelwm is a jewel in the roughmichaelwm is a jewel in the roughmichaelwm is a jewel in the roughmichaelwm is a jewel in the rough
roboRIO 2017 update over ethernet / SSH

One of our roboRIO's fried one day last year during an upload over USB-B. The cable started burning and the USB controller in the rio is now bricked. The ethernet port still worked though, so we were able to set the rio aside as a backup & testbench rio.

But now 2017 is here and we can't write 2017 WPILib software without updating the rio to the new 2017 image. We can't connect over USB-B, and we tried using ethernet and the NI roboRIO tool but that didn't work either.

Is there something else we can try? A different ethernet solution? SSH? Or is the rio garbage now?
__________________
Integrated Systems
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2017, 16:33
Bkeeneykid's Avatar
Bkeeneykid Bkeeneykid is offline
#wheatcoastneatcoast
AKA: Devin Keeney
FRC #1982 (Cougar Robotics); Season Long Fantasy FIRST (F3)
Team Role: Leadership
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Lenexa, Kansas
Posts: 369
Bkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud of
Re: roboRIO 2017 update over ethernet / SSH

Quote:
Originally Posted by michaelwm View Post
One of our roboRIO's fried one day last year during an upload over USB-B. The cable started burning and the USB controller in the rio is now bricked. The ethernet port still worked though, so we were able to set the rio aside as a backup & testbench rio.

But now 2017 is here and we can't write 2017 WPILib software without updating the rio to the new 2017 image. We can't connect over USB-B, and we tried using ethernet and the NI roboRIO tool but that didn't work either.

Is there something else we can try? A different ethernet solution? SSH? Or is the rio garbage now?
What's your problem with the ethernet cord? That should work (it's what we used this year).

Also, if you have a fried RIO, contact NI. They are always extremely helpful to FIRST teams and will probably offer you a replacement at a reasonable cost.
__________________

F4 Network Website Designer

2010-2012: A Whole Buncha FLL Teams; Team Spirit, Gracious Professionalism Award winner
2015-Current: FRC 1982, Captain, Electrical Lead
Beginning FIRST Volunteer

Moderator on the FIRSTwiki
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2017, 17:03
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 410
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: roboRIO 2017 update over ethernet / SSH

Quote:
Originally Posted by michaelwm View Post
One of our roboRIO's fried one day last year during an upload over USB-B. The cable started burning and the USB controller in the rio is now bricked. The ethernet port still worked though, so we were able to set the rio aside as a backup & testbench rio.

But now 2017 is here and we can't write 2017 WPILib software without updating the rio to the new 2017 image. We can't connect over USB-B, and we tried using ethernet and the NI roboRIO tool but that didn't work either.

Is there something else we can try? A different ethernet solution? SSH? Or is the rio garbage now?
1. Make sure you set your computer to a static IP. The roboRIO doesn't run DHCP! Make sure you can ping the roboRIO
2. If you can ping the rio but the imager tool still doesn't work, try setting the roboRIO's ethernet interface to a static IP of 172.22.11.2 through the web dashboard so it might be able to pretend it's over USB

Worst that can happen is you brick your whole rio, so make sure you're ok with that
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote
  #4   Spotlight this post!  
Unread 05-02-2017, 08:11
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 992
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: roboRIO 2017 update over ethernet / SSH

Quote:
Originally Posted by euhlmann View Post
1. Make sure you set your computer to a static IP. The roboRIO doesn't run DHCP!
Only if your roboRIO is set static...otherwise you are setting your computer to a 10. while the roboRIO has a self assigned 169 address.

I would try placing a network switch between the roboRIO and the computer, especially if the roboRIO is set to DHCP. When the roboRIO reboots as part of the imaging process many computers will take too long to bring the network back up because they are trying to get an address.

It is also possible that you may see a failure near the very end of imaging even if the image has loaded. If the tool rescans and says that the image is 2017_v8 but the team number is blank, try just setting the team number and clicking Apply.
Reply With Quote
  #5   Spotlight this post!  
Unread 06-02-2017, 03:42
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 410
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: roboRIO 2017 update over ethernet / SSH

Quote:
Originally Posted by RufflesRidge View Post
Only if your roboRIO is set static...otherwise you are setting your computer to a 10. while the roboRIO has a self assigned 169 address.
I meant that the rio doesn't run a DHCP server - so your laptop will not be assigned an IP address automatically
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote
  #6   Spotlight this post!  
Unread 06-02-2017, 15:55
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,604
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: roboRIO 2017 update over ethernet / SSH

Quote:
Originally Posted by euhlmann View Post
I meant that the rio doesn't run a DHCP server - so your laptop will not be assigned an IP address automatically
No, your laptop will self-assign a link local address, which is compatible with the link local address the roborio will self-assign. If you assign the computer a static ip address and the roborio uses a link local, it will never talk. If you assign both the roborio and computer compatible static ip addresses, it will work until the roborio reboots after loading the image, and assigns itself a link local address. This will probably show up as an imaging failure.
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 18:29.

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