-
Notifications
You must be signed in to change notification settings - Fork 32
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
Flashing ESP32 S3 doesn't work #6
Comments
Is this still valid? |
So... it's complicated. Haven't been working on this issue again for a while. But I was definitely able at some point to create my own web installer + compile the ESP32 S3 firmware successfully + merge the firmware with the boot loader and other files + install the merged firmware via the web installer (based on the WLED web installer/ ESP web installer) without issues. And the result firmware is still available (0.16.0) on my web installer: https://install.glowingkitty.com/) But not I am unable to reproduce it and compile/merge new firmwares. The problem isn't the web installer code, but the way I merge the firmware file with the other files. I also noticed that I had two different commands stored in my projects for merging firmware files - and I tested both and both result in the same problem: once I flash the firmware via the web installer, the filesystem will be broken and one cannot write files to it (result in WLED showing an error warning, and one cannot write presets, configs and so on.
Here are the two base commands I used (executed via python): cmd = f"python3 -m esptool --chip ESP32-S3 merge_bin -o {temp_folder}/{env}/{env}__glowos_{version}_merged.bin --flash_mode dio --flash_size 8MB 0x0000 {bootloader_folder}/esp32s3/bin/bootloader_dio_80m.bin 0x8000 {temp_folder}/{env}/partitions.bin 0xe000 {boot_app_folder}/partitions/boot_app0.bin 0x10000 {temp_folder}/{env}/firmware.bin"
subprocess.run(cmd.split()) and including spiffs.bin: cmd = f"python3 -m esptool --chip ESP32-S3 merge_bin -o {temp_folder}/{env}/{env}__glowos_{version}_merged.bin --flash_mode dio --flash_size 8MB 0x0000 {bootloader_folder}/esp32s3/bin/bootloader_dio_80m.bin 0x8000 {temp_folder}/{env}/partitions.bin 0xe000 {boot_app_folder}/partitions/boot_app0.bin 0x10000 {temp_folder}/{env}/firmware.bin 0x410000 {temp_folder}/{env}/spiffs.bin"
subprocess.run(cmd.split()) Any ideas how to bugfix this? |
The question is if there is any issue with WLED web installer (http://install.wled.me) or not. I have tried the web installer and so far no issues in entering upload mode were observed. |
This issue is now handled in #22 - we are trying to update the web installer to handle the most common configurations of s3/s2/c3. Unfortunately -S3 is a special beast, due to the high number of possible configurations that require their own firmware and bootloader. |
With my ESP32 S3 based board I keep getting the error that the boot button needs to be pressed. But flashing the firmware via VScode + Platform.io works without problems (without pressing any buttons). Any idea how to adapt the web installer config to make this work? also asking for my own open source fork of the web installer.
The text was updated successfully, but these errors were encountered: