Inhaltsverzeichnis
Introduction
Avrdude is a Command Line Tool for programming (Atmel) mikrocontrollers. avrdude ist available for Windows as well as for Linux. Within the Linux community AVRDude is the preferred tool for programming Atmel microcontrollers, because programs like ponyprog ant others are only available in an Microfot Windows environment. They also don´t work properly in virtual machines or VirtualBox, so i would´t touch that.
The firmware for the Flight-Ctrl should get flashed with a recent version of AVRDude. Mikrokopter support was added in August 2011.
Usage
Native serial adapter
avrdude -p m1284p -P /dev/ttyS0 -c butterfly_mk -b 57600 -U flash:w:Flight-Ctrl_MEGA1284p_V0_xy.hex |
USB2Serial Adapter
avrdude -p m1284p -P /dev/ttyUSB0 -c butterfly_mk -b 57600 -U flash:w:Flight-Ctrl_MEGA1284p_V0_xy.hex |
Bluetooth
rfcomm bind 0 <MAC-ADRESSE> |
avrdude -p m1284p -P /dev/rfcomm0 -c butterfly_mk -b 57600 -U flash:w:Flight-Ctrl_MEGA1284p_V0_xy.hex |
If you have an old version of flight controler, you'll have to change m1284p by m644. You can check which version you have by looking on the main ship of the FC board.