Atmel Studio 烧录 Atmega328P(Arduiono)
Atmel Studio 烧录 Atmega328P(Arduiono)
一、准备工作
1. 安装 AtmelStudio 7
2. 安装AVRDUDE
二、 新建ASF项目
![](https://img2020.cnblogs.com/blog/1827502/202105/1827502-20210523164232584-798589202.png)
![](https://img2020.cnblogs.com/blog/1827502/202105/1827502-20210523164300901-76269060.png)
![](https://img2020.cnblogs.com/blog/1827502/202105/1827502-20210523164328191-893953787.png)
三、 配置 External Tools 参数
![](https://img2020.cnblogs.com/blog/1827502/202105/1827502-20210523164354254-882005785.png)
![](https://img2020.cnblogs.com/blog/1827502/202105/1827502-20210523164416511-1780417585.png)
-
Command: C:\WinAVR-20100110\bin\avrdude.exe
-
Arguments: -C "C:\WinAVR-20100110\bin\avrdude.conf" -p atmega328p -c arduino -P COM5 -b 115200 -U flash:w:"$(ProjectDir)Debug\$(TargetName).hex":i
注: 以上参数需根据本机安装路径作适当调整.
![](https://img2020.cnblogs.com/blog/1827502/202105/1827502-20210523164452734-1824767622.png)