You are here: Hello world / Howto / Atmel AVR Butterfly Mini-FAQ for Linux   Mini-FAQ for the AVR Butterfly evaluation kit by Atmel for linux users.

Atmel AVR Butterfly Mini-FAQ for Linux

This is a collection of questions I asked myself and answers I gathered while experimenting with the AVR Butterfly evaluation kit by Atmel.

[DE] German visitors might prefer this translation.

My first contact with the AVR Butterfly was caused by the article Vielfältiger Schmetterling by Nils Faerber in the german Linux Magazin volume 2004/07.

Although I tried to make this page free of errors, nobody is perfect. If you notice a mistake, don't hesitate to contact me! Use the information on this page at your own risk.


I cannot program the AVR Butterfly via the parallel cable from Linux Magazin and uisp!

Unfortunately there is an error in figure 1. You can find the right pin assignment on page 3-12 of the AVR Butterfly User's Guide. The pins are as follows:

JTAG
1PB3/MISO
2VCC_EXT
3PB1/SCK
4PB2/MOSI
5RST
6GND

I've received the following figure from Walter Weber-Groß. Thank you Walter!

Connecting JTAG to parallel port

Is it possible to program the AVR Butterfly via a serial cable?

Yes! Regarding to the remarks by Martin Thomas on the above mentioned Linux Magazin article, it is indeed very advisable to prefer programming via serial cable and a bootloader.

The following steps are necessary to use the bootloader to program the AVR Butterfly via the serial port:


I cannot start the bootloader!

Most probably you have unknowledgeable removed the bootloader while programming your AVR Butterfly via the parallel cable and isp. The next paragraphs guide you through the steps which are necessary to install a bootloader again.


What is the pin assignment for the serial cable?

As described in the AVR Butterfly User's Guide, no special assignment is necessary (if you know what the pin assignment of a 9-pin serial connector is).

AVR Butterfly9-Pin serial connector
RxD13TxD
TxD22RxD
GND35GND

Where can I find more information on the AVR Butterfly?

Try the page of Martin Thomas. Although he mainly describes the windows port of the gnu toolchain, most of the information is useful for linux users, too :-)


Author: Tobias Jahn
Public key fingerprint: 0556 B7D8 93FB 0304 B868 9FBA 3A71 E4F9 AE03 4AAD
Last modification of this page: 2004-08-13 16:33 GMT
Last generation of this page: 2007-06-16 20:26 GMT
Valid HTML 4.0!