Difference between revisions of "Usbasp"

From mems wiki
Jump to: navigation, search
(Windows Driver)
(Windows Driver)
Line 36: Line 36:
 
restart windows and proceed with this guide.
 
restart windows and proceed with this guide.
  
 +
=== Install Driver ===
  
 +
The official site has useful info on both flashing the firmware and the circuit itself.
  
 +
http://www.fischl.de/usbasp/
 +
 +
It also links to a driver installation tool:
 +
 +
I used [[file:zadig_2.2.exe]].
  
 
[[category:electronics]]
 
[[category:electronics]]
 
[[category:arduino]]
 
[[category:arduino]]
 
[[category:atmel]]
 
[[category:atmel]]

Revision as of 07:12, 25 August 2016

Contents

About

How to burn the arduino bootloader to an atmega328p using a cheap USBasp programmer.

Notes

I had to update the firmware first before it was usable with the current version of arduino. Unfortunately I did not document this process, so search for "update usbasp firmware with arduino" and for myself, I had to short 1 jumper to update its firmware.

Assuming the firmware is updated, proceed.

Windows Driver

Windows 8.1/ 10 will try and install a driver and fail.

ERROR:

The drivers for this device are not installed. (Code 28)

There are no compatible drivers for this device.


To find a driver for this device, click Update Driver.

Yep thanks windows.

Preparing Windows for Driver

First thing is to disable device driver signature enforcement.

  • run cmd.exe as administrator.
  • type the following command:
bcdedit.exe /set nointegritychecks on

restart windows and proceed with this guide.

Install Driver

The official site has useful info on both flashing the firmware and the circuit itself.

http://www.fischl.de/usbasp/

It also links to a driver installation tool:

I used File:Zadig 2.2.exe.