정보나눔

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

아두이노 관련해서 질문드립니다
dkstnwjd | 2016-06-08

현재 어떤 코드를 컴파일해도 다음과 같은 오류가 납니다 ㅠ 어떤 문제인지요.

원래 잘 됬었는데 갑자기 그러네요

프로필사진

Klant 2016-06-08 10:59:35

안녕하세요! dkstnwjd님

우선 해당 이슈에 대해 검색해본 결과 1.6.6 버전에서 위와 같은 이슈가 발생된다고 하네요. 

우선 안내된 해결 방법에 대해 알려드리겠습니다. 

1. 아두이노 IDE에 [도구] - [보드] - [Boards Manager] 들어가 주세요. 

2. Boards Manager에 들어가시면 가장 최상단에 Arduino AVR Boards라고 나와있는 것을 확인하실 수 있으실 겁니다. 

거기서 1.6.8 버전을 선택한 후 Install을 진행해주세요. 

3. 1.6.8 버전 설치가 완료 되었다면, 닫아주세요. 

 

* 그 후에 같은 이슈가 발생된다면 아래 과정을 진행하시면 됩니다. 이슈가 해결되었다면 그대로 사용하시면 되구요!

4. [도구] - [보드] - [Boards Manager] 들어가셔서 최상단 Arduino AVR Board에서 업데이트 또는 업그레이드를 선택합니다. 그럼 설치가 진행 될 겁니다. 

 

5. 설치가 완료되었다면 아래 경로에서 1.6.8 버전을 삭제해줍니다. 

C:\Users\per\AppData\Local\Arduino15\packages\arduino\hardware\avr and all files are deleted from C:\Program Files (x86)\arduino-nightly\hardware\tools.

 

해보시구 계속 안되시면 댓글 남겨주세요! 

프로필사진

dkstnwjd 2016-06-09 23:35:46

말씀해주신대로 했는데 이번에는 다른 오류가 뜨네요. 그리고 두번째 알려주신 경로는 찾을 수가 없어요..

다음과같은 오류메시지가 뜹니다.

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

경고: 코어 'Arduino AVR Boards'의 platform.txt는 오래된 recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}"를 포함하며, 자동으로 recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}"로 변환되었습니다. 이 코어를 업그레이드 하는 것이 좋습니다.
경고: 라이브러리 EEPROM에서 카테고리 ''가 유효하지 않습니다. 'Uncategorized'로 설정
경고: 라이브러리 SPI에서 카테고리 ''가 유효하지 않습니다. 'Uncategorized'로 설정
경고: 라이브러리 SoftwareSerial에서 카테고리 ''가 유효하지 않습니다. 'Uncategorized'로 설정
경고: 라이브러리 Wire에서 카테고리 ''가 유효하지 않습니다. 'Uncategorized'로 설정
C:\Program Files (x86)\Arduino\libraries\WiFi\src\utility\wifi_drv.cpp: In static member function 'static uint8_t WiFiDrv::getEncTypeNetowrks(uint8_t)':

C:\Program Files (x86)\Arduino\libraries\WiFi\src\utility\wifi_drv.cpp:451:10: warning: converting to non-pointer type 'uint8_t {aka unsigned char}' from NULL [-Wconversion-null]

   return NULL;

          ^

C:\Program Files (x86)\Arduino\libraries\WiFi\src\utility\wifi_drv.cpp: In static member function 'static int32_t WiFiDrv::getRSSINetoworks(uint8_t)':

C:\Program Files (x86)\Arduino\libraries\WiFi\src\utility\wifi_drv.cpp:476:10: warning: converting to non-pointer type 'int32_t {aka long int}' from NULL [-Wconversion-null]

   return NULL;

          ^


스케치는 프로그램 저장 공간 (43%) 중 14,054 바이트를 사용. 최대 32,256 바이트.
전역 변수는 (47%)의 동적 메모리중 976바이트를 사용, 1,072바이트의 지역변수가 남은. 최대는 2,048 바이트.
avrdude: ser_open(): can't open device "\\.\COM3": 지정된 파일을 찾을 수 없습니다.


보드에 업로딩중에 문제 발생. 다음을  참고하세요. http://www.arduino.cc/en/Guide/Troubleshooting#upload

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

프로필사진

Klant 2016-07-05 15:24:47

안녕하세요! 혹시 아두이노 IDE 삭제 후 최신 릴리즈 버전으로는 다운로드 받아보셨나요?

 

이전글   |    아두이노 메가에서 TFT LCD출력에 관하여 문의드립니다. ... 2016-06-07
다음글   |    앞선 질문에 대한 추가내용 입니다. 2016-06-09