I have tested it (precompiled usbasp-mega8-12mhz.hex), and it works!
But one little thing left: USBasp have 2 LEDs, and green (PC0) is always off. Maybe set it on forever in hardwareInit()?
making USBasp hardware with AVR-Doper 2008-04-27 firmware
Green led is used like "ON" indicator. But all who build USBasp and use your firmware will have a "dead" led, this does not look good... I have rebuild AVR-Doper firmware and turn it on.
Is there any way to compile USDasp-Doper for ATmega48, HID-only, without debug? I've got around 4.6 kbytes with avr-gcc 4.3.0 from WinAVR-20080610 package. Maybe avr-gcc 3.x.x will give smaller code, but i can't test it...
And almost forgot: current STK500 software version is 2.0A, AVRstudio will always ask about firmware upgrade. CDC mode works stable only on my laptop, so i use HID mode and don't care about version.
Is there any way to compile USDasp-Doper for ATmega48, HID-only, without debug? I've got around 4.6 kbytes with avr-gcc 4.3.0 from WinAVR-20080610 package. Maybe avr-gcc 3.x.x will give smaller code, but i can't test it...
And almost forgot: current STK500 software version is 2.0A, AVRstudio will always ask about firmware upgrade. CDC mode works stable only on my laptop, so i use HID mode and don't care about version.