정보나눔

오픈소스하드웨어 프로젝트에 대한 다양한 정보를 나누는 공간입니다.

아두이노 따라하기(p29)_blink 컴파일 오류
오선경 | 2015-12-16

안녕하세요, 반갑습니다.

사물인터넷을 위한 아두이노 따라하기 학습가이드를 사서 막 따라 하려고 합니다.

그런데 오렌지보드에 blink 예제 파일을 업로드 시켰는데 에러가 났습니다.

아래는 오류메세지를 복사한 것입니다.

어떻게 해결해야 하나요?

------------------------------------------------------------------------------------------------

아두이노:1.6.6 (Windows 7), 보드:"Arduino/Genuino Uno"

스케치는 프로그램 저장 공간 (3%) 중 1,030 바이트를 사용. 최대 32,256 바이트.
전역 변수는 (0%)의 동적 메모리중 9바이트를 사용, 2,039바이트의 지역변수가 남은. 최대는 2,048 바이트.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xba
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xba
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xba
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xba
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xba
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xba
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xba
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xba
avrdude: stk500_recv(): programmer is not responding
보드에 업로딩중에 문제 발생. 다음을  참고하세요. http://www.arduino.cc/en/Guide/Troubleshooting#upload
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xba
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xba

  이 리포트는 많은 정보를 포함합니다
  "컴파일하는 동안 상세 출력 보이기"
  파일 > 설정에 사용가능하게 됨

프로필사진

수박쨈 2015-12-17 13:20:21

1. 혹시 FTDI드라이버를 설치하지 않으셨다면 아래 링크에 따라 설치해 보세요.

   FTDI드라이버 설치하기 - http://kocoafab.cc/tutorial/view/489

 

2. 아두이노 스케치에서 도구 - 시리얼 포트에 가서 아두이노가 연결된 포트가 제대로 선택되었는지 확인해 보세요.

    보통은 아두이노 하나만 연결할 경우 아두이노와 연결된 포트 하나만 생기지만

    간혹 컴퓨터에 따라 COM1, COM3, COM4 등으로 이렇게 여러가지가 있을 수 있는데

    오렌지 보드가 아닌 다른 포트를 잡고 있을 경우 이런 에러가 생길 수 있습니다.

 

위 방법대로 했는데도 안됐을 경우에는 다시 댓글을 달아주세요.

프로필사진

오선경 2015-12-18 22:17:26

고맙습니다. 포트를 틀리게 잡아서 생긴 문제였습니다.

프로필사진

gkdis0222 2019-06-05 14:36:30

스케치는 프로그램 저장 공간 2074 바이트(6%)를 사용. 최대 32256 바이트.
전역 변수는 동적 메모리 111바이트(5%)를 사용, 1937바이트의 지역변수가 남음.  최대는 2048 바이트. 
avrdude: verification error, first mismatch at byte 0x0119
         0xa4 != 0x30
avrdude: verification error; content mismatch
avrdude: verification error; content mismatch

 

이 오류가 뜨는데 어떻게 해야하죠?ㅜㅜ

이전글   |    네오픽셀 질문 2015-12-16
다음글   |    초음파센서 2015-12-18