Arduino的素描上传问题 - AVRDUDE:stk500_recv():程序员没有响应 [英] Arduino Sketch upload issue - avrdude: stk500_recv(): programmer is not responding

查看:852
本文介绍了Arduino的素描上传问题 - AVRDUDE:stk500_recv():程序员没有响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Arduino Duemilanove用的Atmega 328.我在Ubuntu 12.04工作,以及Arduino的IDE的版本是1.0。最近,我试过几个样品草图上传到它,如眨眼之一。然而,没有我的尝试正在和他们导致我每次尝试时同样的错误 - AVRDUDE:stk500_recv():程序员没有响应

I have an Arduino Duemilanove with an Atmega 328. I am working on Ubuntu 12.04, and the Arduino IDE's version is 1.0. Recently, I tried to upload a few of the sample sketches onto it, such as the Blink one. However, none of my attempts are working and they result in the same error every time I try it - avrdude: stk500_recv(): programmer is not responding.

我已经启用了为/ dev / ttyUSB0下的工具 - >串行端口。我也从列表中选择正确的板(Duemilanove用的Atmega 328)。然而,我不能够解决这个问题。我已在网上搜索,以及,没有这个问题的其他答复似乎为我工作。有人能告诉我为什么我遇到这个问题,并帮助我解决这个问题?

I have enabled '/dev/ttyUSB0' under Tools -> Serial Port. I have also selected the correct board (Duemilanove with Atmega 328) from the list. Yet, I am not able to resolve the issue. I have searched online as well and none of the other responses for this problem seem to be working for me. Could someone tell me why I am encountering this issue and help me resolve it?

更新:我尝试打开板载的Atmega,并在另一个方向装修。现在,我遇到的问题没有上传,但没有任何反应之后。板载LED也似乎不闪烁。

Update: I tried turning the onboard Atmega and fitting it in the other direction. Now, I encounter no problems uploading, but nothing happens afterwards. The onboard LED also does not seem to be blinking.

推荐答案

我有这个问题与Crowduino,OSX上运行的Arduino IDE。对我来说,解决办法是在上传过程中的详细输出开关(在Arduino的IDE preferences窗格)。

I had this problem with a Crowduino, running the Arduino IDE on OSX. The solution for me was to switch on verbose output during upload (in the arduino IDE preferences pane).

然后,上传时,你可以看到AVRDUDE发送三包 AVRDUDE:发送:0 [30] [20] (与板上相应的RX闪烁)权利之前在 AVRDUDE:ser_recv():程序员没有响应错误

Then, when uploading, you can see avrdude sending three packets avrdude: Send: 0 [30] [20] (with corresponding RX flashes on the board) right before the avrdude: ser_recv(): programmer is not responding error.

诀窍是打在板上的复位按钮,这三个数据包被发送之前立即。然后程序会被上传成功。

The trick is to hit the reset button on the board immediately before these three packets are sent. Then the program will be uploaded successfully.

这篇关于Arduino的素描上传问题 - AVRDUDE:stk500_recv():程序员没有响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆