Arduino _command_line_ sketch upload:avrdude:stk500_recv():程序员没响应

时间:2016-06-07 07:13:21

标签: arduino avrdude

尝试从命令行上传草图时,我得到了

avrdude -vvv -F -V -c arduino -p ATMEGA328P -P /dev/ttyACM0 -b 115200 -U flash:w:test.hex 

avrdude: Version 6.0.1, compiled on Oct 21 2013 at 15:55:32
    Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
    Copyright (c) 2007-2009 Joerg Wunsch

    System wide configuration file is "/etc/avrdude.conf"
    User configuration file is "/home/toni/.avrduderc"
    User configuration file does not exist or is not a regular file, skipping

    Using Port                    : /dev/ttyACM0
    Using Programmer              : arduino
    Overriding Baud Rate          : 115200
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

但是来自Arduino IDE的它可以完美地运行,所以很明显,IDE正在做一些我不知道的事情。

我尝试过激活“在上传期间显示详细输出”,但输出窗口历史记录太短,无法查看启动的命令。我只能看到成功上传的结束。

我猜测IDE会在已经加载的草图开始运行之前以某种方式重置Arduino与booloader交谈

我可以从命令行(没有IDE )执行此操作吗?

0 个答案:

没有答案