nano 烧录求助 急急急 求大佬指点-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 832|回复: 4

[未解决] nano 烧录求助 急急急 求大佬指点

[复制链接]
发表于 2021-11-29 13:21 | 显示全部楼层 |阅读模式
玩arduino第一次烧录就出现这样 求助大佬指点
Arduino:1.8.17 Hourly Build 2021/09/06 02:33 (Windows 10), 开发板:"Arduino Nano, ATmega328P"

In function 'setAngle',

    inlined from 'loop.part.1' at G:\A毕业论文\单片机\V21.9.30\V21.9.30.ino:592:13,

    inlined from 'loop',

    inlined from 'main' at H:\arduino\arduino-nightly-windows\arduino-nightly\hardware\arduino\avr\cores\arduino\main.cpp:46:7:

G:\A毕业论文\单片机\V21.9.30\V21.9.30.ino:485:10: warning: '__builtin_strcpy' writing 17 bytes into a region of size 15 overflows the destination [-Wstringop-overflow=]

项目使用了 23872 字节,占用了 (77%) 程序存储空间。最大为 30720 字节。

全局变量使用了755字节,(36%)的动态内存,余留1293字节局部变量。最大为2048字节。

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x8a

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x8a

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x8a

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x8a

avrdude: stk500_recv(): programmer is not responding

Problem uploading to board.  See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x8a

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x8a

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x8a

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x8a

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x8a

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x8a



在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。


发表于 2021-11-29 14:49 | 显示全部楼层
注意是不是需要按reset按钮
发表于 2021-11-29 15:08 | 显示全部楼层
 楼主| 发表于 2021-12-3 22:46 | 显示全部楼层
sangshu 发表于 2021-11-29 14:49
注意是不是需要按reset按钮

谢谢大佬 已解决
 楼主| 发表于 2021-12-3 22:46 | 显示全部楼层
lwq1947 发表于 2021-11-29 15:08
https://www.arduino.cn/forum.php?mod=viewthread&tid=99716&highlight=nano

谢谢大佬 已解决
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-28 19:44 , Processed in 0.072985 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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