background image

OLIMEX© 2012

AVR-ISP-MK2 user's manual

CHAPTER 4 RECOMMENDED SOFTWARE TOOLS

4. Introduction to the chapter

Here you will find short info on the most popular choices for software that can be used with the 
AVR programmer.

4.1 AVR-STUDIO in Windows

The most popular choice amongst AVR fans. The IDE has everything you need for software 
development with AVR under Windows. You can download it from the official Atmel web-site.

If you have doubt that you have the latest firmware version (or if you have accidentally corrupted 
the firmware or changed it with other software) you might want to refer to sub-chapter 5.2, where 
firmware changes for AVR-STUDIO are explained.

AVR-ISP-MK2 comes with firmware for AVR-STUDIO in order to use it with AVRDude or 
Arduino IDE (which uses AVRDude) follow the procedure in next sub-chapter (4.2).

4.2 Arduino, AVRDude, Linux

AVR-ISP-MK2 comes with firmware that supports AVR-Studio. In order to use AVR-ISP-MK2 
with AVRDude (GCC, LibUSB, Arduino) you need to perform firmware change.

There is a way to use AVR-ISP-MK2 with Arduino/AVRDude using the LibUSB drivers and 
changing the firmware BUT it is not possible at the moment to use the AVR-ISP-MK2 both at 
Arduino/AVRDude and AVR Studio. It would depend on you which one you prefer. You need to 
change the firmware of AVR-ISP-MK2 (using the Atmel Flip program) AND the Windows drivers 
every time you switch between Arduino and AVR Studio (or vice versa). 

How to proceed changing the firmware?

All files needed except for Atmel Flip (which is available at Atmel's web-site for free) should be 
downloaded from our web site and the AVR-ISP-MK2 page.

1. Connect the device to the USB and with a needle or sharp object press the button on it's back side
(the one that the arrow points as "Upgrade"; the LEDs should turn off) which will put the processor 
in bootloader state - ready for firmware upgrade.

2. Download and install the Atmel Flip software. Check in device manager if the device is 
recognized as AT90USB162 if it isn't search for proper drivers in Atmel Flip installation folder.

Page 9 of 19

Summary of Contents for AVR-ISP-MK2

Page 1: ...AVR ISP MK2 programmer USER S MANUAL Revision G May 2013 Designed by OLIMEX Ltd 2012 All boards produced by Olimex LTD are ROHS compliant...

Page 2: ...for any loss or damage arising from the use of any information in this document or any error or omission in such information or any incorrect use of the product This evaluation board kit is intended...

Page 3: ...notice and this permission notice and warranty disclaimer appear in supporting documentation and that the name of the author not be used in advertising or publicity pertaining to distribution of the s...

Page 4: ...op view 8 CHAPTER 4 RECOMMENDED SOFTWARE TOOLS 9 4 Introduction to the chapter 9 4 1 AVR STUDIO in Windows 9 4 2 Arduino AVRDude Linux 9 CHAPTER 5 INTERFACES AND HARDWARE 13 5 Introduction to the chap...

Page 5: ...eable for future device support Supports target voltages from 1 8V to 5 5V 2 ribbon female female cables 10pin and 6pin Adjustable ISP programming speed 50Hz to 8MHz SCK frequency Dimensions 45x30 mm...

Page 6: ...sage and features Chapter 2 provides a guide for quickly setting up the board Chapter 3 contains the general board diagram and layout Chapter 4 mentions the main software tools used with AVR ISP MK2 C...

Page 7: ...erfacing with the programmer are properly grounded 2 3 Requirements In order to set up the AVR ISP MK2 optimally you might need to update your set of hardware and or software tools The major needed co...

Page 8: ...ARD DESCRIPTION 3 Introduction to the chapter Here you get acquainted with the main parts of the board Note the names used on the board differ from the names used to describe them For the actual names...

Page 9: ...SP MK2 with AVRDude GCC LibUSB Arduino you need to perform firmware change There is a way to use AVR ISP MK2 with Arduino AVRDude using the LibUSB drivers and changing the firmware BUT it is not possi...

Page 10: ...lip and select AT90USB162 in Device Select 4 Slect Settings Communication USB Open 5 From File Load hex files choose either AVR456 studio AVRISP MKII hex or libUSB AVRISP MKII hex the first hex is the...

Page 11: ...stall any previous drivers selecting delete option from device manager and scan for hardware changes or plug unplug again 9 Install the new drivers corresponding for your needs the picture below shows...

Page 12: ...OLIMEX 2012 AVR ISP MK2 user s manual Page 12 of 19...

Page 13: ...limex com Products AVR Programmers AVR ICSP since AVR ISP MK2 doesn t provide 6 pin ICSP connector Note it is bought separately 5 1 2 6 pin PDI The 6 pin PDI is used for programming AVR XMEGA 5 1 3 6...

Page 14: ...7 Disconnect the AVR ISP MK2 from the USB and connect it again Please refer to 4 2 Arduino AVRDude Linux for more detailed description 5 3 Jumpers description Please note that the two jumpers on the...

Page 15: ...ing programming unless TARGET is on Orange when ORANGE LED is off TARGET jumper is in position OFF Orange ORANGE LED on TARGET jumper is in position on BLINK means programming activity erasing flashin...

Page 16: ...revision Revision Changes Modified Page A 11 07 12 Initial Creation All B 23 07 12 Included LUFA license text 3 C 30 08 12 Added info how to update the firmware for AVRdude Arduino IDE 9 10 11 D 21 0...

Page 17: ...er is usually named AVR Jungo USB Then install it again 2 When AVR ISP MK2 is connected to the USB in Windows Device Manager you should see a tab named Jungo When you click to expand this tab you shou...

Page 18: ...target is powered It can be powered from AVR ISP MK2 by changing the Target jumper to position On to the USB Q3 I use Atmel Studio 6 The device is visible and properly installed but my target microcon...

Page 19: ...offee on them during your work when they are powered Please note that warranty do not cover problems caused by improper use shorts over voltages ESD shock etc If the board has warranty label it should...

Reviews: