- 2.2 USB Driver In order to communicate with the AVRISP mkII, a driver must be installed on the host computer. A driver can be written from scratch or by using a driver development kit. AVR Studio 4 bundles a USB driver licensed from Jungo (www.jungo.com). By obtaining a license from Jungo, 3rd party software can access the same driver as AVR.
- Setting up the AVR Jungo USB Driver manually Posted on 03 December 2011. Now it’s around 2 AM in the morning, ouch its 2 AM midnight actually. Though there are a lot of beautiful that can happen for a typical Friday night, but am in middle of a STK 600, a Dell Latitude with Windows 7 X64 and a broken connection between these two.
Now it’s around 2 AM in the morning, ouch its 2 AM midnight actually. Though there are a lot of beautiful that can happen for a typical Friday night, but am in middle of a STK 600, a Dell Latitude with Windows 7 X64 and a broken connection between these two. So I started to dig this out and see if I can fix things myself and I am pretty much pleased that I was able to make it work. So here is the story of it.
JUNGO - Atmel Corp. AVRISP mkII Drivers Download - Update your computer's drivers using DriverMax, the free driver update tool. Feb 1, 2016 - The 10.4 version of AVR Jungo USB is available as a free download on our website. The following versions: 10.4, 10.2 and 10.1 are the most frequently downloaded ones by the program users.
The Problem
My STK 600 was not detected either by Studio 5.0 or Studio 4 or even by stk600.exe. Some symptoms are as follows.
Shows up in Device Manager : YES, but with a yellow warning icon.
Gets enumerated as USB device : Yes it does, I am able to see it in the programming dialog of studio 5.
Tools Firmware Upgrade in Studio 5 : Didn’t find it though.
In Studio 5 programming dialog, am able to see it’s id and if I select the interface as “JTAG” and click “Apply” it throws error “Unable to connect to tool”. So as far as know, I interpreted the symptoms to be a problem with the Jungo USB driver. I installed/uninstalled the Jungo driver many times, but hardly able to notice whether it succeeded or failed. But am pretty sure that the Jungo USB driver just launches the wdreg.exe tool to install the drivers internally. So to make it work I followed these steps.
Extract the Jungo Installer from Studio. To do this take the studio installer. Then from command prompt type the following command
installername.exe /extract_all:c:foo
You can alternatively use your own path rather than c:foo. Now the command prompt will return immediately but wait for some time for the extraction to complete and then, goto c:foodisk1ISSetupPrerequisites{someguid}AVRJUngoUSB.exe. This is the installer we want to make things work.
Now run the installer. It will run as normal. Then after completion go to the install location of Jungo. This would by default be c:Program files (x86)AtmelAVR Jungo USB. Now check if things work, in some case you might be lucky
Now inside that folder there will be two folders usb32 and usb64, since we are here for a Win 7 x64 cause we should use the usb64 folder.
Now launch a command prompt with elevated privileges (Right click cmd.exe –> Run as Administrator).
From the command prompt go to the usb64 folder
Type the following.
wdreg.exe –inf windrvr6.inf uninstall
Now some logs will appear and it should say succeeded. After that go to the folder c:windowsinf and see if any of your stk600.inf file persists. If so delete them. Then goto C:WindowsSystem32DriverStoreFileRepository and look for windrvr6.sys kind of folder and delete it (if it exists). Now reboot the system.
Then goto the usb64 folder from command prompt as administrator. Run the command.
wdreg.exe –inf windrvr6.inf install
This made things work for me atleast. Hope you might find this useful
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, 'Courier New', courier, monospace;
background-color: #ffffff;
/white-space: pre;/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }
ISPnub - Stand-alone AVR programmer module
Like it? You can support via PayPal:
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).
Download
Firmware and circuit
The following packages include circuit and firmware.usbasp.2011-05-28.tar.gz (519 kB) TPI support, 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. Please use this driver installation tool for Windows (see also: successful setup on Windows 10):Zadig - USB driver installation made easy
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) | |
USBasp on breadboard with socket for controller daughter boards. by Fabian Hummel (11/2018) | |
Tjaart van Aswegen designed an SMD board: DIP TRACE and GERBER files. by Tjaart van Aswegen (09/2019) | |
Feature rich (e.g. different voltage levels, integrated USB to serial converter, USB-C connector) USBasp compatible design. AVR Programmer Github project. by Brian Pepin (12/2019) | |
USBasp with ZIF socket and through hole components. by Bruno (04/2020) | |
USBasp board with additional 6pin header and selectable target supply (3.3V/off/5.0V). by Marty E. (10/2020) | |
John included a 40 pin universal socket which takes 8, 14, 20 and 28 pin devices. He also added a versatile crystal oscillator with outputs of 1, 2, 4, 8 and 16 Mhz to clock the chips. There is also the standard 6pin ICSP connector and a user led connected to the MOSI pin. by John P. (11/2020) |
Links
Avr Jungo Usb Driver Update
http://www.obdev.at/products/avrusb/ Firmware-only AVR USB driverhttp://libusb.sourceforge.net/ libusb
http://libusb-win32.sourceforge.net/ LibUsb-Win32