-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timeout while running FlashDeflateData command #436
Comments
Thank you for opening an issue, sorry that you're having issues. Just out of curiosity, would you be able to share which version of This problem is reminiscent of a previous issue we faced where the watchdog timer was causing a reset, however this issue should have been resolved in a previous PR. However it's possible there is another issue which we had missed previously. |
@jessebraham Thank for your reply. My |
@hbhong How long does it flash for before reporting this error? The timeout for erase is 120 seconds, perhaps erasing 16MB could take longer? |
@MabezDev with my current partition table, it takes 02:25. But I think that flash memory produced by different manufacturers may have speed differences. |
I resolved this problem by recompiling the espflash, I change the value of |
Thank you for the additional information! I will discuss this issue with some colleagues next week and try to determine what the best path forward for this is; possibly it's been solved in another tool already. Perhaps we can simply increase the timeout length, determined by some experimentation. Otherwise, as you suggested maybe we can allow the user to specify this value in some way. |
I just bumped into this issue with a LOLIN S3 1.0.0 board:
EDIT: It did work on a second attempt though without changing anything 🤷🏻 Although something is off, see the checksum warning:
@MabezDev Runtime for me after adding the
IMPORTANT detail: When I touch the USB cable, I can reliably make it fail, which indicates some type of transient USB cable noise related issue? Perhaps I can take a couple of Wireshark USB captures if you are interested like I did for debugging serialport/serialport-rs#117... perhaps OSX serial dongle drivers might be at fault here? I can try with either Windows or Linux. |
Hi! Would any of the affected users mind testing #488?
|
Issue persists with 2c7ee4c
Update: most likely a hardware issue on my side. |
My mcu is ESP32C3 with 16MB flash size, when I am running the following command to flash I got a timeout error
the output:
here is my partition table file:
I just found that when the size of my app is reduced, the program can be flashed successfully. However, when I add more codes, timeout issues occur.
I would greatly appreciate any suggestions or assistance you can provide!
The text was updated successfully, but these errors were encountered: