我已经摆弄了这个问题,现在已经过了几天。
我用现在更新的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.
现在已经死了的旧ebay的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 enable:target没有回答。 1 avrdude:初始化失败,rc = -1 仔细检查连接并重试,或使用-F覆盖 这张支票。
完成了avrdude。谢谢。刻录引导加载程序时出错。
答案 0 :(得分:1)
您是否尝试从命令行使用avrdude程序?
找到你的avrdude.exe,通常是:
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\
转到此文件夹(CMD),您必须看到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/
希望这可以解决您的问题。
祝你好运