Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/arduino/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Arduino Mac+;Uno+;avrdude:stk500_recv():程序员没有响应_Arduino_Avrdude_Arduino Uno - Fatal编程技术网

Arduino Mac+;Uno+;avrdude:stk500_recv():程序员没有响应

Arduino Mac+;Uno+;avrdude:stk500_recv():程序员没有响应,arduino,avrdude,arduino-uno,Arduino,Avrdude,Arduino Uno,我正在尝试将.hex文件上载到Arduino。通过IDE上传代码(如blink示例或任何其他)我没有任何问题。端口和电路板正确 因此,当我尝试上载时出现问题 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

我正在尝试将
.hex
文件上载到Arduino。通过IDE上传代码(如blink示例或任何其他)我没有任何问题。端口和电路板正确

因此,当我尝试上载时出现问题

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安装avrdude
  • 不同波特率降至9600
  • 按建议发送字节后尝试按重置

我刚从亚马逊买了一个arduinomonkey纳米板,遇到了这个问题。我正在运行Arduino软件版本1.0.5和mac osx版本10.9.4

我尝试了许多不同的建议(比如在上传时按住重置键),但没有一个是可靠的。在所有文件中,它声明Mac不需要更新的USB驱动程序,但是,我只是从以下网站下载了更新的驱动程序: (2.2.18)


下载并启动FTDI后…\u 10\u 4\u。。。。文件安装完成后,返回arduino IDE并上传了一个草图…它工作得非常好

我对Ardunio Leonardo董事会也有同样的问题。我注意到我忘了从IDE设置板版本。在选择了正确的电路板(工具-->电路板-->Ardunio Leonardo)后,问题解决了。

为我解决的是:

  • 断开USB电缆与Arduino的连接
  • 尝试上传你的程序
  • 这将失败,Arduino应用程序将询问您要使用哪个USB端口
  • 我做了两次
  • 然后将USB电缆插入Arduino
  • 上传你的程序。。。成功
注意:在我安装Mikhail提到的驱动程序之前不久


设置:Mac OS 10.9.5,Arduino.app 1.0.6,Arduino Duemilanove

昨晚我的Arduino Uno也有同样的问题。 在我的头撞到墙上之后,我将Arduino IDE升级到1.6.0。。 我在MacOSX上做到了这一点,只需从Arduino主页下载1.6.0即可

在安装了这个之后,然后在我的例子中选择了合适的板,比如:/dev/tty/usbmodem\uuuuuuuuu(Arduino Uno)

该错误已被纠正,我可以再次上传程序,而无需按下任何复杂的重置按钮,即在程序上传后一秒钟按住重置按钮5秒钟

好吧,这对我来说很有用,希望对其他人有用

已成功解决

它是为将
.hex
文件闪烁到Mac OS的Arduino而创建的


其他操作系统的选项如中所述。

也有同样的问题。但是我的解决方法是转到工具->串行端口,然后选择tty.ADR6300串行端口,还有一个失败的原因:错误的引导加载程序


最近购买了Arduino nano,当尝试上传Blink进行测试时失败。由于该电路板是在2018年1月之前生产的,仅选择处理器>“ATmega328P(旧引导加载程序)”就解决了问题()

我也有同样的错误,问题是我在我的模式中使用了引脚TX/RX(上传时需要它们是免费的)。

根据[hoi pollio的回答这里][1]在正确的时间点击电路板上的重置按钮为我工作。[1] :这在今天的macOS Sierra 10.12.4上使用Arduino应用程序1.8.2和Arduino Uno有效。在macOS Mojave 10.14.6上出现了相同的问题,安装了更新的驱动程序,最终重新工作。这也为我做到了:)