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

avrdude: AVR Part "atmega16a" not found.

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?


int main(void)
   DDRB = 0b00000001;
   PORTB = 0b00000001;

   return 0 ;

avrdude screenshot

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

The ATmega16A is a revision of the ATmega16. According to the AVRdude documentation, the part number for the ATmega16 is "m16" (but you can also use the full part name).

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


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.