EMBEDDED PROJECTS JOURNAL
100% frei und kostenlos,
als PDF und in gedruckter Form,
per Open Source Lizenz
AVR-RISC (Infos)
Embedded Software selbst entwickeln
(inkl. Absatz über USBprog)
AVR-Starterkit für 61,90 EUR
Quicklinks: Home | Online Firmware Pool | Shop
     

Firmware: AVR ISP 2 clone

State

Linux: avrdude (finished)
Windows: AVR Studio (finished)

Recent versions : 

http://www.ixbat.de/usbprog/avrispmk2.bin (version for update console program)

http://www.ixbat.de/usbprog/avrispmk2.hex (completed firmware) source codes

If there are any problems, please send me an email (sauter@ixbat.de)!
I want every problem and error to be solved after a little while. 

Supported controllers

These contollers should work just fine. If there are any problems, send me an email: sauter@ixbat.de

Tiny    Classic    Mega    Mega    Other
  • ATtiny12

  • ATtiny13

  • ATtiny15

  • ATtiny22

  • ATtiny24

  • ATtiny26

  • ATtiny2313

  • ATtiny44





  • AT90S1200

  • AT90S2313

  • AT90S2323

  • AT90S2333

  • AT90S2343

  • AT90S4414

  • AT90S4433

  • AT90S4434

  • AT90S8515

  • AT90S8535

  • ATmega8

  • ATmega16

  • ATmega32

  • ATmega48

  • ATmega64

  • ATmega88

  • ATmega103

  • ATmega128

  • ATmega161

  • ATmega162

  • ATmega163

  • ATmega165

  • ATmega169

  • ATmega323

  • ATmega325

  • ATmega329

  • ATmega644

  • ATmega645

  • ATmega649

  • ATmega2560

  • ATmega2561

  • ATmega3250

  • ATmega3290

  • ATmega6450

  • ATmega6490

  • ATmega8515

  • ATmega8535

  • AT90CAN128

  • AT90PWM2

  • AT90PWM3


  • AT86RF401

  • 89S51

  • 89S52


Software downloads

The clone was tested successfully with:

Todo

  • avrdude: every second connection hangs (solution: set Togl bit to the right value after every action)
  • in general frequent problems with very slow targets

ISP speed

So far you can only adjust the speed between 125kHz and 8 MHz. If you need something else, please report!

Some tips for AVR Studio 4 

You can download AVRStudio on Atmel.com for free. You install the program as usual, but make sure that the USB drivers are also installed.

As soon as the installation is finished you have to connect the programmer. It will be identified as „AVRISP mkII“.

 


In order to program AVRStudio you have to press the button "connect" or you have to go to "Tool / Programm AVR" in the menu. Afterwards you have to select „AVRISP mkII“.

 

 

How to work with avrdude

As soon as avrdude is installed you can work with it as usual.

The most important commands:

Queriing the signature of the controller: 

avrdude -c avrispv2 -P usb -p m32 or with an ATMega128, avrdude -c avrispv2 -P usb -p m128 

 

Writing the program in the flash storage of an ATMega32:

avrdude -c avrispv2 -P usb -p m32 -U flash:w:blink.hex

Causing a Mikrocontroller reset:

avrdude -c avrispv2 -P usb -p m32 -E noreset

If the target clock speed is to slow increase also your ISP speed:
At least you should had no more problem when increasing the period time to 10us by specifying the command line option "-B 10" for avrdude.

 

 © 2007 by Embedded Projects, Benedikt Sauter