I'm trying to write my first program to ATmega16A but I have an error:

But actually I've changed the chip with a similar ATmega16A and I'm sure that the chip is powered by measuring the voltage on the IC GND and Vcc pins; power is driven from the AVR pocket prog (I bought one a programmer like this one) and I'm trying to apply what is described in this video. The only difference that I'm using ATmega16A; is there any solution for such thing?

#include<avr/io.h>

int main(void)
{
DDRB = 0b00000001;
PORTB = 0b00000001;
while(1)
{
}

return 0 ;
}


• I just have the same problem, did you resolve it? Thanks! – user61724 Dec 18 '14 at 22:14
• @NicolásAgustínBarretoValent Well I found that the pocketprog doesn't support the atmega16 but you can use other target microcontrollers. – user3796561 Dec 21 '14 at 0:08

Try atmega16 or m16 and leave off the "a".