espressif / esptool-js

Javascript implementation of flasher tool for Espressif chips, running in web browser using WebSerial.
https://espressif.github.io/esptool-js/
Apache License 2.0
276 stars 108 forks source link

Time out when trying to flash spiffs.bin for an ESP32 #49

Closed SeByDocKy closed 1 year ago

SeByDocKy commented 1 year ago

Hello, I am trying to flash the spiffs part of a project with this tool. From pio in verbose mode, the command line executed is : ```--chip esp32 --port "“COM18”" --baud 460800 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_size detect 2686976 .pio/build/routeur_solaire/spiffs.bin`````

Seems the offset adress is 2686976 = 0x290000.

When trying with esptool-js got a timeout error...

image

Maybe I am wrong somewhere, but is-it a bug ?

vidsmet2 commented 1 year ago

@SeByDocKy

I've had the same issue. Changing the baudrate to 115200 solved this.

SeByDocKy commented 1 year ago

@SeByDocKy

I've had the same issue. Changing the baudrate to 115200 solved this.

Thanks I will try asap :)

bpstermometria commented 1 year ago

I have the same issue. any solution?

igrr commented 1 year ago

This might be solved by https://github.com/espressif/esptool-js/pull/57. I'd like to compare how esptool.py solves the same issue, though, before merging that PR.