Usbasp

From mems wiki
Revision as of 06:56, 25 August 2016 by Mem (Talk | contribs)

Jump to: navigation, search

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.