-
Notifications
You must be signed in to change notification settings - Fork 120
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
ESP32-C3 works well S2 and S3 not. #374
Comments
I am flashing C3/S2 and S3 just fine using my setup |
@TD-er I'm a fan of ESPEasy and I have tried your setup already, it does not work even with your setup. |
I have Lolin ESP32-S3 boards with 1 and 2 USB-C ports. My SEED Studio C3 mini board was also a bit hard to get it initially flashed as I needed to press those boot and RST buttons to force it into flash mode too. I also have an older C3 board with a typical "NodeMCU" board layout, which has the CH340 on board. That one is by far the easiest to flash. N.B. I'm not sure if you have something like the Cura slicer software installed on your PC? |
That trick of pressing the IO0 button then the RST one worked for the S3... Still no way to flash the S2. |
You keep the "IO0" button pressed, until the flashing starts? |
The Wemos S2 mini I have here (USB-C, no separate USB to serial chip) is a bit tricky to flash via the web flasher. |
@TD-er if I press the button until the end as per your suggestion it works, thank you very much, I think that the issue can be closed but I have a last answer before closing it. Do you think that esp web tools can by-pass these problems and flash this devices smoothly as PlatformIO does? |
It would be difficult. platformio is switching serial devices half-way through. The browser web serial is going to have a problem with that. |
ok, closing the issue then, thanks for the help TD-er and ssieb. |
I reopen this issue because the web installer is seriously compromised by this problem, I think that this needs some attention... |
@TD-er I'm sorry if I quote you, I downgraded ESP Web Tools from 9.2.1 to 8.0.6 and now it works since it starts by erasing the device. Why newer version of ESP Web Tools works worse than the older one? :) |
No idea :) |
v8.0.6 is not using espressif esptool.js under the hood. All later use espressif esptool.js. It is a (until now not found) bug in espressif esptool.js |
@TD-er can you please walk me through the process you described for successfully flashing the Wemos S2 Mini in more detail? I tried to follow it:
I believe I am following your steps correctly but in my case I always end up with an error at the end of this procedure. Did I misunderstand your steps? Or maybe the procedure is flaky - does it work for you every time with these steps? |
what works for me is:
if you accidentaly leave the 0 button before the loading progress, you need to start all over again it's a very bad experience right now |
Thanks for the steps! Unfortunately it seems that in my board's case it just doesn't want to work. I get an error the moment it should start flashing even though I believe I am following the steps correctly. I am new to ESP32 so I am not sure this is the key but I think I will give it a shot with a non-S2 board to see if it works better for me. |
@TomasHubelbauer can you try flashing Luciferin? it uses a fork from tasmota "that should work better" |
@sblantipodi Much better! I was able to flash the board with no special tricks, just by following the instructions for S2: |
@TomasHubelbauer yes that flasher is still not that stable with S2. currently, the web installer from esp-home is the one that works worse... |
I also use the one put together by @Jason2866 After the flashing has started, you can let go of the '0' button. Sometimes you need to power cycle the ESP32-S2 in order to get it to work. |
Got a Wemos S2 mini and still cannot get it working with esphome or wled. Could this be a case of the individual projects not updating their esp-web-tools version? |
@espilioto The use the esphome web tools, which have espressif esptool.js under the hood. |
Oh ok, that makes sense. |
@espilioto just for reference, |
Hi everyone, I have the same problem with S3 variants in my implementation. I'm using the last version, and it works fine for esp32 and esp32c3. I did also a test with the ESPHome installer and it works fine over my testing board. I think that maybe I have some issue with the merge binary generation? Maybe I have a mistake in this line? /usr/bin/python3 ${PIO_HOME}/packages/tool-esptoolpy/esptool.py --chip esp32s3 merge_bin -o $FIRMDIR/${NAME}_${1}_rev${SRC_REV}_merged.bin --flash_mode dio --flash_freq 80m --flash_size 8MB 0x0000 $OUTDIR/$1/bootloader.bin 0x8000 $OUTDIR/$1/partitions.bin 0xe000 ${PIO_HOME}/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin 0x10000 $OUTDIR/$1/firmware.bin My implementation is here: And I'm using the ESP32S3 boards: TTGO T7 S3 and ESP32S3 Freenove (ESP32S3 CAM) Thanks in advance. |
Sorry, I found my mistake. In my CI script that write the manifest files, I forget add a rule for the ESP32-S3 family. That was the problem. Right now is working my new two variants for ESP32S3 🎉. Thanks. |
As regards mini s2......In a nutshell tasmota/weld installed and working but not esphome for reasons explained here. https://community.home-assistant.io/t/cant-install-esphome-on-s2-mini/621559/6?u=dkebler |
it seems that the latest release 10.0.1 improved this problem. ESPs can be flashed without problems by setting them in flash mode, improv-wifi does not work always and you need to retry and retry before getting the "change wifi" option. |
I've successfully setup my s2 mini following this : https://www.reddit.com/r/Esphome/comments/11a08za/comment/j9pes7c/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button Basically using Adafruit ESPTool to upload the first firmware. And then I can see it in ESPhome and update OTA |
As title.
I have some errors when trying to flash on Lolin ESP32-S2 mini and Lolin ESP-S3 mini.
It works well on Lolin ESP32-C3 mini.,
I have tried on TinyS2 and TinyS3 from UM and same errors.
Are you sure that this web tool support S2 and S3?
The installer can be found here:
https://sblantipodi.github.io/glow_worm_luciferin/
The text was updated successfully, but these errors were encountered: