Programming AVR microcontrollers with the PICKit2 programmer
-
with no PICKit2 hardware or firmware changes
-
use your favorite AVR programming software compatible with the AVRISP (serial) programmer
PK2AVRISP
Is an application that simulates the behavior of the AVRISP programmer. It decodes the AVRISP commands received from the virtual serial port, translates the commands into PICKit2 commands and send them to the PICKit2 programmer via USB.
PK2AVRISP acts as a bridge between the AVR programming application and the PICKit2 programmer, emulating the AVRISP protocol for the AVR programming app.
You will also need com0com to create 2 bridged virtual serial ports. (for example COM3 ad COM4). You can use any other software capable of doing this, but com0com is free/open source.
If AVRISP complains about some missing files (this happens on WinXP), you will also need to install “Microsoft Visual C++ 2008 Redistributable Package” from here: http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en
How to connect the PICKit2 to the AVR microcontroller
(Expkits Pk2 devresinde Atmel ISP bağlantısına göre düzenlenmiş soket bulunmaktadır. Bu sebeple bu kısım önemli değildir.)

Note that PB2/SS pin must be pulled down to GROUND during programming, this can be achieved by connecting the pin to RESET or can be wired to GROUND.
VDD needs to be connected only if the target board is not powered. If the board has an external power supply, DO NOT connect VDD to PICKit2.
|