|
Projects
Fall 2009 Older Courses Spring 2009
Fall 2008
Spring 2008
Fall 2007 HOWTOs |
CVRFlashThe hex file provided is in Intel Hex format. There are a couple ways to flash the EEPROM: avrdude (Windows, 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 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.
|