ESP266超时等待报文头 [英] ESP266 Timed out waiting for packet header

查看:164
本文介绍了ESP266超时等待报文头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试刷新esp8266中的AT固件,但总是收到等待数据包头超时的错误.

I am trying to flash the AT firmware in esp8266 but I am always getting the error of timed out waiting for packet header.

注意:我正在使用esptool.py刷新芯片,并且已经有一些代码上传到该芯片,我已经使用Arduino IDE

Note : I am using esptool.py to flash the the chip and I already have some code uploaded to it, which I uploaded using Arduino IDE

这是我在编写Flash时遇到的错误:

Here is the error which i am getting while writing flash:

root@mayank-HP-Notebook:/home/mayank/Desktop# esptool.py -b 115200 -p /dev/ttyACM0 
write_flash 0x000000 "ESP_8266_BIN0.92.bin" esptool.py v1.2-dev 
Connecting... Running Cesanta flasher stub...

发生致命错误:等待数据包头超时

A fatal error occurred: Timed out waiting for packet header

推荐答案

通过USB连接到我的台式机时出现相同的问题.尝试了一切:更改电缆,但最终我将USB电缆放在另一个USB插槽中,并且可以正常工作!似乎台式机前面的无法使用的USB插槽是主板上USB的扩展,只有台式机背面的本机插槽适用于ESP闪存.从未遇到过其他问题.

Had the same issue while connected via USB to my desktop. Tried everything: changed even the cable but eventually I've put the USB cable in another USB slot and it worked !! Seems that the non-working USB slot in front of my desktop is an extension of the USB on motherboard, only the native slots in the back of my desktop are working for ESP-flash. Never experienced other issues with it.

这篇关于ESP266超时等待报文头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆