找回密码
 立即注册
查看: 2251|回复: 8

[求助] 求救 sonoff m5 switch 刷Esphome失敗

[复制链接]

2

主题

8

回帖

1761

积分

金牌会员

积分
1761
金钱
1751
HASS币
0
发表于 2023-4-8 17:14:34 | 显示全部楼层 |阅读模式
一直失敗,求高手
代碼
Using 'COM10' as serial port.
Connecting.....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Detecting chip type... ESP32
Connecting...

Chip Info:
- Chip Family: ESP32
- Chip Model: unknown ESP32 (revision 3)
- Number of Cores: 2
- Max CPU Frequency: 240MHz
- Has Bluetooth: YES
- Has Embedded Flash: NO
- Has Factory-Calibrated ADC: YES
- MAC Address: 54:43:B2:70:2E:5C
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
- Flash Size: 4MB
- Flash Mode: dio
- Flash Frequency: 40MHz
Erasing flash (this may take a while)...
Unexpected error: Error while erasing flash: Packet content transfer stopped (received 42887 bytes)


刷了好幾天了求救
回复

使用道具 举报

168

主题

2523

回帖

8394

积分

元老级技术达人

积分
8394
金钱
5698
HASS币
30
发表于 2023-4-8 17:24:22 | 显示全部楼层
我也买了。还没有用,不知道怎么刷
回复

使用道具 举报

77

主题

1342

回帖

2万

积分

元老级技术达人

积分
27609
金钱
26150
HASS币
290
发表于 2023-4-8 20:38:10 | 显示全部楼层
搜索了一下:

https://everythingsmarthome.co.u ... an-m5-with-esphome/
https://community.home-assistant ... th-esphome/379896/9

看这两个应该就会了。

Installing the initial firmware
Plug in the USB cable to your USB adapter, whilst holding pressure down on the pins to make sure they make good contact. If you have a 1 or a 3 button switch, make sure you are pressing and holding the middle button in order to enter flashing mode before you plug in the USB cable to your computer. Wait 3-4 seconds and then you can release the button if you are pressing it, but make sure to keep constant pressure on the pins – it may be easier to have someone help you do this.
回复

使用道具 举报

2

主题

8

回帖

1761

积分

金牌会员

积分
1761
金钱
1751
HASS币
0
 楼主| 发表于 2023-4-10 11:15:52 | 显示全部楼层
dscao 发表于 2023-4-8 20:38
搜索了一下:

https://everythingsmarthome.co.uk/flashing-sonoff-switchman-m5-with-esphome/

卡在刷寫時刪除程序,就不動了,我也有照LB把GPIO0短接在GND上,但還是寫入不了,網上資訊不多不知道有沒有大神可以教一下
回复

使用道具 举报

59

主题

626

回帖

4553

积分

论坛元老

积分
4553
金钱
3863
HASS币
20
发表于 2023-4-10 12:03:15 | 显示全部楼层
vipvipwgs 发表于 2023-4-10 11:15
卡在刷寫時刪除程序,就不動了,我也有照LB把GPIO0短接在GND上,但還是寫入不了,網上資訊不多不知道有沒 ...

我前几天刷14个面板没你这个问题
回复

使用道具 举报

2

主题

8

回帖

1761

积分

金牌会员

积分
1761
金钱
1751
HASS币
0
 楼主| 发表于 2023-4-10 16:05:16 | 显示全部楼层
gmshiwoge 发表于 2023-4-10 12:03
我前几天刷14个面板没你这个问题

大神可以給個視屏教學嗎,拜託
回复

使用道具 举报

59

主题

626

回帖

4553

积分

论坛元老

积分
4553
金钱
3863
HASS币
20
发表于 2023-4-10 16:32:25 | 显示全部楼层
vipvipwgs 发表于 2023-4-10 16:05
大神可以給個視屏教學嗎,拜託

你刷我的试试吧

sonoff_4_1 (4).zip

1.05 MB, 下载次数: 7

回复

使用道具 举报

55

主题

1401

回帖

6313

积分

论坛DIY达人

积分
6313
金钱
4857
HASS币
30
发表于 2023-4-10 16:34:21 | 显示全部楼层
好像Sonoff的T1、T2、T3系列也不错呀
回复

使用道具 举报

2

主题

8

回帖

1761

积分

金牌会员

积分
1761
金钱
1751
HASS币
0
 楼主| 发表于 2023-4-18 13:50:23 | 显示全部楼层
以解決,最後是CH340刷不了,改用CP2104就好了,感謝大家提供解決方法...感謝大大
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-5-7 04:11 , Processed in 0.886294 second(s), 25 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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