I can program a ATmega168 16MHz 5Z once and the downloaded LED flashing program works.
But when I go to program it again, it will not load the new program. I get this error:
attempt 1 of 10: not in sync: resp=0x47 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync()
Since it was programmed once. I would have thought that the IDE settings and communication port are correct.
I have now tried to program two ATmega168 Pro Mini devices, and the same happens to both modules.
Are the ATmega168 16MHz 5Z (or is it 5V?) a once program only device?
Or is there a Bug somewhere?
Thanks for your help.