esphome / esphome/esp-web-tools
TRACE 1667.000 No serial data received.
- Dominant language
- TypeScript
- Stars
- 686
- Forks
- 192
- Avg merge
- 1h 1m
- Merged PRs (30d)
- 1
Description
I'm trying to install my own firmware onto an NodeMCU (ESP8266) board without any success. I tried using Brave and Edge with the same result. I'm trying to follow the instruction from https://esphome.github.io/esp-web-tools/.
Here's my html file:
[install-fw.zip](https://github.com/user-attachments/files/20018445/install-fw.zip)
And here's my manifest:
`
{
"name": "Firmware",
"version": "2.0.0-rc.19",
"new_install_prompt_erase": false,
"builds": [
{
"chipFamily": "ESP8266",
"parts": [
{
"path": "firmware.ino.bin",
"offset": 0
}
]
}
]
}
`
After I click on Connect, select to serial port and click Connect again, I get the dialog with two options: 1) Install Firmware and 2) Logs & Console. And on the web page console the following:
`
ESP Web Tools 10.1.0 by Open Home Foundation; https://esphome.github.io/esp-web-tools/
install-dialog-CQzvAv3p.js?module:491 Initializing Improv Serial
install-dialog-CQzvAv3p.js?module:823 Improv initialization failed. Error: Improv Wi-Fi Serial not detected
at install-dialog-CQzvAv3p.js?module:491:1210
_initialize @ install-dialog-CQzvAv3p.js?module:823
await in _initialize
firstUpdated @ install-dialog-CQzvAv3p.js?module:823
_$AE @ styles-B7oMzmOl.js?module:1
performUpdate @ styles-B7oMzmOl.js?module:1
scheduleUpdate @ styles-B7oMzmOl.js?module:1
_$ET @ styles-B7oMzmOl.js?module:1
await in _$ET
requestUpdate @ styles-B7oMzmOl.js?module:1
_$Ev @ styles-B7oMzmOl.js?module:1
A @ styles-B7oMzmOl.js?module:1
dt @ styles-B7oMzmOl.js?module:1
ja @ install-dialog-CQzvAv3p.js?module:491
e @ install-button.js?module:1
await in e
(anonymous) @ install-button.js?module:1
`
I then click on Install Firmware and I get the Confirm Installation dialog. I click on Install and I get the Installing dialog with a spinning cursor. In the page console I get a whole bunch of the following:
`
TRACE 1667.000 No serial data received.
install-dialog-CQzvAv3p.js?module:491 Error reading from serial port: FramingError: Framing error
readLoop @ install-dialog-CQzvAv3p.js?module:491
await in readLoop
newRead @ install-dialog-CQzvAv3p.js?module:491
read @ install-dialog-CQzvAv3p.js?module:491
readPacket @ install-dialog-CQzvAv3p.js?module:491
command @ install-dialog-CQzvAv3p.js?module:491
await in command
sync @ install-dialog-CQzvAv3p.js?module:491
_connectAttempt @ install-dialog-CQzvAv3p.js?module:491
await in _connectAttempt
connect @ install-dialog-CQzvAv3p.js?module:491
await in connect
detectChip @ install-dialog-CQzvAv3p.js?module:491
main @ install-dialog-CQzvAv3p.js?module:491
(anonymous) @ install-dialog-CQzvAv3p.js?module:823
_confirmInstall @ install-dialog-CQzvAv3p.js?module:823
await in _confirmInstall
handleEvent @ styles-B7oMzmOl.js?module:1
install-dialog-CQzvAv3p.js?module:491 TRACE 1667.000 No serial data received.
`
Clicking Connect on https://esphome.github.io/esp-web-tools/ produces similar error messages. However, I can install WLED from https://install.wled.me/ without any problems (I learned about the ESP Web Tools from that page).
Any help would be appreciated, TIA!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the installation with the attached install-fw.zip and manifest for the ESP8266, then inspect the browser console output showing the framing error and repeated “No serial data received” messages. Compare the failing flow with the working WLED installation and determine whether the ESP8266 connection reaches a completed firmware install; the issue is done when the documented setup installs successfully or the unsupported configuration is clearly identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- embedded-iot, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100