Skip to content

Timeout too short when writing filesystem #52

@kilrah

Description

@kilrah

I have a setup with a 7MB SPIFFS partition. If I modify it and then upload it it does so, then about 4 seconds after the progress bar ends I get a Timed out waiting for packet header and abort. That leaves the filesystem hosed since esptool actually needs to wait about 40 seconds for the esp32s3 to validate the md5 on the whole partition.

I see there's an MD5_TIMEOUT_PER_MB constant that would be enough (7*8000 = 56 seconds), but I don't know enough about the frameworks used here to figure out whether it's not used at all for filesystem uploads, whether it works on the compressed size, or (what seems more likely at a glance with limited knowledge) applies to the PC-side calculation which would obviously not be appropriate.

Metadata

Metadata

Labels

No labels
No labels

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions