User Tools

Site Tools


tutorials:learn:breakoutplus:ftdifriend.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
tutorials:learn:breakoutplus:ftdifriend.html [2010/10/21 19:19]
daigo created
tutorials:learn:breakoutplus:ftdifriend.html [2010/11/22 05:43]
ladyada
Line 1: Line 1:
 ==== Introduction ​ ==== ==== Introduction ​ ====
  
-  *[[#driver|Installing windows drivers (mac/linux don't need to install drivers!)]] +  *[[#installing_ftdi_drivers|Installing windows drivers (mac/linux don't need to install drivers!)]] 
-  *[[#portname|Identifying the COM/serial port (mac/​windows/​linux)]] +  *[[#com_serial_port_name|Identifying the COM/serial port (mac/​windows/​linux)]] 
-  *[[#difference|Whats the difference between an FTDI cable/​adapter and an AVR programmer? ]] +  *[[#whats_the_difference_between_an_ftdi_cableadapter_avr_programmer|Whats the difference between an FTDI cable/​adapter and an AVR programmer? ]] 
-  *[[#bitbang|How to use the FTDI friend as a (slow) AVR programmer ]] +  *[[#programming_blank_avrs|How to use the FTDI friend as a (slow) AVR programmer ]] 
-  *[[#burnboot|How to burn Arduino bootloaders using the previous tutorial]] ​+  *[[#if_you_just_want_to_program_the_arduino_bootloader_on|How to burn Arduino bootloaders using the previous tutorial]] ​ 
 ==== Files! ​ ==== ==== Files! ​ ====
  
Line 15: Line 16:
  
  
-Step #1 is to plug in your FTDI adatper ​and install the driver (in case it isnt on there already). If you have an FTDI cable proper, there is already a USB A connector on the end. If you have an FTDI adapter, you'll need a standard mini-B cable, pretty much everything uses these so steal your camera'​s or cell phone'​s data cable+Step #1 is to plug in your FTDI adapter ​and install the driver (in case it isnt on there already). If you have an FTDI cable proper, there is already a USB A connector on the end. If you have an FTDI adapter, you'll need a standard mini-B cable, pretty much everything uses these so steal your camera'​s or cell phone'​s data cable
  
 [[http://​www.ladyada.net/​images/​monochron/​minibftdi.jpg|{{ ​ http://​www.ladyada.net/​images/​monochron/​minibftdi_t.jpg?​nolink&​500x385 ​ |}}]] [[http://​www.ladyada.net/​images/​monochron/​minibftdi.jpg|{{ ​ http://​www.ladyada.net/​images/​monochron/​minibftdi_t.jpg?​nolink&​500x385 ​ |}}]]
  
-If you are using windows, [[http://​www.ftdichip.com/​Drivers/​VCP.htm|you may need to need to download the FTDI driver]] if you haven'​t already installed it for another project.** If you are using Mac or Linux, the driver is already built in to the operating system (handy!)**+If you are using **Windows or Mac OS**, [[http://​www.ftdichip.com/​Drivers/​VCP.htm|you may need to need to download the FTDI driver]] if you haven'​t already installed it for another project. **If you are using Linux, the driver is already built in to the operating system (handy!)**
  
 Next up, plug it into your computer! If you are using Windows you may hear a sound from the computer and a little popup bubble in the bottom right corner of the screen that says **Found New Hardware FT232R USB UART ** Next up, plug it into your computer! If you are using Windows you may hear a sound from the computer and a little popup bubble in the bottom right corner of the screen that says **Found New Hardware FT232R USB UART **
Line 95: Line 96:
  
 ==== Whats the difference between an FTDI cable/​adapter & AVR programmer? ​ ==== ==== Whats the difference between an FTDI cable/​adapter & AVR programmer? ​ ====
-? {{ http://​www.ladyada.net/​images/​usbtinyisp/​done_t.jpg?​nolink |}} OR [[http://​www.ladyada.net/​images/​monochron/​ftdicable.jpg|{{ http://​www.ladyada.net/​images/​monochron/​ftdicable_t.jpg?​nolink |}}]] ?+? {{ http://​www.ladyada.net/​images/​usbtinyisp/​done_t.jpg?​nolink&​250x191 ​|}} OR [[http://​www.ladyada.net/​images/​monochron/​ftdicable.jpg|{{ http://​www.ladyada.net/​images/​monochron/​ftdicable_t.jpg?​nolink&​250x191 ​|}}]] ?
  
  
Line 181: Line 182:
 # serial ponyprog design (dasa2 in uisp) # serial ponyprog design (dasa2 in uisp)
 # reset=!txd sck=rts mosi=dtr miso=cts # reset=!txd sck=rts mosi=dtr miso=cts
- +programmer
-<​strong>​programmer+
   id    = "​ftdifriend";​   id    = "​ftdifriend";​
   desc  = "​design ftdi adatper, reset=dtr sck=tx mosi=rts miso=cts";​   desc  = "​design ftdi adatper, reset=dtr sck=tx mosi=rts miso=cts";​
Line 190: Line 190:
   mosi  = ~7;   mosi  = ~7;
   miso  = ~8;   miso  = ~8;
-;</​strong>​+;
 # serial ponyprog design (dasa2 in uisp) # serial ponyprog design (dasa2 in uisp)
 # reset=!txd sck=rts mosi=dtr miso=cts # reset=!txd sck=rts mosi=dtr miso=cts
Line 252: Line 252:
  
 ==== Using the command line AVRdude ​ ==== ==== 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**+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%%\t%%ools\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**
  
 {{  http://​www.ladyada.net/​images/​ftdi/​avrdudefriendtest.gif?​nolink&​669x302 ​ |}} {{  http://​www.ladyada.net/​images/​ftdi/​avrdudefriendtest.gif?​nolink&​669x302 ​ |}}
/home/ladyada/public_html/wiki/data/pages/tutorials/learn/breakoutplus/ftdifriend.html.txt · Last modified: 2016/01/28 18:05 (external edit)