-
-
Notifications
You must be signed in to change notification settings - Fork 662
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
A very serious error occurred during the compilation and burning of large programs on ESP32-S3 using PlatformIO #1543
Comments
Caused from the old version of esptool.py used from Platformio. This version has a bug which fails to flash S3 with >=16MB flash correctly. The bug is fixed with an actual version of esptool.py |
Hi @qkqwork, could you try to upload your binary using the latest esptoolpy? Just add these lines to your [env:esp32s3]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
...
; Switch to the latest esptoolpy package
platform_packages =
platformio/tool-esptoolpy@~1.40801.0 |
Thank U : )
It seems that there is something wrong with esptool |
OK,I installed intelhex to my python(C:.platformio\python3),and the error has been solved.
|
@Jason2866 could you please shed some light on what version of the |
@valeros @qkqwork Can you try this build? If this is still not working the issue is something else.
Need to search the commit where it is fixed. The dev version has it for sure included My build is based on commit espressif/esptool@8f1c206 |
Actual ArduinoIDE is using esptool.py v4.9dev3 https://github.com/espressif/arduino-esp32/blob/250c1abf781eba8cec7a524090939c30e05b690c/package/package_esp32_index.template.json#L463 |
Oh,no.
And this is the error information that the esp32 print in serial monitor:
Is my operation incorrect? |
The com port serial stuff is not straight forward. It looks like the installed drivers for the USB serial chip are not working correctly or a not compatible (outdated?) driver is installed. First step I would do. Disconnect the esp32. Deinstall all additional installed USB serial drivers. Restart Windows. |
@qkqwork Can you show a screenshot of your board settings used in Arduino IDE? |
The Partition Scheme is not the same,but i've tried both of them : ) |
@qkqwork I noticed you enabled the |
I can provide you with the project source code so that you can try to reproduce this issue. |
I added
in platformio.ini |
@qkqwork Can you upload your complete project to github? |
This just is my complete project of this part |
Compiling and flashing does work perfectly fine on my Apple M1. The code itself crashes, but thats a different story. |
Looks like your PC software setup is "broken" somewhere. |
OK.Maybe I need to reinstall PlatformIO |
Can you upload it again successfully after you upload it for the first time. |
Project information: The UI was generated using eez studio and the lvgl framework. Previously developed using Arduino IDE, now attempting to switch to Vscode+PlatformIO development (where the problem occurred)
And I use ESP32-S3-WROOM-1-N16R8-Module to debelop.
Now I have encountered a very troublesome problem:
1.When I used Ardouino IDE to compile and upload before, everything was normal.
2.However, when I compiled and uploaded it on VSCODE, everything seemed normal and IDE did not output any errors or reports
3.But after the upload was successful, my machine did not respond at all. Even worse, when I tried to re upload:
The following is the error message generated by VSCode during the second burning process (when ESP32 has already encountered issues):
(Everything was normal earlier, and now we are burning it):
And this is platformio.ini in my project:
I've also tried this one:
BUT none of them can prevent problems from happening : (
The text was updated successfully, but these errors were encountered: