- Wed May 29, 2019 10:01 am #204644
I have used the Sparkfun Pocket AVR Programmer with DEV-09215 cable to successfully load the bootloader into a custom designed product that is essentially an Arduino Uno Rev 3 successfully. But lately it is giving me verification errors on all the atmega 16u2's I try programming including one that I successfully programmed in the past. The odd thing is that the errors are not repeatable. For example, I get messages like "first mismatch at byte 0x3880 0xe8!=0x8b" but when I try loading again I get, "first mismatch at byte 0x3580 0x60!=0xf1", etc. I see similar problems when trying to program the bootloader in the atmega328p device. Is there a way to check that the programmer itself is working correctly? I am using avrdude via the dos command with -b 19200 baud rate, but slowing it down further does not seem to help.