toniebox-reverse-engineering / teddycloud

teddyCloud is an open source server replacement for the Boxine Cloud
https://toniebox-reverse-engineering.github.io/docs/tools/teddycloud/
GNU General Public License v2.0
483 stars 36 forks source link

WebSerial connection to ESP32 can not established, workaround needed #260

Open U-H-T opened 1 week ago

U-H-T commented 1 week ago

I tried to flash the ESP32 via the WebInterface, but the connection to the ESP32 failed. What i did then, was to verify vial hterm if the ESP32 is really in bootmode. So i connected hterm with the ESP, set the jumper and waited for the serial log. After that i disconnected hterm and started again the connection via the teddycloud and connection was possible. Reading and patching was succesul, flashing back causes the same issue, i first have to connect via hterm before the WebSerial could connect.

So not sure if it's a Problem of WebSerial, that the connection needs to be openend earlier, or that the ESP32 needs the serial connection to go into download mode (don't think so, cause there is no ack) Maybe this will be solved if https://github.com/toniebox-reverse-engineering/teddycloud/issues/102 is implemented