Note: Only Windows is supported.
- Create a free GitHub account on github.com.
- Follow GitHub's great instructions for installing Git on your computer.
- Once logged into GitHub, go to ut-ras's Rasware2012.
- Fork the project's code through the button on the top right. This will copy the project to your own account.
- Open Git. Depending on what version is installed, the commands will be slightly different.
- Do Git Clone to create a copy of the project on your computer. In GitHub for Windows, simply click on
clone
next to the Rasware2012 project. - Right click on Rasware2012 then click on
open in explorer
to open the folder containing the project.
- Go to http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html.
- Under "for Windows on Intel x86" click on putty.exe to save putty to your computer.
- Go to the LM3S811 Evaluation Kit CD at http://www.ti.com/tool/ekk-lm3s811-cd.
- Click Get Software. To download it you'll need to create an account.
- Unzip the CD folder and open index.html.
- Click on Tools in the left-hand menu.
- Click the Keil logo to "download" and open the installer.
- Follow the installation dialogue.
- Go back to the Tools page in the CD folder.
- Click on the link uder ICDI Drivers.
- Unzip the drivers and place them in the EKK-LM3S811-CD-705/Tools folder.
- Plug in a RAS board to the computer with a usb computer.
- Windows should fail at automattically installing drivers.
- Go to the Device Manager on your computer.
- For each listing, right-click and select the Update Driver option.
- Then choose the "Browse my Computer" option.
- Browse to where you previously unzipped the drivers and select the Tools folder.
- Once all of the drivers are installed, note the COM port number that appears in the Device Manager. It should read something like
Stellaris Virtual COM Port (COMX)
where X is the port.
-
Open the Rasware2012 project on your computer.
-
Navigate to Rasware2012/Robotathon2012_Projects/RASDemo.uvproj and open the file with Keil uVision.
-
Click the compile button and make sure that it compiles without errors.
-
With the RAS board connected, click the load button and it should load to the board without errors.
-
Open Putty to connect to the board
- Click the
serial
radio button. - Under
serial line
type COMX where X was the COM port that was shown in the Device Manager. - Under
speed
type 115200 - Under
Saved Settings
type Robotathon2012 and then clickSave
to keep from having to configure it each time. - Now double click
Robotathon2012
to connect to the board.
- Click the
-
Hit the reset button on the board. The following should appear on the Putty console.
-
As the menu indicates, press the numbers 0-5 to use the demos.
- Create a copy of the RASDemo project in Rasware2012/Robotathon2012_Projects.
- Rename the Project to your team's name.
- Open up Git on your computer.
- First,
add
the new project folder to Git so Git can keep track of it. - Then, create a
commit
in Git to update Git with what has changed. - Finally,
push
in Git to update GitHub online. - To prevent every team member from needing to create their own fork, you can add their github accounts to your project's collaborators
- Navigate to your project on github.
- Click the
Admin
button on the top right. - Select the
Collaborators
option on the right. - Type your member's usernames to add them as collaborators.
- They should now be able to clone and edit the same project through git.
Keil uVision (we pronounce it as Kyle Micro-Vision) is an Integrated Development Environment or IDE for short. Other popular IDEs are Netbeans, Eclipse, IDLE, and VisualStudio
- What is an IDE? http://en.wikipedia.org/wiki/Integrated_development_environment
Git is an implementation of something called version control which we use to maintain code in RAS. You might have heard of SVN, or subversion, which is another popular version control. Although it isn't necessary to do well in Robotaton, learning more about git, GitHub, and version control would be a smart idea.
- What is version control? http://en.wikipedia.org/wiki/Revision_control
- Why use version control? http://stackoverflow.com/questions/1408450/why-should-i-use-version-control
When running PuTTY, we used 115200 as the speed of the connection. This is the baud rate of the USB connection on the board.
- What is a baud rate and how is it calculated? http://en.wikipedia.org/wiki/Baud