极客工坊

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 10666|回复: 1

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

[复制链接]
发表于 2015-5-28 13:03:06 | 显示全部楼层 |阅读模式
如题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口了。
回复

使用道具 举报

 楼主| 发表于 2015-5-28 13:05:30 | 显示全部楼层
我在给mega2560烧写的时候也出现错误:
Double check connections and try again, or use -F to override
         this check.
是这个新的USBtinyISP有问题?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|联系我们|极客工坊

GMT+8, 2026-6-7 19:31 , Processed in 0.063061 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表