DASA programming cable: Difference between revisions

From Fab Lab Wiki - by NMÍ Kvikan
Jump to navigation Jump to search
Amy (talk | contribs)
Amy (talk | contribs)
No edit summary
Line 1: Line 1:
= Wiring Versions ==
= Wiring Versions =
As of January 2010, there are 3 recognized wirings.   
As of January 2010, there are 3 recognized wirings, named DASA, DASA2, and DASA3None of the DASA cable configurations provide power to the microcontroller, so power must be provided externally.
 
== DASA ==
== DASA ==
* microcontroller RESET = serial cable RTS  
When using [uisp|UISP] or [avrdude], specify this cable with the flag " -dprog dasa ".  This is the configuration used for most Fab Lab serial programming cables.
* microcontroller SCK = serial cable DTR  
* microcontroller RESET <--> serial port RTS  
* microcontroller MOSI = serial cable TXD  
* microcontroller SCK <--> serial port DTR  
* microcontroller MISO = serial cable CTS
* microcontroller MOSI <--> serial port TXD  
* microcontroller GND = serial cable GND
* microcontroller MISO <--> serial port CTS
* microcontroller GND <--> serial port GND


== DASA2 ==
== DASA2 ==
(RESET=!TXD SCK=RTS MOSI=DTR MISO=CTS)
When using [uisp|UISP] or [avrdude], specify this cable with the flag " -dprog dasa2 "
* microcontroller RESET <--> serial port !TXD   (the ! means that the signal must be inverted)
* microcontroller SCK <--> serial port RTS  
* microcontroller MOSI <--> serial port DTR  
* microcontroller MISO <--> serial port CTS
* microcontroller GND <--> serial port GND


== DASA3 ==
== DASA3 ==
(RESET=!DTR SCK=RTS MOSI=TXD MISO=CTS)
When using [uisp|UISP] or [avrdude], specify this cable with the flag " -dprog dasa3 "
* microcontroller RESET <--> serial port !DTR   (the ! means that the signal must be inverted)
* microcontroller SCK <--> serial port RTS  
* microcontroller MOSI <--> serial port TXD  
* microcontroller MISO <--> serial port CTS
* microcontroller GND <--> serial port GND

Revision as of 03:56, 21 January 2010

Wiring Versions

As of January 2010, there are 3 recognized wirings, named DASA, DASA2, and DASA3. None of the DASA cable configurations provide power to the microcontroller, so power must be provided externally.

DASA

When using [uisp|UISP] or [avrdude], specify this cable with the flag " -dprog dasa ". This is the configuration used for most Fab Lab serial programming cables.

  • microcontroller RESET <--> serial port RTS
  • microcontroller SCK <--> serial port DTR
  • microcontroller MOSI <--> serial port TXD
  • microcontroller MISO <--> serial port CTS
  • microcontroller GND <--> serial port GND

DASA2

When using [uisp|UISP] or [avrdude], specify this cable with the flag " -dprog dasa2 "

  • microcontroller RESET <--> serial port !TXD (the ! means that the signal must be inverted)
  • microcontroller SCK <--> serial port RTS
  • microcontroller MOSI <--> serial port DTR
  • microcontroller MISO <--> serial port CTS
  • microcontroller GND <--> serial port GND

DASA3

When using [uisp|UISP] or [avrdude], specify this cable with the flag " -dprog dasa3 "

  • microcontroller RESET <--> serial port !DTR (the ! means that the signal must be inverted)
  • microcontroller SCK <--> serial port RTS
  • microcontroller MOSI <--> serial port TXD
  • microcontroller MISO <--> serial port CTS
  • microcontroller GND <--> serial port GND