本文介绍了Mac + Uno + avrdude:stk500_recv():程序员没有响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I'm trying to upload .hex file to Arduino. I don't have any problems with uploading code through an IDE (like blink example or any other). The port and board are correct.

所以,当我尝试上传时出现问题

So, the problem appears when I try to upload

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
  • 尝试在按照建议发送字节后按重置 这里
  • I have 4 Uno's at the table (original + free versions), the same issue.
  • I have installed newest drivers from here, tried with and without them.
  • tried with avrdude which comes with Arduino IDE (1.0.5 and nightly builds) and newest avrdude v.6.1 brew install avrdude
  • different baud rates down to 9600
  • tried to press reset after bytes are sent like suggested here

推荐答案

使用成功解决十六进制上传器.

它是为将 .hex 文件写入 Arduino for Mac OS 而创建的.

It is created for flashing .hex files to Arduino for Mac OS.

其他操作系统的选项在 grbl 文档中描述.

Options for other OS are described in the grbl documentation.

这篇关于Mac + Uno + avrdude:stk500_recv():程序员没有响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-20 15:34