This is a follow-up of my most popular post, Hacking an AVR programmer.
MX USBasp v3.02
Recently there have been quite a few comments about a new version 3.02 layout of the USBasp programmer available from many Chinese ebay sellers, which appears to be incompatible with my previous hack. The problem is still that these come with a weird firmware which appears to be only compatible with some indecipherable Chinese software, but not supported by the standard avrdude.
One cause of this problem is probably that the controller on these programmers has been changed from an ATmega8 to the more modern ATmega88(V), as can be seen in these photos (courtesy Sven H).
So I grabbed my 3 ½ year old project and imported it into the 3 versions newer Atmel Studio 7. Compiling showed a couple of errors and warnings caused by the newer configuration settings and the newer, more picky version of GCC, but finally it compiled through now for the ATmega88. I haven’t been able to test the compiled .HEX-file myself yet and am waiting for some feedback.
A zip-archive containing the full Atmel Studio 7-project (excuse the mess…): 20161227_mega88_usbasp.zip
Just the .hex file for an ATmega88: 20161227_mega88_usbasp.hex (right-click, “save as”)
Fuse settings:
2016-12-27
According to Sven H the .hex-file works fine on the new MX USBasp v3.02.
[…] where do you get the special firmware? GreenPhotons has graciously compiled a modified firmware for us. Next use AVRdude to program the USBasp firmware […]
[…] 10 niet de juiste drivers installeerden. Na enige zoek werk op het internet kwam ik uit bij deze handleiding, na het uitvoeren van deze handleiding was het probleem met de drivers opgelost er deed zich echter […]
[…] (see also my recent appendix to this topic: Hacking an AVR programmer II – especially if you have an ATmega88-based programmer!) […]