DASA programming cable

From Fab Lab Wiki - by NMÍ Kvikan
Revision as of 12:57, 14 August 2014 by LinWan (Talk | contribs)

Jump to: navigation, search

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


Portal:Tutorials