Archer13 发表于 2015-5-28 13:03:06

mega 2560板子上的16U2怎么用USBtinyISP升级固件?

如题mega 2560板子上的16U2怎么用USBtinyISP升级固件?
我用淘宝买的USBtinyISP连接后在cmd命令中输入
avrdude -p at90usb162 -F -P usb -c usbtiny -U flash:w:Arduino-COMBINED-dfu-usbserial-atmega16u2-Mega2560-Rev3.hex -U lfuse:w:0xFF:m -U hfuse:w:0xD9:m -U efuse:w:0xF4:m -U lock:w:0x0F:m

显示结果:
avrdude.exe: initialization failed, rc=-1
avrdude.exe: AVR device initialized and ready to accept instructions
avrdude.exe: Device signature = 0x000000
avrdude.exe: Yikes!Invalid device signature.
avrdude.exe: Expected signature for ATMEGA16 is 1E 94 03
avrdude.exe:NOTE: FLASH memory has been specified,an erase cycle will be performed
Todisable this feasure, specify the -d option
avrdude.exe done.Thank you.
我的这个板子是之前升级完程式后接电脑无法发现com口了。

Archer13 发表于 2015-5-28 13:05:30

我在给mega2560烧写的时候也出现错误:
Double check connections and try again, or use -F to override
         this check.
是这个新的USBtinyISP有问题?
页: [1]
查看完整版本: mega 2560板子上的16U2怎么用USBtinyISP升级固件?