AVR Butterfly revival

Here is it, before going into the Arduino, I thought I could re-try my old AVR-Butterfly on mac.

It was not that easy, but after some tests i got the dev platform working:

1) My macbook Air don't have (of course) any serial port. I bought an USB to serial cable at Conrad.

How to get it to work:

this link will help you out http://www.planet-rcs.de/article/mac_serial_port/

then to check that the cable is working ok:

ls /dev/tty.* and check if you find something like "tty.usbserial" showing

If yes, choose "usbserial" in Settings/Modem preferences of Zterm, and open a connection terminal

- when you type on the keyboard, nothing should show up (or uncheck somewhere the "echo" option.

- while continuing to type something on the keyboard, find a piece of wire or metal to connect the pin number 2 and 3 together (Rx and Tx), then you should see what you type on the keyboard printed on the screen.

------

Then install Macports ( look on google for it)

with Macports install avr-gcc, this will install all the libraries you need to compile code for AVR microcontrollers and upload it in the bootloader.



then the "live test":  open your Zterm and

Commentaires