i'm trying to upload a .hex file to ether a 168 or a 328
the 328 came with the arduino clone i bought and the 168 i don't know, i just bought two off eBay.
i'm also trying to upload the boot-loader to the 168s
but i get the same error whether i'm using the arduino environment or Arduino up loader which is a stand alone program.
the error is "avrdude: stk500_getsync() : not in sync: resp=0x00
avrdude: stk500_disable() : Protocol error, expect=0x14, resp=0x51
i have no idea how to fix this problem so i need help
i have a Pololu USB AVR Programmer
i have used the board and it works fine. the error only seems to occur when trying to burn the boot-loader or trying to upload the .hex file with an external program recommended by the above instructables.
I haven't used an Pololu but I've got some experience with a ISP; using avrdude the procedure should be the same: Unlock chip, write fuses, burn bootloader, lock chip, burn sketch.
I know this is a bit old but eventually someone with the same issues stumbles over this thread.
Try to set the baud rate for uploading to 115200 (from 19200).
When uploading a hex file with ARP uploader I got the same error as the TS but after changing the syntax in the console-like window from 19200 to 115200 the upload just went fine.
As for the bootloader I don't know but guessing the same issue as above.