아래 링크에서 zadig를 받아서 실행하면 아래와 같이 뜨는데
[링크 : http://zadig.akeo.ie/] 드라이버
USBasp 를 찾아서 (USB ID 16C0 05DC)
드라이버를 WinUSB 에서 libusbk로 바꾼후 install driver를 하면 된다..(꽤나 삽질했네 -_-)
WinDriver로 깔면 아래와 같이 에러가 발생하면서 장치를 못 찾는다
C:\win32_executable>avrdude -cusbasp -Pusb -pm128 -v avrdude: Version 6.3, compiled on Feb 17 2016 at 09:25:53 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "C:\win32_executable\avrdude.conf" Using Port : usb Using Programmer : usbasp avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp' avrdude done. Thank you. |
libusbk로 깔고 나서 해결 -_-
C:\win32_executable>avrdude -cusbasp -Pusb -pm128 -v avrdude: Version 6.3, compiled on Feb 17 2016 at 09:25:53 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "C:\win32_executable\avrdude.conf" Using Port : usb Using Programmer : usbasp AVR Part : ATmega128 Chip Erase delay : 9000 us PAGEL : PD7 BS2 : PA0 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 4 12 64 0 no 4096 8 0 9000 9000 0xff 0xff flash 33 6 128 0 yes 131072 256 512 4500 4500 0xff 0xff lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 calibration 0 0 0 0 no 4 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: auto set sck period (because given equals null) avrdude: warning: cannot set sck period. please check for usbasp firmware update. avrdude: error: program enable: target doesn't answer. 1 avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check. avrdude done. Thank you. |
[링크 : http://www.fischl.de/usbasp/]
[링크 : http://download.savannah.gnu.org/releases/avrdude/] avrdude
[링크 : https://rlogiacco.wordpress.com/2016/09/01/usbasp-windows-10/]
'embeded > AVR (ATmega,ATtiny)' 카테고리의 다른 글
keil bootloader example - avr/atmel (0) | 2017.11.17 |
---|---|
avrdude -U 옵션 (0) | 2017.11.13 |
avr 저전압 감지 (0) | 2017.08.11 |
avr bod(Brown out Detect) (0) | 2017.08.11 |
avr pwm 관련 (0) | 2017.04.19 |