Arduino rescue

벽돌된 아두이노 복구하는 방법.

원인

  • 업로드 하다가 전기 나감
  • 잘 못 된 모델로 설정하고 업로드
  • 기타

Sparkfun pro micro

How to identify Arduino Mini Pro 5v vs 3.3v

The regulator should be marked K850(5.0V) or K833(3.3V).

A 5 volt part has a 16MHz resonator may be marked with "A1" or "A'N" A 3.3 volt part has a 8MHz resonator may be marked with "80'0"

https://forum.sparkfun.com/viewtopic.php?t=31518

원리

부팅

아두이노에도 컴퓨터의 바이오스 비슷한 것이 있고, 리셋 시 8초간 작동한다. 그 이후 업로드한 프로그램이 실행된다.

벽돌

이 업로드한 프로그램이 문제가 생기면 윈도우에서 인식이 안되고, 인식이 안되니 재업로드가 안된다.

복구

따라서, 리셋 후 펌이 작동하는 8초간 업로드를 해버리면 된다.

그런데 ''ctrl-u'로 작업할 때 컴파일하는 시간때문에 8초를 맞추기가 힘들다.

양덕형님이 다른 방법을 알려주셨는데

미리 컴파일된 것을 업로드만 하는 것임

"C:\Program Files\Arduino\hardware\tools\avr\bin\avrdude.exe" -CC:"\Program Files\Arduino\hardware\tools\avr\etc\avrdude.conf" -v -patmega32u4 -cavr109 -PCOM14 -b57600 -D -Uflash:w:C:\Users\dryoo\AppData\Local\Temp\Arduino\sketches\4F7EB36F9E14619B57DB4B6E700F28BD\Blink.ino.hex:i

이런식으로 미리 컴파일 된 결과물을 찾아서 경로를 지정하고 cmd.exe에서 리셋 누르고 실행하면 됨.