Calendar

November 2017
M T W T F S S
« Jun    
 12345
6789101112
13141516171819
20212223242526
27282930  

Categories

Active supporter of WikiPedia
Support Wikipedia

Geocaching

Profile for uwezi

Hacking an AVR programmer II

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).

USBasp v3.02 from eBay, top side. (photo Sven H)

USBasp v3.02 from eBay, top side. (photo Sven H)


USBasp v3.02 from eBay, bottom side with programming jumper. (photo Sven H)

USBasp v3.02 from eBay, bottom side with programming jumper. (photo 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:

-U lfuse:w:0xff:m -U hfuse:w:0xdd:m

2016-12-27

According to Sven H the .hex-file works fine on the new MX USBasp v3.02.

2 comments to Hacking an AVR programmer II

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>