|
|
如题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
To disable this feasure, specify the -d option
avrdude.exe done. Thank you.
我的这个板子是之前升级完程式后接电脑无法发现com口了。 |
|