Mac + Uno + avrdude: stk500_recv(): programmer is not responding
我正在尝试将
因此,当我尝试上传时会出现问题
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | avrdude -pm328p -carduino -P/dev/tty.usbmodemfd121 -b57600 -D -Uflash:w:grbl_v0_8c_atmega328p_16mhz_9600.hex -v -v -v -v avrdude: Version 6.1, compiled on Mar 23 2014 at 04:42:55 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is"/usr/local/Cellar/avrdude/6.1/etc/avrdude.conf" User configuration file is"/Users/Mikhail/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : /dev/tty.usbmodemfd121 Using Programmer : arduino Overriding Baud Rate : 57600 avrdude: Send: 0 [30] [20] avrdude: Send: 0 [30] [20] avrdude: Send: 0 [30] [20] avrdude: ser_recv(): programmer is not responding avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00 |
我试过的
- 我在桌子上有4个Uno(原始+免费版本),同样的问题。
- 我从这里安装了最新的驱动程序,尝试使用和不使用它们。
-
尝试使用Arduino IDE附带的avrdude(1.0.5和每夜构建)和最新的avrdude v.6.1
brew install avrdude - 波特率低至9600
- 尝试在发送字节后按复位,如此处建议的那样
对我来说固定的是:
- 断开USB电缆与Arduino的连接
- 尝试上传程序
- 这将失败,并且Arduino应用程序将询问您要使用哪个USB端口。
- 我做了两次
- 然后将USB电缆插入Arduino
- 上传您的程序...成功!
注意:在我安装Mikhail提到的驱动程序之前不久。
设置:Mac OS 10.9.5,Arduino.app 1.0.6,Arduino Duemilanove
失败的另一个原因:错误的引导程序
最近购买了一个Arduino nano,在尝试上传Blink进行测试时失败了。因为该板是在2018年1月之前制造的,所以只需选择处理器>" ATmega328P(旧的引导程序)"即可解决该问题(https://www.arduino.cc/zh/Guide/ArduinoNano#toc4)
有同样的问题。但是我通过转到工具->串行端口,然后选择tty.ADR6300-SerialPort来修复它
我在Ardunio Leonardo董事会上遇到了同样的问题。我注意到我忘记从IDE设置我的主板版本。选择正确的板(工具->板-> Ardunio Leonardo)后,问题解决了。
我刚从亚马逊购买了arduinomonkey纳米板,就遇到了这个确切的问题。我正在运行Arduino软件版本1.0.5和Mac OSX版本10.9.4。
我尝试了许多不同的建议(例如在上传时保持重置状态),但没有一个工作可靠。在所有文档中都指出,对于Mac,不需要更新的USB驱动程序,但是,我只是从以下网址下载了更新的驱动程序:http://www.ftdichip.com/Drivers/VCP.htm
(2.2.18)
下载并启动FTDI ..._ 10_4 _....文件后。安装完成后,返回到arduino IDE并上传了草图...它运行得非常完美!
我遇到了同样的错误,问题是我在模式中使用了TX / RX引脚(上传时需要自由)。
使用Hex Uploader成功解决。
它是为将
其他操作系统的选项在grbl文档中进行了描述。
昨晚我的Arduino Uno遇到了同样的问题。
用力撞墙后,我将Arduino IDE升级到1.6.0。
我是在Mac OS X上完成此操作的,只需从Arduino主页下载1.6.0。
安装完之后,然后在我的情况下选择合适的板,例如:/ dev / tty / usbmodem ____(Arduino Uno)
错误已解决,我可以再次上载程序而不必按任何棘手的重置按钮,即,在程序上传后一秒钟,按住重置按钮5秒钟。
好吧,这对我有用,希望对其他人有用!