2016-06-25 1 views
0

지금 나는이 일을 망쳤다.부트로드 ATmega 328P-PU "target does'nt answer"

업데이트 된 USBasp로 328p를 부트 로딩합니다.

부트로드 할 수없는 새로운 Arduino UNO에서 새로운 328p를 얻었습니다. 계속 내게주는거야 :

avrdude: error: programm enable: target doesn't answer. 1 
avrdude: initialization failed, rc=-1 
    Double check connections and try again, or use -F to override 
    this check. 

지금 죽은 이베이에서 나온 오래된 328p는 부트 로딩하는 데 문제가 없었습니다!

그리고 예. 나는 내 연결을 확인하고 그들을 10 번 측정했다. 또한 USBasp의 펌웨어를 업데이트했습니다.

arduino의 328p가 어떤 방식으로 잠겨 있습니까? 이것에 대한 아이디어가 있습니까?

전체 출력 :

avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25 
    Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ 
    Copyright (c) 2007-2009 Joerg Wunsch 

    System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf" 
    User configuration file is "/Users/madsgadebergjensen/.avrduderc" 
    User configuration file does not exist or is not a regular file, skipping 

    Using Port     : usb 
    Using Programmer    : usbasp 
    AVR Part      : ATmega328P 
    Chip Erase delay    : 9000 us 
    PAGEL       : PD7 
    BS2       : PC2 
    RESET disposition    : dedicated 
    RETRY pulse     : SCK 
    serial program mode   : yes 
    parallel program mode   : yes 
    Timeout      : 200 
    StabDelay      : 100 
    CmdexeDelay     : 25 
    SyncLoops      : 32 
    ByteDelay      : 0 
    PollIndex      : 3 
    PollValue      : 0x53 
    Memory Detail     : 

           Block Poll    Page      Polled 
     Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack 
     ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- 
     eeprom  65 20  4 0 no  1024 4  0 3600 3600 0xff 0xff 
     flash   65  6 128 0 yes  32768 128 256 4500 4500 0xff 0xff 
     lfuse   0  0  0 0 no   1 0  0 4500 4500 0x00 0x00 
     hfuse   0  0  0 0 no   1 0  0 4500 4500 0x00 0x00 
     efuse   0  0  0 0 no   1 0  0 4500 4500 0x00 0x00 
     lock   0  0  0 0 no   1 0  0 4500 4500 0x00 0x00 
     calibration 0  0  0 0 no   1 0  0  0  0 0x00 0x00 
     signature  0  0  0 0 no   3 0  0  0  0 0x00 0x00 

    Programmer Type : usbasp 
    Description  : USBasp, http://www.fischl.de/usbasp/ 

avrdude : 자동 설정 SCK 기간 (주어가 null 동일하기 때문에) avrdude : 오류 : programm에 활성화 : 대상이 응답하지 않습니다. 1 avrdude : 초기화에 실패했습니다. rc = -1 연결을 다시 확인하고 다시 시도하거나 -F를 사용하여 이 확인을 무시합니다.

avrdude done. 고맙습니다.

부트 로더를 굽는 동안 오류가 발생했습니다.

답변

0

avrdude 프로그램을 명령 줄에서 사용해 보셨습니까? 이 폴더 (CMD)에

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\ 

이동 당신은 avrdude.exe 파일을 참조해야합니다

일반적으로, 당신의 avrdude.exe를 찾습니다.

유형이 :

avrdude.exe -C"C:\Program Files (x86)\Arduino\hardware/tools/avr/etc/avrdude.conf" 
-v -pm328p -cusbasp -U lfuse:w:0xE2:m -U hfuse:w:0xD9:m -U efuse:w:0x07:m 

설명 :

-v: Verbose mode. 
-pm328p: Chip model. 
-cusbasp: Programmer 
Set fuses, in the example LFUSE:E2 HFUSE:D9 EFUSE:07. 

확인 및 여기에 새 퓨즈를 계산할 수 있습니다 :이 문제를 해결 http://www.engbedded.com/fusecalc/

희망.

감사합니다.