Go Down

Topic: Problem uploading to board. (Read 1 time) previous topic - next topic

111swords

:smiley-roll-sweat:  I can't upload anything to my arduino but when I try to it says
avrdude: stk500_retsync() : not in sync: resp=0x30
avrdude: stk500_disable() : protocol error, expect=0x14, resp=0x51.  :0

Can someone help.

111swords

yustme

I've solved this problem by adding this to /hardware/boards.txt:
(I have Arduino Mega with ATMEGA1280)
Code: [Select]

mega.name=Arduino Mega


mega.upload.protocol=stk500
mega.upload.maximum_size=126976
mega.upload.speed=57600


mega.bootloader.low_fuses=0xFF
mega.bootloader.high_fuses=0xDA
mega.bootloader.extended_fuses=0xF5
mega.bootloader.path=atmega
mega.bootloader.file=ATmegaBOOT_168_atmega1280.hex
mega.bootloader.unlock_bits=0x3F
mega.bootloader.lock_bits=0x0F


mega.build.mcu=atmega1280
mega.build.f_cpu=16000000L
mega.build.core=arduino


Then select Arduino Mega from board list. Maybe help ....

JetIgniter2k

I am having a similar problem with my mega.  But i don't see any difference between your code and what comes standard in arduino-0022 boards.txt.

Go Up