USBASP Installation in Windows 10
For ATMEGA beginner user, installation of USB-ASP in Windows 10 can be tiresome. USBASP Device is inteded to work with 32 bits yet our current PC Windows 10 is mostly 64 bit. So extra steps are needed for a particular USB port. If you have installed USBASP on one of the a physical ports, you need to remember which port that you have installed with. If you plug USBASP on another physical port you will need to do reconfigure windows to use the driver again from the start.
Step 1: Plug in USBASP
As mentioned before, you need to remember or mark with something on a port.
Step 2: Install Zadig
If you have not installed zadig, you need to install this.
You can download from here.
Zadig allows you to mix and match your hardware with a particullar driver: WinUSB, libusb, libusb-win32 or libusbK. If you used RTL SDR or any other open sourced project involving USB driver which need a special driver that has API supported by your USB hardware, you might already have this utility on your PC or Laptop. You can skip this step if you have done so.
Step 3: Open Option
Open Zadig, click on Option ->List All your Devices.
Step 4: Check List All Devices
In option menu check list all devices. This will later show all device that is currently connected to your PC/Laptop.
Step 5: Select USB ASP
Go to pull down selector in the middle. And Click USBASP. Try not to click other device other than USBASP. Otherwise the wrongly selected device may not compatible with the driver we are going to use that can cause the device not working properly.
Step 6: Select Libusb-win32
This is the mostly used if you are using AVRDUDE‘s based flash tool. This includes khazama, bit burner or other GUI front-ends.
Step 7: Click Reinstall Driver
Just click Install the driver and make sure no error occur. This takes few minutes.
The installation will make your PC remember which hardware, port and driver. Again, if you use different physical port or use a new hub, the default driver will be used instead.
Step 8: Check Your Device Manager
To see if your USBASP is running on libusb-win32 driver, open windows device manager and look for libusb-win32 and expand to see if usbasp is there.
Now you can test to flash AVR chips/devices (atmega8/328/16/attiny etc..) using USB asp.