salve a tutti ho  un problemino , probabilmente sono io che sbaglio qualcosa , premetto che la prima volta 
ho un atmega32 pu 1312 , ho acquistato il usbasp v2.0  , per poterlo programmare  , l ho inserito nella porta del portatile con windows 10 , installato i driver e WinAVR-20100110 piu la suite atmestudio 7 , ho configurato dentro l atmelstudio il nuovo tools  cosi 
C:\WinAVR-20100110\bin\avrdude.exe
-c usbasp -p m32 -U flash:w:$(TargetDir)$(TargetName).hex:i
ho creato un primo script per vedere come funziona il tutto  , il classico led lampeggiante 
/*
 * usbasp test.cpp
 *
 * Created: 16/12/2016 20:30:29
 * Author : Norrin
 */ 
#include <avr/io.h>
#include <util/delay.h>
int main(void)
{
   DDRB |= 1 << PINB0;
   //PORTB &= ~1 << PINB0;
   
    while (1) 
    {
		_delay_ms(1000);
		PORTB ^= 1 << PINB0;
		
		
    }
}
mi da che ha scritto tuto ed è tutto ok 
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude.exe: Device signature = 0x1e9502
avrdude.exe: NOTE: FLASH memory has been specified, an erase cycle will be performed
             To disable this feature, specify the -D option.
avrdude.exe: erasing chip
avrdude.exe: reading input file "C:\Users\Norrin\Documents\Atmel Studio\7.0\usbasp test\usbasp test\Debug\usbasp test.hex"
avrdude.exe: writing flash (184 bytes):
Writing | ################################################## | 100% 1.58s
avrdude.exe: 184 bytes of flash written
avrdude.exe: verifying flash memory against C:\Users\Norrin\Documents\Atmel Studio\7.0\usbasp test\usbasp test\Debug\usbasp test.hex:
avrdude.exe: load data flash data from input file C:\Users\Norrin\Documents\Atmel Studio\7.0\usbasp test\usbasp test\Debug\usbasp test.hex:
avrdude.exe: input file C:\Users\Norrin\Documents\Atmel Studio\7.0\usbasp test\usbasp test\Debug\usbasp test.hex contains 184 bytes
avrdude.exe: reading on-chip flash data:
Reading | ################################################## | 100% 0.79s
avrdude.exe: verifying ...
avrdude.exe: 184 bytes of flash verified
avrdude.exe: safemode: Fuses OK
avrdude.exe done.  Thank you.
ma non lampeggia niente , sapete mica  aiutarmi  ???
altra domanda  dopo la programmazione posso lasciare i fili connessi sul chip o devo rimuovere i fili che vanno a programmare il chip ??? 
grazie
			
		
