Linknode R4错误:espcomm_upload_mem失败

时间:2017-08-06 13:44:09

标签: arduino-esp8266

我对这类事情很陌生,所以任何帮助都会受到赞赏。我花了2天时间试图纠正我得到的错误,但我仍然没有运气。我在这里按照本教程http://www.themakersworkbench.com/tutorial/how-use-amazon-alexa-control-linknode-r4-esp8266-4-channel-relay-board。我使用他在教程中链接的相同电缆(://amzn.to/2h7PdEz)(usb到uart电缆)(://amzn.to/2h7RDDf)(5v 2a电源)。我从提供的链接中收集了代码并使用相关信息更新它以连接到我的wifi,除此之外我没有对代码进行任何更改。 (他们不会让我把链接放入,因为这是我的第一篇文章,只需将http添加到链接的前面)

我遇到的问题是,当我尝试将我的代码上传到主板上时,代码编译得很好,然后遇到下面列出的错误。我确信这很简单,我到处搜索确保正确的设置,但我仍然无法上传代码。我甚至尝试在115200进入“AT”并获得输出`UC的串行监视器。只是为了涵盖一些基础知识,我将tx连接到电路板上的rx,将rx连接到电路板上的tx,并接地。电源打开,我可以看到电源指示灯点亮,直接插入墙壁。我下载了1.8.3 arduino ide并安装了ESP8266板卡管理器,我使用通用版闪存模式QIO,波特率为115200。

感谢您抽出时间来看看这个,我又很新,所以如果这个问题已经得到解答,请指导我正确的方向(我自己搜索了很多)。

Arduino: 1.8.3 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, 40MHz, QIO, 115200, 512K (64K SPIFFS), ck, Disabled, None"

Build options changed, rebuilding all
Archiving built core (caching) in: C:\Users\Bro2D2\AppData\Local\Temp\arduino_cache_585316\core\core_esp8266_esp8266_generic_CpuFrequency_80,FlashFreq_40,FlashMode_qio,UploadSpeed_115200,FlashSize_512K64,ResetMethod_ck,Debug_Disabled,DebugLevel_None_____f179b2dc0cd843b50353b7c87d0452e9.a
Sketch uses 250081 bytes (57%) of program storage space. Maximum is 434160 bytes.
Global variables use 37816 bytes (46%) of dynamic memory, leaving 44104 bytes for local variables. Maximum is 81920 bytes.
C:\Users\Bro2D2\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.9/esptool.exe -vv -cd ck -cb 115200 -cp COM3 -ca 0x00000 -cf C:\Users\Bro2D2\AppData\Local\Temp\arduino_build_953054/wemos.ino.bin 
esptool v0.4.9 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
    setting board to ck
    setting baudrate from 115200 to 115200
    setting port from COM1 to COM3
    setting address from 0x00000000 to 0x00000000
    espcomm_upload_file
    espcomm_upload_mem
    setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
    flush start
    setting serial port timeouts to 1 ms
    setting serial port timeouts to 1000 ms
    flush complete
    espcomm_send_command: sending command header
    espcomm_send_command: sending command payload
    serialport_receive_C0: E0 instead of C0
trying to connect
    flush start
    setting serial port timeouts to 1 ms
    setting serial port timeouts to 1000 ms
    flush complete
    espcomm_send_command: sending command header
    espcomm_send_command: sending command payload
    serialport_receive_C0: E0 instead of C0
trying to connect
    flush start
    setting serial port timeouts to 1 ms
    setting serial port timeouts to 1000 ms
    flush complete
    espcomm_send_command: sending command header
    espcomm_send_command: sending command payload
    serialport_receive_C0: E0 instead of C0
resetting board
trying to connect
    flush start
    setting serial port timeouts to 1 ms
    setting serial port timeouts to 1000 ms
    flush complete
    espcomm_send_command: sending command header
    espcomm_send_command: sending command payload
    serialport_receive_C0: E0 instead of C0
trying to connect
    flush start
    setting serial port timeouts to 1 ms
    setting serial port timeouts to 1000 ms
    flush complete
    espcomm_send_command: sending command header
    espcomm_send_command: sending command payload
    serialport_receive_C0: E0 instead of C0
trying to connect
    flush start
    setting serial port timeouts to 1 ms
    setting serial port timeouts to 1000 ms
    flush complete
    espcomm_send_command: sending command header
    espcomm_send_command: sending command payload
    serialport_receive_C0: E0 instead of C0
resetting board
trying to connect
    flush start
    setting serial port timeouts to 1 ms
    setting serial port timeouts to 1000 ms
    flush complete
    espcomm_send_command: sending command header
    espcomm_send_command: sending command payload
    serialport_receive_C0: E0 instead of C0
trying to connect
    flush start
    setting serial port timeouts to 1 ms
    setting serial port timeouts to 1000 ms
    flush complete
    espcomm_send_command: sending command header
    espcomm_send_command: sending command payload
    serialport_receive_C0: E0 instead of C0
trying to connect
    flush start
    setting serial port timeouts to 1 ms
    setting serial port timeouts to 1000 ms
    flush complete
    espcomm_send_command: sending command header
    espcomm_send_command: sending command payload
    serialport_receive_C0: E0 instead of C0
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

1 个答案:

答案 0 :(得分:0)

我不知道如何解决您的具体问题,但我遇到了同样的错误,最终它是我的USB线的驱动程序。我相信你的电话线的驱动程序可以是found here