Go to Post I could say something technical but I think I will allow myself a moment to pause in the awesomeness... Sweet. - anna~marie [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 09-01-2017, 00:31
teletype-guy's Avatar
teletype-guy teletype-guy is offline
Old Fart Electrical Engineer
AKA: Gil Smith
FRC #0698 (Microbots)
Team Role: Mentor
 
Join Date: Dec 2016
Rookie Year: 2014
Location: Chandler, AZ
Posts: 16
teletype-guy is a jewel in the roughteletype-guy is a jewel in the roughteletype-guy is a jewel in the rough
2017 software updates -- sheesh.

Hey folks:

I set up my roboRIO and laptop a few months ago with FRC 2016 stuff -- I am now now on day two and many hours of downloading and installing 2017 software.

An FYI for you:

1) DriverStation and other NI files:
- download the "FRC 2017 Update Suite," an 800+ MB monstrosity.
- first (pardon the pun), uninstall "National Instruments Software."
- Extract-All from the zip -- needs password: &Full$team^Ahead!
- run the setup.exe for it -- needs password from KOP: Mxxxxxx and then activation.
- there is a note: "If installing on Windows 8 or 10, the Microsoft .NET Framework 3.5
may need to be installed." My laptop is win 7 but you may need to do this if you have a win 10 machine.

2) roboRIO firmware update:
- disconnect ethernet cable from radio, and connect USB to laptop
- use browser (with SilverLight added) and go to 172.22.11.2 to get to roboRIO-698-FRC Sys Config page.
(I had no idea that a browser could talk to a usb device).
- login, username = admin, password = (blank)
- Update-Firmware with file cleverly-hidden at:
"C:\Program Files (x86)\National Instruments\Shared\Firmware\cRIO\76F2\roboRIO_3.0. 0f0.cfg"
(my roboRIO was already at this level, but your team's roboRIO may need an update).

3) roboRIO team-specific "image:"
- still connected via usb from above.
- run "C:\Program Files (x86)\National Instruments\LabVIEW 2016\project\roboRIO Tool\roboRIO_ImagingTool.exe"
- select roboRIO-698-FRC, Team Number box should also say (team-number), uncheck "Disable-RT-Startup-App,"
check "Format Target," select "FRC_roboRIO_2017_v8.zip," and click Reformat. This takes forever.
- after successful image dialog, press Reset button on roboRIO.

4) roboRIO java run-time-environment:
- "Whenever a new image is installed on the roboRIO (either when initially setting it up or
later if the image is updated or reinstalled) the Java runtime must be replaced."
- run C:\Users\USER\wpilib\tools\java-installer.jar
I had already downloaded it from Oracle, so I saved those steps and just deployed it to the roboRIO.

5) I had Eclipse Mars (4.5.2) installed with the 2016 WPILib.
- The 2017 library is compatible with Luna, Mars, or Neon, so I did not update Eclipse Mars.
- I ran an update from Eclipse (Help/Check-for-Updates) to get the 2017 WPILib library (2017.1.1).
This took three restarts and a couple of hours (their servers are likely getting slammed).
- Note that CAN Talon SRX support has been removed from WPILib and needs
manual lib stuff from CTRE.

6) Got a build exception:
[scp] Connecting to 172.22.11.2:22
[scp] Receiving file: /usr/local/frc/lib/User_Libraries.properties
[scp] Caught exception: scp: /usr/local/frc/lib/User_Libraries.properties: No such file or directory

So commented out part of C:\Users\USER\wpilib\java\current\ant\build.xml:
<!-- ************************************ gcs mod to get rid of build error since no lib exists
<deploy-libs libs.name="User_Libraries" libs.basedir="${userLibs.dir}" libs.deployDir="${libDeploy.dir}">
<libs.local>
<fileset dir="${userLibs.dir}">
<include name="**/*.so"/>
</fileset>
</libs.local>
</deploy-libs>
************************************ -->
There is likely a more elegant way to fix this, but gotta move on.


Wow, that is some convoluted crapola.
Reply With Quote
  #2   Spotlight this post!  
Unread 09-01-2017, 00:50
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,600
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: 2017 software updates -- sheesh.

Quote:
Originally Posted by teletype-guy View Post
6) Got a build exception:
[scp] Connecting to 172.22.11.2:22
[scp] Receiving file: /usr/local/frc/lib/User_Libraries.properties
[scp] Caught exception: scp: /usr/local/frc/lib/User_Libraries.properties: No such file or directory

So commented out part of C:\Users\USER\wpilib\java\current\ant\build.xml:
<!-- ************************************ gcs mod to get rid of build error since no lib exists
<deploy-libs libs.name="User_Libraries" libs.basedir="${userLibs.dir}" libs.deployDir="${libDeploy.dir}">
<libs.local>
<fileset dir="${userLibs.dir}">
<include name="**/*.so"/>
</fileset>
</libs.local>
</deploy-libs>
************************************ -->
There is likely a more elegant way to fix this, but gotta move on.
This is not a build error, but merely an indication that no user libraries exist on the roboRIO.
Reply With Quote
  #3   Spotlight this post!  
Unread 09-01-2017, 01:01
teletype-guy's Avatar
teletype-guy teletype-guy is offline
Old Fart Electrical Engineer
AKA: Gil Smith
FRC #0698 (Microbots)
Team Role: Mentor
 
Join Date: Dec 2016
Rookie Year: 2014
Location: Chandler, AZ
Posts: 16
teletype-guy is a jewel in the roughteletype-guy is a jewel in the roughteletype-guy is a jewel in the rough
Re: 2017 software updates -- sheesh.

Yeah, but I dislike getting text in red during the build.

We will probably never have a user library. The build script should be crafted to quietly-ignore when there is no library. Is there a better way to do that?

thx, gil
Reply With Quote
  #4   Spotlight this post!  
Unread 09-01-2017, 07:35
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: 395
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: 2017 software updates -- sheesh.

Quote:
Originally Posted by teletype-guy View Post
Yeah, but I dislike getting text in red during the build.

We will probably never have a user library. The build script should be crafted to quietly-ignore when there is no library. Is there a better way to do that?

thx, gil
Note that if you intend to use a Talon SRX, NavX board, etc you will need to use the "user libraries" feature (and uncomment what you commented)
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote
  #5   Spotlight this post!  
Unread 09-01-2017, 10:50
teletype-guy's Avatar
teletype-guy teletype-guy is offline
Old Fart Electrical Engineer
AKA: Gil Smith
FRC #0698 (Microbots)
Team Role: Mentor
 
Join Date: Dec 2016
Rookie Year: 2014
Location: Chandler, AZ
Posts: 16
teletype-guy is a jewel in the roughteletype-guy is a jewel in the roughteletype-guy is a jewel in the rough
Re: 2017 software updates -- sheesh.

Ahh, didn't think of that. We may use talons.
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 11:47.

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