Wednesday, August 11, 2010
usbasp-1
USBasp(usb programmer for avr)
usb programmer is burner for avr through usb....i made this usbasp from this..site
http://www.fischl.de/usbasp/ this was first made by them. There are different programmers available for atmel microcontrollers but the usbasp and also usbtiny is the easiest way to burn avr.
It uses an Atmega8/48 microcontroller and has an USB port. It works fine with Windows XP or 32bit versions of 7/Vista.
Now first u have to burn the atmega8/48 with another programmer..for this u can use stk200,DAPA,stk 500 Or any other progammer, to burn the atmega u'l need firmware. For easy understanding the whole procedure is given below with number.
1. First get an atmega8/48(i have tried also atmega88 and it works)
2.Get the firmware (http://www.fischl.de/usbasp/usbasp-windriver.2009-02-28.zip)
3. Get another programmer (the best for newB will be parallel port programmer here is the link http://www.arduino.cc/en/Hacking/ParallelProgrammer)
4. Burn the fuse bit of atmega its located in the usb firmware file. If u open makefile the Lfuse and Hfuse is given. so fuse this bits with avrdude(here is the avrdude command for parallel port programmer "avrdude -c bsd -pm8 -U hfuse:w:0xdf:m -U lfuse:w:0xef:m ").
5. Then just upload the hex file to the atmega (the command for upload "avrdude -c bsd -pm8 -U flash:w:main.hex " here the m8 stands for atmega 8 and main.hex is ur file name.)
6. After burning the ic u have to make the circuit. u can make pcb(i have uploaded mine :D) or hand made circuit or bread board version.
7. now the installation part- to use avrdude download Winavr(http://sourceforge.net/projects/winavr/files/)
8.Copy avrdude.conf and avrdude.exe to "C:\WinAVR-20100110\bin\"
9. now we r almost at the end... to use usbasp u can try
1)avrdude
2)ectremee burner (http://extremeelectronics.co.in/software/BurnerAVR/Setup.exe)
3)EasyProg (http://www.4shared.com/file/Vs6RAcvH/EasyProg_AVR_USB_Programmer.html)
please feel free to ask if u have any query .....thank u (shaad mahmud)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment