Aquacolor

Aquacolor



备忘录 键盘如何烧录程序

zcxsb · 2024-10-26 · 60浏览 · 未分类



这是一个编程手册

如何将程序烧录到开发板?

使用USB连接模式,

1.点RESET按钮进入DFU模式,然后打开dfu-programmer

输入

2.dfu-programmer atmega32u4 erase

3.dfu-programmer atmega32u4 flash ./你的程序文件

(这个程序在arduino中选择Teensy 2.0进行编程,

也就是说你的代码引脚也是参照teensy 2.0 编译后选择项目-》导出已编译的二进制文件,

打开项目文件夹,

.hex文件为你的程序)

4.dfu-programmer atmega32u4 reset

5.插拔USB



©

comment 评论区

添加新评论

face表情



  • ©2026 bilibili.com

textsms
内容不能为空
昵称不能为空
email
邮件地址格式错误
web
beach_access
验证码不能为空
keyboard发表评论


star_outline 咱快来抢个沙发吧!




©2026 Aquacolor

Theme Romanticism2.2 by Akashi
Powered by Typecho