I'd like to upgrade the firmware on it with an Arduino like this, loaded with the "official" ArduinoISP sketch.
I have followed this guide, but it doesn't work me.
My goal is to load custom firmware onto the USBasp eventually.
Instead of success I get an error like this when I try to use avrdude.
avrdude.exe: Version 6.3, compiled on Dec 16 2016 at 13:33:19 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "../etc/avrdude.conf" Using Port : COM6 Using Programmer : avrisp avrdude.exe: Send: 0 [30] [20] avrdude.exe: Send: 0 [30] [20] avrdude.exe: Send: 0 [30] [20] avrdude.exe: ser_recv(): programmer is not responding avrdude.exe: stk500_recv(): programmer is not responding avrdude.exe: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03
... and so on.
Some facts.
- My USBasp programmer is a bit different than the one in the aforementioned guide. The connector pins are perpendicular to the board instead of parallel for example. There are other differences: for example the JP1 and JP2 "things" are switched. (Not sure what that means.)
- The USBasp programmer works! I've used it to read and dump the flash contents from my Arduino and then I've written it again onto the board successfully.
- The Arduino is definitely loaded with the ArduinoISP sketch. I've wired the heartbeat, error and programming pins to status LEDs. At startup each of them blinks rapidly for a moment then the heartbeat LED keeps on pulsing.
- I'm connecting the programmer (Arduino) with the target (USBasp) using the programmer cable seen on the picture of the USBasp (see above). I'm plugging the 6pin adapter to the ICSP of the Arduino the other end to the USBasp.
- I've tried connecting the pins with jumpers instead of the cable without success. I've also tried using pins 11, 12 and 13 instead of the ICSP pins as written in the header comments of the official ArduinoISP sketch fike. Same effect.
- When I try to execute an avrdude command like this
./avrdude.exe -C ../etc/avrdude.conf -c avrisp -p m8 -P COM6 -vvvvv -t
then the above output is generated, always. - When the command is executed I can see the RX LED blinking 3 times on the Arduino. Then pause. Then it blinks once 10 times. Then avrdude gives up.
- I've tried connecting the JP1, JP2, JP3 pins (JP3 are two holes) to enable "self-programming" on the USBasp, without success. Currently the JP2 pins are connected with the jumper (like on the USBasp pictures).
- The chip on the USB is an ATMEGA8L 8AU.
Is what I'm trying to do possible at all?
What could I've been doing wrong?
I'm very keen to get to the bottom of this.
Thanks for any kind of help, let me know if I need to provide some more information aside from this (bare in mind I'm a newbie in this).