CVRFlash

The hex file provided is in Intel Hex format. There are a couple ways to flash the EEPROM: avrdude (Windows,
Linux and Mac) and AVRFlasher (Mac and Linux). If you wish to use Windows it would be simplest to install
WinAVR, a distribution that includes AVR-GCC, avrdude and several other programs for the AVR chips. If you
are on a Mac the simplest solution is to use AVRFlasher. Links for both options are below:

	Avrdude - http://savannah.nongnu.org/projects/avrdude/ 
	AVRFlasher - http://www.ipnas.ulg.ac.be/garnir/avr/ 
	WinAVR - http://winavr.sourceforge.net/

	Click here to download Cavrit-r37 (no-daemon)

Directions for flashing:

	1: Using avrdude-gui.exe: 
	2: Select Start and click Run... 
	3: Type in "avrdude-gui.exe" and press enter. 
	4: Under the menu "-p Device", select "ATMega169" 
	5: Under the menu "-c Programmer", select "butterfly" 
	6: Under the menu "-P Port", select the COM port you are using 
	7: In the section labeled "Flash": 
		7a: Check off "Write" and "Verify" 
		7b: Select "Intel Hex" under the "Format" menu 
		7c: Press the button labeled "..." and select the hex file 
	8: Cycle the Butterfly's power to reset to the Bootloader 
	9: Press "Execute" in avrdude-gui 
	10: Press enter on the Butterfly's joystick (Push it in) and release 

	Please note that the flashing can take up to 30 seconds; if there is no update after 30
seconds press the joystick again. If avrdude reports that the chip was not recognized go
back to the "Execute" step and try again.

Using AVRFlasher:

	Download and launch AVRFlasher 
	Go to the "Action" menu and select the option "Select Serial Port..." 
	Select the serial port you are going to use. Make sure the terminator
		is set to CR, the baud rate is 19200 and Socket nb. is 0.
		Press "OK" to save the settings 
	Press "Read From..." and select the hex file you wish to flash. 
	Make sure "Verify" is checked off 
	Press the "Flash" button and follow the displayed instructions.