Pages: [1]   Go Down
Author Topic: Problem uploading to board.  (Read 925 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

 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.  smiley-mad

Can someone help.

111swords
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've solved this problem by adding this to /hardware/boards.txt:
(I have Arduino Mega with ATMEGA1280)
Code:
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 ....
Logged

Rochester, NY
Offline Offline
Newbie
*
Karma: 1
Posts: 29
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1]   Go Up
Jump to: