Windows-install

Version 5 (Anthony Rowe, 09/13/2007 08:12 pm)

1 4 Anthony Rowe
 = Nano-RK Windows Toolchain Installation Guide =
2 1 Anthony Rowe
3 1 Anthony Rowe
This document breifly describes how to install avr-gcc for Windows XP.
4 1 Anthony Rowe
5 1 Anthony Rowe
1) Download and Install Cygwin with the following modules
6 1 Anthony Rowe
	- make
7 5 Anthony Rowe
	- svn (subversion)
8 1 Anthony Rowe
	- open-ssl
9 1 Anthony Rowe
10 1 Anthony Rowe
2) Download and Install WinAVR
11 1 Anthony Rowe
12 1 Anthony Rowe
3) Download and Install avrDUDE
13 1 Anthony Rowe
14 3 Anthony Rowe
4) Download and Install [attachment:"FTDI USB Drivers.zip"]
15 1 Anthony Rowe
16 3 Anthony Rowe
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.
17 3 Anthony Rowe
18 3 Anthony Rowe
6) Go into your project and change the following line in the makefile from:
19 1 Anthony Rowe
	
20 1 Anthony Rowe
{{{
21 2 Anonymous
PROGRAMMING_PORT = /dev/ttyUSB1 # programmer connected to serial device
22 1 Anthony Rowe
}}}
23 1 Anthony Rowe
24 1 Anthony Rowe
   to:
25 1 Anthony Rowe
	
26 1 Anthony Rowe
{{{
27 2 Anonymous
PROGRAMMING_PORT = COM1 # programmer connected to serial device
28 1 Anthony Rowe
}}}
29 1 Anthony Rowe
30 1 Anthony Rowe
31 1 Anthony Rowe
   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
32 1 Anthony Rowe
	1) Control Panel->System->Hardware->Device Manager
33 1 Anthony Rowe
	2) Go down to Ports and select properties for the COM port you wish to change
34 1 Anthony Rowe
	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.