Difference between revisions of "DASA programming cable"

From Fab Lab Wiki - by NMÍ Kvikan
Jump to: navigation, search
(DASA)
m (typo)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Wiring Versions ==
+
A DASA cable is a 5-wire cable used to program Atmel AVR microcontrollers through the serial port of a computer.  DASA stands for '''D'''irect '''A'''VR '''S'''erial '''A'''ccess.  Parallel cable versions are called [[DAPA programming cable|DAPA]].  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.
As of January 2010, there are 3 recognized wirings.   
+
 
 
== 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
 +
 
 +
 
 +
[[Category:Tutorials]] [[Category:Circuits]]

Latest revision as of 12:58, 14 August 2014

A DASA cable is a 5-wire cable used to program Atmel AVR microcontrollers through the serial port of a computer. DASA stands for Direct AVR Serial Access. Parallel cable versions are called DAPA. 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 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 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 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