Probably many AVR software developers that use the AVRStudio4 environment would like to program chips directly from AVRStudio4 using AVRISP. Usually, we use a simplified version of AVRISP that works with PonyProg or AVRDUDE. But here is the solution that can solve this problem.
In sixca.com is a populated simplified version of the AVR ISP programmer that works with ATMEL original programming software.
IC1 stands for any RS-232 driver like MAX232 or any similar(DS275). The wire from AVR-ISP to AVR board should not exceed 15cm.
The PCB is one layer and simple to build:
Installation of components:
The firmware is written for AT90S2313 as this version of the microcontroller is obsolete, then it should be working on Attiny2313 as this microcontroller is compatible with AT90S2313. This device can program most AVR microcontrollers that support ISP:
The firmware is written to work with a crystal of 4MHz. The target device has to use 4MHz of crystal. If it uses an internal oscillator, then there is no need to connect any crystal.
If the target board runs at 8MHz, then the firmware has to be re-compiled to run at 8MHz. Open asm code and change line:
.equ xtal_8mhz=0 ; if 0 then 4MHz Xtal
.equ xtal_8mhz=1 ; if 0 then 4MHz Xtal
compile this firmware by using avrasm (AVRStudio will do the job).
AVR ISP connection diagram:
Real image of AVR ISP usage:
Download Project files here.