Reflashing the USBASP programmer using a uno board.

Hello i found out that i needed to update the firmware of the usbasp programmer i have because it was using old firmware. So i found This website So far it was the best one i saw and showed me tep by step what i need to do and that i can understand. I followed all directions doubled and triple checked everything the last command was to put

./avrdude -C ./avrdude.conf -p m8 -c avrisp -P /dev/cu.usbmodem14101 -b 19200 -U flash:w:usbasp.atmega8.2011-05-28.hex:i

in the command line but change it to match my information. I have put this

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.conf -p m8 -c avrisp -P COM10 -b 19200 -U flash:w:usbasp.atmega8.2011-05-28.hex:i

When i did that then sent it i get this error message.

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x03

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x03

I'm not sure what is wrong or what i can do to correct this. Can someone please help me?

Joseph

I'm not sure what i need to do on the arduino uno side to make this work. Does anyone have any idea's what i need to do?

Joseph

I'm so sorry i messedup. I overlooked one area on the website for the arduino side to upload the example sketch ArduinoISP. When i did that i was able to flash the firmware with no problem. Thank you all for the help. Below is my output in the Commandline.

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.conf -p m8 -c avrisp -P COM10 -b 19200 -U flash:w:usbasp.atmega8.2011-05-28.hex:i

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.07s

avrdude: Device signature = 0x1e9307 (probably m8)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "usbasp.atmega8.2011-05-28.hex"
avrdude: writing flash (4700 bytes):

Writing | ################################################## | 100% 8.12s

avrdude: 4700 bytes of flash written
avrdude: verifying flash memory against usbasp.atmega8.2011-05-28.hex:
avrdude: load data flash data from input file usbasp.atmega8.2011-05-28.hex:
avrdude: input file usbasp.atmega8.2011-05-28.hex contains 4700 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 4.94s

avrdude: verifying ...
avrdude: 4700 bytes of flash verified

avrdude: safemode: Fuses OK (E:FF, H:D9, L:9F)

avrdude done.  Thank you.

Joseph

Hello jsut a update I was able to now reflash the usbasp programmer with new firmware. overlooked or missed was i was suppose to upload the example sketch arduinoISP. Now i did that and i was able to reprogram the firmware.