Datasheet
programming. When it goes out you're done. Its very slow but if you're in a pinch, it may
come in handy!
Using the Command Line AVRdude
Now if you open up a terminal and try running avrdude -c ftdifriend If you are using the
avrdude installation thats inside the Arduino IDE, you can open up a cmd terminal and cd
to the directory where you have the IDE installed and then go to hardware\tools\avr. Then
you can run bin\avrdude.exe -C etc\avrdude.conf -c ftdifriend so for example, my
installation is in C:\arduino-0018\ I cd to C:\arduino-0018\hardware\tools\avr.
You should get a note that No AVR part has been specified (not that it Can't find
programmer id "ftdifriend")
Great, now its time to program!
Connect the Black (Ground) wire to the ground of your chip
Connect the Red (VCC) wire to the power/VCC/5V pin of your chip
Connect the White (DTR) wire to the Reset pin
Connect the Orange (TX) wire to SCK pin
Connect the Green (RTS) wire to MOSI pin
Connect the Blue (CTS) wire to the MISO pin We suggest verifying the wiring! We'll
verify the connection by running avrdude -c ftdifriend -P \\.\COMxx -p atmega328p
Replace the \\.\COMxx with the COM port you found in the earlier part of this tutorial
via the Device Manager. If you're using linux or mac, the COM port should be
/dev/cu.usbserialXXX or /dev/ttyUSBx to match the name. For the device, we're
testing with an Atmega328p chip which is found in the latest Arduinos. If you're using
some other chip, substitute the name right after the -p
© Adafruit Industries https://learn.adafruit.com/ftdi-friend Page 24 of 27










