Recent Changes - Search:
ECG Home






Fall 2017

Older Courses

Spring 2017

Fall 2016

Spring 2016

Fall 2015

Spring 2015

Fall 2014

Spring 2014

Fall 2013

Spring 2013

Fall 2012

Spring 2012

Fall 2011

Spring 2011

Fall 2010

Spring 2010

Fall 2009

Spring 2009

Fall 2008

Spring 2008

Fall 2007


edit SideBar


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 - 
	AVRFlasher - 
	WinAVR -

	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.
Edit - History - Print - Recent Changes - Search
Page last modified on April 02, 2007, at 03:50 PM