« Previous - Version 3/26 (diff) - Next » - Current version
Anthony Rowe, 06/27/2007 12:31 am


= nano-RK Windows Toolchain Installation Guide =

This document breifly describes how to install avr-gcc for Windows XP.

1) Download and Install Cygwin with the following modules
- make
- cvs
- open-ssl

2) Download and Install WinAVR

3) Download and Install avrDUDE

4) Download and Install [attachment:"FTDI USB Drivers.zip"]

5) Open Cygwin and type "cd C:" to get to your C drive. Move to any directory of your choice and checkout the nanoRK code using CVS.

6) Go into your project and change the following line in the makefile from:

{{{
PROGRAMMING_PORT = /dev/ttyUSB1 # programmer connected to serial device
}}}

to:

{{{
PROGRAMMING_PORT = COM1 # programmer connected to serial device
}}}

Note: insert the second (higher) COM port loaded by the FTDI2232 driver. avrDUDE may not work with high valued COM ports, so you may need to lower the default com port.  Do this by going to
1) Control Panel->System->Hardware->Device Manager
2) Go down to Ports and select properties for the COM port you wish to change
3) Go to advanced and change the COM port. You can overwrite a "in-use" port as long as you know you aren't using it at the same time as the downloader.

port.png - finding the port in windows (113.4 kB) Anthony Rowe, 02/07/2008 12:06 pm

device-manager.png - setting device manager options in windows (104.5 kB) Anthony Rowe, 02/07/2008 12:06 pm