PK2AVRISP is free (but not open), and it was written by kcsoft. This way, we can later use an PICkit 2 programmer instead of a STK500 programmer. PK2AVRISP is a program that will intercept the ISP programming commands destined to STK500 AVR programmer, and will translate them into commands for PICkit programmer. Unzip downloaded file 'bcavrdmo.zip', then run 'setupdemo.exe'. If you need more, you can buy the unlimited version. Usually, 4k is enough for noncommercial use. This version is limited to less then 4K of compiled code. MCS Electronics offer a free BASCOM-AVR Demo version for hobby, educational and noncommercial use.
BASCOM-AVR is a copyrighted commercial program created by MCS Electronics company.
#Com3 putty download install
Install BASCOM-AVRīASCOM-AVR is an IDE that allows to write programs in BASIC language and compile them for AVR microcontrollers like ATtiny13, ATmega8, MEGA328 (last two also used in Arduino boards) and other Atmel MCUs. Download PK2AVRISP.exe (by kcsoft) from.PICkit will execute these translated commands into MOSI/MISO/CLK pulses necessary to program our Atmel microcontroller. From here, the PICkit commands will travel through a real USB port, and the commands will arrive to PICkit 2. PK2AVRISP will translate the STK500 ISP commands into PICkit commands. We will trick the STK500 software to send the ISP commands to our virtual COM3 port instead of the real COM1 port.įrom the virtual port COM3, the ISP commands will travel through a virtual cable inside of the com0com software, and will arrive to virtual COM4.Īt the virtual COM4 we will connect another software, PK2AVRISP, which is in fact an ISP commands translator. In order to use a PICkit instead of a STK500 board, we will hijack the ISP commands. Based on the received ISP commands, the STK500 board will produce the MISO/MOSI/CLK pulses required to program the Atmel microcontroller.
#Com3 putty download serial
The STK500 software will produce ISP commands for the STK500 board, and will transmit those commands through physical serial port COM1, to the STK500 board. In a normal data flow, when we have the physical STK500 programmer board, the microcontroller code (firmware) produced by the compiler is sent to STK500 software.