Go Down

Topic: uploading boot-loader/.hex errors (Read 1 time) previous topic - next topic

Naturesyouth

hi

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

Naturesyouth

Naturesyouth

just thought after reading a few more forum posts that i'd add that i can upload normal programs on the same time and in between getting this error

fuh

What do you mean by "Arduino uploader" ?
http://creativecommons.org/licenses/by-nc-sa/3.0/

Naturesyouth

#3
May 08, 2011, 09:10 am Last Edit: May 08, 2011, 10:31 am by Naturesyouth Reason: 1
its a stand alone program. one of two recommended by this inscrutable
http://www.instructables.com/id/Pocket-laser-engraver/step7/Getting-the-software-ready/
i am trying to load grbl
but i also get the same error when uploading the boot-loader using the arduino enviroment

fuh

I believe you should first try the Arduino software and upload some example sketches.
http://creativecommons.org/licenses/by-nc-sa/3.0/

Naturesyouth

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.

fuh

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.
http://creativecommons.org/licenses/by-nc-sa/3.0/

121GW

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.


Go Up