EN
Jaycar logo
Official user manual

Jaycar usbASP Programmer

3 pages·167 KB·Computer Equipment·PDF·ENDEFRITNLJA
Jaycar usbASP Programmer
Table of Contents 3 sections usbASP Programmer · XC4627 XC4613 · Basic errors Could not find USB device with vid ShowHide
Page 1 of the Jaycar usbASP Programmer user manual — XC4627 XC4613
Page 1 · click to enlarge
Page 1

usbASP Programmer

Connecting to UNO The usbASP (XC4627) programmer can connect to most AVR type devices, not just the uno. You will have to seek out the correct connection diagram, usually found in the datasheet for your AVR device.

Jaycar usbASP Programmer — usbASP Programmer diagram (page 1)
Fig. 1 · usbASP Programmer

While the usbASP programmer has the traditional 10-pin connector for older Atmel devices, you can use the (XC4613) adapter to make it fit more easily onto newer 6pin devices such as the UNO. It is easy to remember the orientation by matching up the reset pin to the XC4613 adaptor, as indicated to the right.

Included download files In the supplied zip file (found on the download page for XC4627) you will find this PDF, along with the software you need, plus a few shortcuts and a batch file to make things easier to manage.

Otherwise, if you don’t have the included zip, the software you need is “avrdude” and the open-source usb driver “libusb” which can be installed via ZADIG.

Set up drivers for usbASP with ZADIG Firstly, you must overwrite the drivers that are installed by windows when you first plug in the XC4627. You should only have to do this once.

XC4627 XC4613

Plug your usbASP programmer into the computer and open up the ZADIG software (either through shortcut, or found in the setup folder). In the program that shows up, tick

Options > Show all devices

And change the main dropdown box to be USBasp. You then want to change the what the driver becomes by scrolling through the options until you reach libusb-win32

Hit “Install driver” – if it is already installed, it will read as “Reinstall driver” as shown:

Jaycar usbASP Programmer — XC4627 XC4613 diagram (page 1)
Fig. 2
Jaycar usbASP Programmer — XC4627 XC4613 diagram (page 1)
Fig. 3

www.jaycar.com.au www.jaycar.co.nz

techstore@jaycar.com.au techstore@jaycar.co.nz

1800 022 888 0800 452 922 Page 1 of 3

Australia New Zealand

Page 2 of the Jaycar usbASP Programmer user manual — XC4627 XC4613
Page 2 · click to enlarge
Page 2

usbASP Programmer

Once the current driver (left hand side) is libusb0, you can then go ahead with using usbASP with avrdude

Using AVRDUDE (GUI Version) Thanks to a user named zkemble, they have provided a github repository of a gui which can make it easier to manage.

Run the AVRDUDE GUI shortcut in the folder, or if that doesn’t work, install properly in the setup folder.

If you don’t have the correct libraries, windows should install it for you:

Jaycar usbASP Programmer — usbASP Programmer diagram (page 2)
Fig. 4 · usbASP Programmer

XC4627 XC4613

Then you’ll be greeted with a screen that has many options, the one you to manage for USBASP is:

Jaycar usbASP Programmer — XC4627 XC4613 diagram (page 2)
Fig. 5

Then select your hex file in the Flash portion, set to “write.” Then in the top right you will want to change your MCU to the correct part number, the UNO is usually ATMEGA328p but you’ll have to check and change for each device. Once you’ve set the values, press the bold Program! button to write the hex file.

Using AVRDUDE (CMD Version) While the GUI is a faceplate to the commandline program of avrdude. Run the

AVRDUDE CMD.bat

file to bring up the command prompt version, which will also set up avrdude for you. An example command is given in the header, but you can run your own command.

www.jaycar.com.au www.jaycar.co.nz

techstore@jaycar.com.au techstore@jaycar.co.nz

1800 022 888 0800 452 922 Page 2 of 3

Australia New Zealand

Page 3 of the Jaycar usbASP Programmer user manual — XC4627 XC4613
Page 3 · click to enlarge
Page 3

usbASP Programmer

use “cd” (change directory) to the location that you have your file, and use avrdude to program it, for example (For a file on your desktop):

cd C:\Users\username\Desktop

avrdude –p m328p –c usbASP –P usb –U flash:w:filename.hex:a

Where –p denotes the part, -c denotes the programmer (usbASP) and –P is the port.

For more information about parameters and changes, read the manual with avrdude or run “avrdude -?“.

Basic errors Could not find USB device with vid

Jaycar usbASP Programmer — Basic errors Could not find USB device with vid diagram (page 3)
Fig. 6 · Basic errors Could not find USB device with vid

This is a problem relating to the usbASP drivers. Did you use ZADIG to install the libusb driver? Is the usbASP plugged in?

Expected Signature (Reads 100% but cancels program early)

Jaycar usbASP Programmer — Basic errors Could not find USB device with vid diagram (page 3)
Fig. 7 · Basic errors Could not find USB device with vid

XC4627 XC4613

This is related to not setting the correct part number (-p switch) – You can see here that I have connected an UNO (“probably m328p”) but I have selected atmega16u2 (“Expected signature for ATmega16u2 is …”). Check the correct part has been specified

Error on avrdude.conf or otherwise

This is an error relating to avrdude config file, being a different version to the avrdude program. Use the avrdude.exe AND avrdude.conf located in the GUI folder. If you install and use avrdude from a different location, be sure to triple check that version of the config. (Our latest version, in this zip file, is version 6.3).

www.jaycar.com.au www.jaycar.co.nz

techstore@jaycar.com.au techstore@jaycar.co.nz

1800 022 888 0800 452 922 Page 3 of 3

Australia New Zealand

Sources

References & links

Pages referenced in this manual — manufacturer, support and downloads.

Ask about the Jaycar usbASP Programmer

Owners and our team usually reply within a day — and your question helps the next person too.

Add your email to get notified when it’s answered — no spam, ever.

0 questions
No questions yet about the Jaycar usbASP Programmer

Be the first to ask — other owners or our team will answer.

Original document

Jaycar usbASP Programmer manual PDF

3 pages·167 KB·Computer Equipment·PDF
Click any page above to open it here
Page 1 / …
100%
Loading pages…