我可以再倒流ESP8266

发布于 2025-01-18 07:59:17 字数 831 浏览 1 评论 0 原文

突然,我无法重新冲洗一对 esp8266

我一直在使用Arduino(C ++)和 micropython 一年多,但是昨天他们不再工作了。错误是

gabriel@gear:~/.local/bin$ ./esptool.py --port /dev/ttyUSB0 --baud 115200 erase_flash
esptool.py v3.3
Serial port /dev/ttyUSB0
Connecting......................................

A fatal error occurred: Failed to connect to Espressif device: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html

我尝试了在互联网上发现的所有技巧和黑客,但无济于事(我尝试了1.0至3.3的 esptool.py ,接地I/O PIN GPIO0等)

我是否将永远?

Suddenly I was unable to reflash a pair of ESP8266 boards (one nodeMCU, and one Wemos D1).

I had been using those for testing/developing a remote temperature and humidity sensor station with Arduino (C++) and MicroPython for over a year, but yesterday they didn’t work any more. The error was

gabriel@gear:~/.local/bin$ ./esptool.py --port /dev/ttyUSB0 --baud 115200 erase_flash
esptool.py v3.3
Serial port /dev/ttyUSB0
Connecting......................................

A fatal error occurred: Failed to connect to Espressif device: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html

I tried every trick and hack found on the Internet, to no avail (I tried esptool.py from 1.0 through 3.3, grounded I/O pin GPIO0, etc.)

Did I brick my boards forever?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

三生池水覆流年 2025-01-25 07:59:17

您不敢相信:问题是板在重新扫描时仍与DHT11传感器连接在一起,这是我从第1天开始一直在做的事情。

出于沮丧,我撤出了DHT11传感器,使董事会与任何事物毫无联系它最终工作:

./esptool.py --port /dev/ttyUSB0 --baud 115200 erase_flash

输出

esptool.py v3.3
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 5c:cf:7f:3d:10:36
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 10.0s
Hard resetting via RTS pin...

良好,DHT11数据引脚连接到D3,即GPIO0。

You wouldn't believe it: the problem was the boards were still connected to the DHT11 sensor while reflashing, something I've been doing from day 1.

Out of frustration, I pulled out the DHT11 sensor, leaving the board unconnected to anything and it finally worked:

./esptool.py --port /dev/ttyUSB0 --baud 115200 erase_flash

Output

esptool.py v3.3
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 5c:cf:7f:3d:10:36
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 10.0s
Hard resetting via RTS pin...

Well, the DHT11 data pin was connected to D3, which is GPIO0.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文