deba168 wrote:hi I purchased an USBASP AVR Programmer but dont know how to use it ...please help me...
Provide a link of the official product page or any photo or schematic you have.
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::
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.
Who is online
Users browsing this forum: No registered users and 1 guest