
USBasp is a USB in-circuit programmer for Atmel AVR controllers. It simply consists of an ATMega88 or an ATMega8 and a couple of passive components. The programmer uses a firmware-only USB driver, no special USB controller is needed.
Features
- Works under multiple platforms. Linux, Mac OS X and Windows are tested.
- No special controllers or smd components are needed.
- Programming speed is up to 5kBytes/sec.
- SCK option to support targets with low clock speed (< 1,5MHz).
- Planned: serial interface to target (e.g. for debugging).
Download
Firmware and circuit
The following packages include circuit and firmware.
usbasp.2011-05-28.tar.gz (519 kB) TPI support (upcoming release of avrdude will use it), supports programmers with ATMega88 and ATMega8.
usbasp.2009-02-28.tar.gz (260 kB)
usbasp.2007-10-23.tar.gz (172 kB)
usbasp.2007-07-23.tar.gz (176 kB)
usbasp.2006-12-29.tar.gz (118 kB) Supports programmers with ATMega48 and ATMega8.
usbasp.2006-09-16.tar.gz (116 kB) New VID/PID!
usbasp.2005-11-14.tar.gz (175 kB)
usbasp.2005-07-03.tar.gz (166 kB)
usbasp.2005-04-21.tar.gz (169 kB)
Please refer to Readme.txt for details on building, installing and using USBasp.
Drivers
On Linux and MacOS X no kernel driver is needed. Windows requires a driver for USBasp:
usbasp-windriver.2011-05-28.zip (70 kB)
How to install USBasp drivers on Windows 8
Installing Usbasp Driver Software in Windows 8.1
Software
- AVRDUDE supports USBasp since version 5.2.
- BASCOM-AVR supports USBasp since version 1.11.9.6.
- Khazama AVR Programmer is a Windows XP/Vista GUI application for USBasp and avrdude.
- eXtreme Burner - AVR is a Windows GUI Software for USBasp based USB AVR programmers.
Hardware
Schematic
Partlist
Partnumber | Value | Reichelt No |
---|---|---|
C1 | 4,7u | RAD 4,7/35 |
C2 | 100n | X7R-5 100N |
C3, C4 | 22p | KERKO 22P |
D1, D2 | 3V6 zener | ZF 3,6 |
CON1 | USB-B | USB BW |
CON2 | 10pol | WSL 10W |
IC1 | ATmega8-16 | ATMEGA 8-16 (not programmed!) |
JP1, JP2 | 2pol 2,54mm | SL 1X36G 2,54 |
LED1 | 3mm LED green | LED 3MM 2MA GN |
LED2 | 3mm LED red | LED 3MM 2MA RT |
Q1 | 12Mhz | 12,0000-HC49U-S |
R1, R2 | 68 | 1/4W 68 |
R3 | 2,2k | 1/4W 2,2k |
R4, R5, R6, R7 | 270 | 1/4W 270 |
R8 | 10k | 1/4W 10k |
R9, R10 | 1k | 1/4W 1k |
M1, M2 | Jumper | JUMPER 2,54GL SW |
M3 | Socket 28S | GS 28-S |
M4 | Case | TEKO 10007 |
M5 | PCB | - |
User PCB layouts
Here is a list of tested PCB layouts. If you have designed your own PCB, please let me know.
![]() |
usbasp_single_side.t3001.zip by Thomas Fischl Single-Side PCB, TARGET 3001! layout file Size: 90x40 mm (optimized for case Hammond 1591ATBU) |
|
![]() |
lv_usbasp.tar.gz by Pawel Szramowski (11/2007) With Low-voltage front-end. Single-Side PCB, EAGLE layout files, some SMD components |
|
![]() |
by Bernhard Walle Double-Side PCB, EAGLE layout files, part list with order numbers for Reichelt.de and Conrad.de Size: optimized for case Hammond 1591ATBU |
|
![]() |
http://thomaspfeifer.net/atmel_usb_programmer.htm by Thomas Pfeifer Single-Side PCB, PDF layout files, SMD components |
|
![]() |
by Tomasz Ostrowski Single-Side PCB, PDF and EPS layout files, only four 0805 SMD parts, rest discrete components |
|
![]() |
USBasp_CH.zip by Christian Heigemeyr Single-Side PCB, with some SMD 0805 components, PDF-files With additional buttons for reset and disconnection of the target |
|
![]() |
USBasp.sch, USBasp.pcb ComponentSide.pdf, TopSide.pdf, Schematics.pdf by Zhurov Pavel Single-Side PCB, P-CAD 2002 format and PDF files Crosspiece TXD and RXD are added for the ISP connector |
|
![]() |
usbasp_gr.rar by J.A. de Groot The board is single sided (EAGLE format), measures 3 by 8 cm and uses only regular components. |
|
![]() |
usbasb_mg.zip by Matthias Görner Single-Side PCB, eagle-format, with PS/PDF-files integrated sockets for target chips ATmega8 and ATmega32 |
|
![]() |
Tarball with layout by Hannes Östlund Doubleside-Side PCB, SMD components, very small |
|
![]() |
by Sergiy Bogdancev (01/2010) 3.3V version, ATMega48 only. Single-side PCB, ExpressPCB layout format + socket board for varies AVRs. Without future serial interface, chip initially must be programmed with another programmer. |
|
![]() |
Eaglefiles (sch/brd) and CAD case design (dxf) by Hans Hafner, HTL Mössingerstrasse-Klagenfurt, Österreich, hans.hafner (at) htl-klu (dot) at (01/2010) CNC-milled case (DXF file available), Eagle layout, only a few SMD parts |
|
![]() ![]() |
Different USBasp versions: Easy to built non-smd, smd version and a very small USBasp by Sven Hedin (01/2011) Eagle files available. |
|
![]() |
USB Key AVR Programmer by Fabio Baltieri (09/2011) Very small USB key like dimensions. SMD parts. |
|
![]() |
AVR ISP Programmer by Jaroslav Vadel (04/2012) Small programmer. SMD parts. |
|
![]() |
Target project and PDFs (layout/schematics) by Marius Schäfer (09/2013) |
|
![]() |
tinyUSBboard with USBasp-compatible firmware by Stephan Bärwolf (04/2014) |
Links
http://www.obdev.at/products/avrusb/ Firmware-only AVR USB driver
http://libusb.sourceforge.net/ libusb
http://libusb-win32.sourceforge.net/ LibUsb-Win32
http://www.nongnu.org/avrdude/ AVRDUDE - AVR Downloader/UploaDEr