2016-06-19 2 views
0

Arduino에 깜박임 코드를 업로드하려고하는데이 오류가 발생합니다. 누군가 나를 도울 수 있습니까?Arduino 오류로 업로드

Arduino: 1.6.9 (Mac OS X), Board: "Arduino Duemilanove or Diecimila, ATmega328" 

Sketch uses 1,066 bytes (3%) of program storage space. Maximum is 30,720 bytes. 
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes. 
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x04 
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xfc 
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x8a 
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x88 

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x14 

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x10 
avrdude: stk500_initialize(): (b) protocol error, expect=0x10, resp=0x01 
avrdude: initialization failed, rc=-1 
     Double check connections and try again, or use -F to override 
     this check. 

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x10 
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions. 

This report would have more information with 
"Show verbose output during compilation" 
option enabled in File -> Preferences. 

- 이것은 업로드하려고 시도하는 코드입니다. 그것의 Arduino 예를 들어 보자.

// the setup function runs once when you press reset or power the board 
void setup() { 
    // initialize digital pin 13 as an output. 
    pinMode(13, OUTPUT); 
} 

// the loop function runs over and over again forever 
void loop() { 
    digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level) 
    delay(1000);    // wait for a second 
    digitalWrite(13, LOW); // turn the LED off by making the voltage LOW 
    delay(1000);    // wait for a second 
} 
+0

도이 오류를 트리거하는 코드를 제공하세요. – minocha

+3

이것은 arduino 코드와 아무 관련이 없습니다 (Arduino에 도달 한 적이 없습니다). 잘못된 케이블, 잘못된 포트, arduino 재설정, 직렬 모니터 닫기, USB 케이블 연결 해제/다시 연결 등과 같은 것들을 찾으십시오. – mhopeng

+0

보드가 실제로 Duemilanove 또는 Diecimila입니까? 그렇지 않다면 Tools | 올바른 보드에 보드하십시오. – wallyk

답변

0

당신이 정말로 "avrdude"로 할 수있는 일은 없다, 그러나 당신은 당신의 유형을 "AVR ISP"변경할 수 있습니다 enter image description here

관련 문제