HOW TO USE USBASP AVR Programmer

Discuss everything related to Arduino - Open-source electronic prototyping platform allowing to create interactive electronic objects.
deba168
Posts: 7
Joined: Tue Nov 27, 2012 3:03 pm

HOW TO USE USBASP AVR Programmer

Postby deba168 » Sat Mar 30, 2013 6:41 am

hi I purchased an USBASP AVR Programmer but dont know how to use it ...please help me...
virus
Posts: 10
Joined: Tue May 01, 2012 8:30 am

Re: HOW TO USE USBASP AVR Programmer

Postby virus » Sat Mar 30, 2013 12:34 pm

deba168 wrote:hi I purchased an USBASP AVR Programmer but dont know how to use it ...please help me...


Hi,

Provide a link of the official product page or any photo or schematic you have.
deba168
Posts: 7
Joined: Tue Nov 27, 2012 3:03 pm

Re: HOW TO USE USBASP AVR Programmer

Postby deba168 » Tue Apr 02, 2013 3:49 pm

this is the link

http://www.usbasp.com/
virus
Posts: 10
Joined: Tue May 01, 2012 8:30 am

Re: HOW TO USE USBASP AVR Programmer

Postby virus » Tue Apr 02, 2013 5:00 pm

deba168
Posts: 7
Joined: Tue Nov 27, 2012 3:03 pm

Re: HOW TO USE USBASP AVR Programmer

Postby deba168 » Fri Apr 12, 2013 8:19 am

thank you so much..finally I uploaded led blink program into Atmega -16 by using my USB ASP..But it is very difficult for me to write hex code, I am very comfortable with arduno programming..how can i program atmega 16 by using arduino IDE
abhimanyu
Posts: 94
Joined: Tue Oct 18, 2011 9:49 pm

Re: HOW TO USE USBASP AVR Programmer

Postby abhimanyu » Fri Apr 12, 2013 1:55 pm

If you are able to upload hex files directly, then you may try to generate the Intel .hex files from Arduino IDE.
While uploading the programs from Arduino IDE, you need to look for the following status message: (Blink code example)
Binary sketch size: 1,084 bytes (of a 32,256 byte maximum)
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -q -q -patmega328p -carduino -P/dev/tty.usbmodem411 -b115200 -D -Uflash:w:/var/folders/_r/tls945hd7md512b2v99ptj_40000gn/T/build6873696000871958795.tmp/Blink.cpp.hex:i

You can then find the newly generated hex file in the below mentioned folder. The following path after Uflash:w::
/var/folders/_r/tls945hd7md512b2v99ptj_40000gn/T/build6873696000871958795.tmp/Blink.cpp.hex

is the path where the required hex file is generated.

Make sure that you re not using any function that is ATmega328 specific and not available in ATmega16. It may not work.

Return to “Arduino”

Who is online

Users browsing this forum: No registered users and 2 guests