哪有适合AT90USB162的Bootloader,如何烧写Bootloader及程序

哪有适合AT90USB162的Bootloader,如何烧写Bootloader及程序,第1张

通过改变Avrdude的-c参数,选择usbtiny,貌似可以写进去了

E:\Teensy>avrdude -p at90usb162 -F -P usb -c usbtiny -U flash:w:TeensyHID.hex -U lfuse:w:0xFF:m -U hfuse:w:0xDB:m -U efuse:w:0xF4:m -U lock:w:0x0F:m

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.05s

avrdude: Device signature = 0x1e9482

avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed

To disable this feature, specify the -D option.

avrdude: erasing chip

avrdude: reading input file "TeensyHID.hex"

avrdude: input file TeensyHID.hex auto detected as Intel Hex

avrdude: writing flash (16338 bytes):

Writing | ################################################## | 100% 11.45s

avrdude: 16338 bytes of flash written

avrdude: verifying flash memory against TeensyHID.hex:

avrdude: load data flash data from input file TeensyHID.hex:

avrdude: input file TeensyHID.hex auto detected as Intel Hex

avrdude: input file TeensyHID.hex contains 16338 bytes

avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 10.82s

avrdude: verifying ...

avrdude: 16338 bytes of flash verified

avrdude: reading input file "0xFF"

avrdude: writing lfuse (1 bytes):

Writing | ################################################## | 100% 0.02s

avrdude: 1 bytes of lfuse written

avrdude: verifying lfuse memory against 0xFF:

avrdude: load data lfuse data from input file 0xFF:

avrdude: input file 0xFF contains 1 bytes

avrdude: reading on-chip lfuse data:

Reading | ################################################## | 100% 0.02s

avrdude: verifying ...

avrdude: 1 bytes of lfuse verified

avrdude: reading input file "0xDB"

avrdude: writing hfuse (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of hfuse written

avrdude: verifying hfuse memory against 0xDB:

avrdude: load data hfuse data from input file 0xDB:

avrdude: input file 0xDB contains 1 bytes

avrdude: reading on-chip hfuse data:

Reading | ################################################## | 100% 0.01s

avrdude: verifying ...

avrdude: 1 bytes of hfuse verified

avrdude: reading input file "0xF4"

avrdude: writing efuse (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of efuse written

avrdude: verifying efuse memory against 0xF4:

avrdude: load data efuse data from input file 0xF4:

avrdude: input file 0xF4 contains 1 bytes

avrdude: reading on-chip efuse data:

Reading | ################################################## | 100% 0.01s

avrdude: verifying ...

avrdude: 1 bytes of efuse verified

avrdude: reading input file "0x0F"

avrdude: writing lock (1 bytes):

Writing | ################################################## | 100% 0.03s

avrdude: 1 bytes of lock written

avrdude: verifying lock memory against 0x0F:

avrdude: load data lock data from input file 0x0F:

avrdude: input file 0x0F contains 1 bytes

avrdude: reading on-chip lock data:

Reading | ################################################## | 100% 0.01s

avrdude: verifying ...

avrdude: 1 bytes of lock verified

avrdude: safemode: Fuses OK

avrdude done. Thank you.


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/11763834.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-18
下一篇 2023-05-18

发表评论

登录后才能评论

评论列表(0条)

保存