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

查看:58
本文介绍了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-flash.从未遇到过其他问题.

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天全站免登陆