User manual

OLIMEX© 2015 AVR-ISP-MK2 user's manual
CHAPTER 5 INTERFACES AND HARDWARE
5. Introduction to the chapter
In this chapter are presented the interfaces found on the programmed that can be found on the
board. Jumpers functions are described.
5.1 Programming interfaces
AVR-ISP-MK2 has three programming interfaces aiming at different processors. More information
about each of them is located in the following sub-chapters.
5.1.1 10-pin ICSP
The ICSP (in-circuit serial programming) interface is suitable for programming tinyAVR and
megaAVR chips.
The ICSP connector is not over-voltage/over-current protected. The two simple protection methods
implemented are (1) diodes for electrostatic discharge and (2) series of resistors for basic protection.
Depending on the target you might need
https://www.olimex.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-pin TPI
The interface is typically used for programming tinyAVR.
5.2 Upgrade firmware button
The upgrade firmware button is used to change the firmware of the board through a bootloader. This
is considered a normal upgrade procedure and requires no additional hardware. If however, the
bootloader program is not working properly or it got corrupted then you would need to program the
board with a working bootloader – please refer to chapter “5.3 Bootloader restore”.
The upgrade firmware button might be found in a small hole between the PDI interface and the
ICSP10 interface. The button is used to enter bootloader mode. The memory can then be
programmed with new firmware. If you wish to update your firmware check if there is newer
version in the web and follow the algorithm:
1) Connect the programmer to the USB and with a sharp object (needle or pin) press the upgrade
Page 17 of 24