Difference between revisions of "DASA programming cable"

From Fab Lab Wiki - by NMÍ Kvikan
Jump to: navigation, search
Line 1: Line 1:
 
= Wiring Versions =
 
= 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.
+
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]].  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 ==
 
== DASA ==

Revision as of 21:39, 22 January 2010

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. 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