文号
934124
阅读
5511
回复
3
收藏
0
求助:ch340G无法与atmega通讯
2024/07/12
原创
IP:广东
关键词:飞控,嵌入式

本人单片机小白,在尝试做飞控的途中遇到了一些问题

先看图


Schematic_2-控制-Arduino-2.0_2024-07-12.png 23EBE2CE0BEDE54AA6CE03ED1BD42A6E.png 27E37DBAE4A4AB738277C80FF55137F3.png

07A42C8140A43F787F1EAF4A54059D9B.jpg

目前遇到的问题是ch340G可以与电脑通讯,但尝试写入程序时报错,错误如下

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

请教一下各位大佬问题出在哪里,谢谢!

ps:pcb确实画的有一些问题,如没有正确差分走线,布线太乱等问题,如果有我没有发现的,也请大家发表高见,谢谢

jing_hy作者
2年4个月前IP:广东
934141
3楼
引用暮羽要摸鱼发表于2楼的内容
我的直觉告诉我你没刷写BootLoader[表情]


我尝试过用arduino刷Bootloader,但好像失败了,后续可能会尝试其他方法


引用
评论
笔记
{{note.content}}
{{n.user.username}}
{{fromNow(n.toc)}} {{n.status === noteStatus.disabled ? "已屏蔽" : ""}} {{n.status === noteStatus.unknown ? "正在审核" : ""}} {{n.status === noteStatus.deleted ? '已删除' : ''}}
  • 编辑
  • 删除
  • {{n.status === 'disabled' ? "解除屏蔽" : "屏蔽" }}
我也是有底线的