Open PaulWieland opened 1 year ago
I am also facing the timeout issue, while writing spiffs.bin to esp32.
I wish I could get some support on this. I can't figure out how to modify the read with timeout value, or even where in the source code that it's set.
@PaulWieland did you get this resolved?
No, unfortunately not.
Anyone, any suggestions?
Using latest Version? Changes are done in used esptool.js regarding timeouts.
What is the specific device you are having this issue with?
I ask, as I've had the latest Lolin D1 Mini v4.0.0 devices fail, where earlier versions (v3.x, with the Micro USB connectors) succeed. Interestingly, this failure occurs both with ESP Web Tools as well as with older esptool versions, but seems to succeed with the latest esptool.py.
I'm trying to setup ESP Web Tools to write a two part (firmware and file system) to an ESP8266.
The first
ratgdo_esp8266_v2.0a.bin
file at offset0
seems to write okay, but then it times out right after it starts to write the secondratgdo_esp8266_v2.0a_littlefs.bin
(~3mb) file at offset1048576
.I got the offset number from platform.io when uploading the filesystem:
0x00100000
in decimal is1048576
Here is the output of the browser console during the flashing process:
Does anyone know what I'm doing wrong?
UPDATE:
From the log you can see that the step
Writing at 0x104000... (4%)
is where it times out. In platformio, this step takes longer than the rest, but it does continue. How can I increase theRead with timeout
value?