0% found this document useful (0 votes)
39 views5 pages

Arduino Uno

This document provides a step-by-step guide for updating the USBasp firmware using an Arduino Uno R3 as an ISP programmer. It includes requirements, installation instructions for drivers, preparation steps for setting up the Arduino, and detailed commands for using avrdude to check connections, flash the MPU, and set fuse bits. The process concludes with the removal of the JP2 jumper after the firmware update is complete.

Uploaded by

Sisira RAthe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views5 pages

Arduino Uno

This document provides a step-by-step guide for updating the USBasp firmware using an Arduino Uno R3 as an ISP programmer. It includes requirements, installation instructions for drivers, preparation steps for setting up the Arduino, and detailed commands for using avrdude to check connections, flash the MPU, and set fuse bits. The process concludes with the removal of the JP2 jumper after the firmware update is complete.

Uploaded by

Sisira RAthe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

ARDUIO MACHINE

Updating USBasp by Arduino Uno R3 as ISP Programmer

Requirements
1. Arduino IDE 1.0 ( IDE1.5.8 had problem with ATMEGA8 Series)
2. Usbasp and latest firmware here http://www.fischl.de/usbasp/

Drivers installation:
1. USBasp Driver installation and ensure USBasp device works
2. Arduino UNO R3 USB Install Driver, ensure Arduino Board works

Preparation:
Arduino UNO R3 as ISP Programmer
1. Run Open Arduion IDE 1.0
2. File>>Examples>>ArudinoISP
3. Tools>>Board>>Arduino UNO
4. Tools>>Port>>Com N
5. Upload this Sketch to Arduino UNO

USBasp
1. Install JP2 and Close Jumper
2. Make Connection to Arduino Uno as below:
Arduino Uno USBasp 10P Header
Pin10-------------------------------------------------------Pin5 RESET
Pin11-------------------------------------------------------Pin1 MOSI
Pin12-------------------------------------------------------Pin9 MISO
Pin13-------------------------------------------------------Pin7 SCK
GND-------------------------------------------------------Pin3/8/10 GND
VCC-------------------------------------------------------Pin2 VCC

3. Extract : usbasp.2011-05-28.tar.gz and copy usbasp.atmega8.2011-05-28.hex to


C:\..\hardware\tools\avr\bin

1
ARDUIO MACHINE
Chinese USBasp Schematic

Connection

2
ARDUIO MACHINE
Updating Firmware

Prompt to directory that avrdude.exe existing normally C:\Arduino-


1.0\hardware\tools\avr\bin
then run command as below change your COM number to match your
comport that Arduino connected
notes: Ensure usbasp.atmega8.2011-05-28.hex put in above directory

1. Run this command to check Connection and Chip


avrdude –C ../etc/avrdude.conf –c avrisp –P COM3 –b 19200 –p m8 –v

Failure connection

3
ARDUIO MACHINE
Correct Connection

4
ARDUIO MACHINE
2. Run This command to flash MPU
avrdude –C ../etc/avrdude.conf –c avrisp –P COM3 –b 19200 –p m8 –U
flash:w:usbasp.atmega8.2011-05-28.hex

3. Run this command to set fuse bit


avrdude –C ../etc/avrdude.conf –c avrisp –P COM3 –b 19200 –p m8 –U
hfuse:w:0xC9:m –U lfuse:w:0xEF:m

4. Remove JP2 Jumper. Done updating firmware.


5

You might also like