『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 3988|回复: 6

[技术探讨] nodemcu 32s刷ESPHOME遇到问题

[复制链接]

13

主题

159

帖子

1094

积分

论坛技术达人

积分
1094
金钱
925
HASS币
70

教程狂人

发表于 2019-4-28 22:48:45 | 显示全部楼层 |阅读模式
为啥我的nodemcu 32s用usb刷不进去,求助
提示:
Retrieving maximum program size .pioenvs/esp32/firmware.elf
Checking size .pioenvs/esp32/firmware.elf
DATA:    [=         ]  12.3% (used 40176 bytes from 327680 bytes)
PROGRAM: [=====     ]  51.8% (used 848106 bytes from 1638400 bytes)
Configuring upload protocol...
AVAILABLE: esp-prog, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Use manually specified: /dev/cu.SLAB_USBtoUART
Uploading .pioenvs/esp32/firmware.bin
esptool.py v2.6
Serial port /dev/cu.SLAB_USBtoUART
Connecting........_____....._____....._____....._____....._____....._____....._____

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
*** [upload] Error 2
========================== [ERROR] Took 64.18 seconds ========================

回复

使用道具 举报

71

主题

1147

帖子

6345

积分

论坛元老

Rank: 8Rank: 8

积分
6345
金钱
5193
HASS币
30
发表于 2019-4-29 06:37:01 | 显示全部楼层
偶尔遇到,多刷几次就可以了
回复

使用道具 举报

1

主题

143

帖子

3426

积分

论坛元老

Rank: 8Rank: 8

积分
3426
金钱
3283
HASS币
0
发表于 2019-4-29 08:53:24 | 显示全部楼层
Note
If you’re just seeing Connecting....____.... on the screen and the flashing fails, that might be a sign that the ESP is defect or cannot be programmed. Please double check the UART wires are connected correctly if flashing using a USB to UART bridge. For some devices you need to keep pressing the BOOT button until flashing has begun (ie. Geekcreit DOIT ESP32 DEVKIT V1).
回复

使用道具 举报

23

主题

1335

帖子

6585

积分

超级版主

Rank: 8Rank: 8

积分
6585
金钱
5225
HASS币
100

教程狂人

发表于 2019-4-29 09:21:26 | 显示全部楼层
看上去是数据线的问题,因为前面的都是正常的,开始刷机才出现连接异常
回复

使用道具 举报

12

主题

188

帖子

785

积分

高级会员

Rank: 4

积分
785
金钱
597
HASS币
0
发表于 2019-4-29 11:52:14 | 显示全部楼层
不稳定,多试试就好了
回复

使用道具 举报

13

主题

159

帖子

1094

积分

论坛技术达人

积分
1094
金钱
925
HASS币
70

教程狂人

 楼主| 发表于 2019-5-1 23:06:44 | 显示全部楼层
Mac试了好几回,居然成功了,感觉是Mac旧驱动不大稳定的问题。
回复

使用道具 举报

0

主题

169

帖子

625

积分

高级会员

Rank: 4

积分
625
金钱
456
HASS币
0
发表于 2020-2-22 15:56:14 | 显示全部楼层
感谢大神分享,翰思彼岸有你更精彩
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-17 19:52 , Processed in 0.050302 second(s), 29 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表