FRC 2012 Software Installation Guide

This document summarizes the steps of installing software to develop code using Wind River C++. The detail information can be found in various documents posted on FIRST and National Instrument. But the information is scattered in many different documents and difficult to locate. Therefore, this document summarizes the necessary information in a single place.

To install the software environment, you need to install the following components:

Installing the FRC 2012 Tools and Utilities

The Tools and Utilities can be found in the LabView envelop from the Kit of Parts. It is in the form of a USB flash drive embedded in a credit card size card. Twist the USB flash drive outward to expose the USB connector and insert into your laptop. The flash drive has two partitions. One of them is empty, the other one is full of files. The flash drive contains three software:

Since we are programming in C++, we do not need to install LabView. Locate the file FRC_Tools_Setup.exe and double click it to install the software. If prompted for the Serial Number, type in S14X86759.

Installing the FRC 2012 Driver Station Software

The Driver Station Software is located on the same USB flash drive as the FRC 2010 Tools and Utilities. Locate the file Driver_Station_Setup.exe and double click it to install the software. If prompted for the Serial Number, use the same one as the FRC 2010 Tools and Utilities.

Installing Wind River Workbench

If you have installed Wind River last season, you must uninstall it and all associated software before installing the new version for this season. To uninstall the previous version, run the maintenance tool at C:\WindRiver\maintenance\mtool\mtool.exe. You can either run this in a CMD prompt or navigate to the folder in file explorer and double click mtool.exe.

Wind River comes in 2 DVDs. If your computer is running x86 (32-bit) Windows XP or Vista, you just need to install DVD 1 (V 3.0.1). If your computer is running Windows 7 (32-bit or 64-bit), you need to install both DVD 1 (V 3.0.1) and 2 (V 3.3.1). It is IMPORTANT that at the end of installing DVD 1, you MUST uncheck the check-box that automatically launch Workbench V 3.0.1. In other words, you must NOT run Wind River until you finish installing DVD 2. It is also IMPORTANT that you do not change the installation directory. Leave it at C:\WindRiver. This is because the update tool is expecting it there.

During the installation of DVD 1, it will prompt you for "Activation Type". Choose "Permanent activation" and click the "Browse..." button. Find the file "FirstRobotics_2012_install.txt" on the DVD and click "Open". This file contains the Wind River activation key. Once the path to the FirstRobotics_2012_install.txt is displayed under "Permanent activation", click "Next" to continue the installation. Follow the rest of the installation instructions until the process is complete.

Downloading and Installing Updates

Tools and Utilities update can be found here

Driver Station update can be found here

Wind River Workbench update can be found here

It is also important to check the FIRST Team updates site periodically for any news and updates. There could be announcement for rules changes, clarifications as well as updates on software and various issues.

Configuration (optional, but strongly encouraged)

Most configuration is accessable under Window > Preferences. All of the following configurations will start witht he menu that pops up in Window > Preferences. These configurations are not nessessary for downloading code to the robot, but they're :).

Conform to TRC Coding style Following the instructions at the bottom of this page will protect you from angry emails and ostrecisation. Basically, we use spaces instead of tabs because some of the software we use isn't able to handle a mix very easily.

See line numbers Lots of people like to see the line numbers on the left side of the code (although row and collumn is available on the bottom of the editor window). To enable line numbers, click General > Editors > "Text editors" > "Show line numbers" in the Windows > Preferences dialog.

Show Whitespace Charactors If you can't see it, how do you know it's there? Click General > Editors > "Text Editors" in the Windows > Preferences dialog and select show whitespace charactors.

Frc2012SoftwareInstallGuide (last edited 2012-02-11 19:23:18 by AndrewNelson)