Page 2 of 2
Re: Esp32 S2 Mini Wemos v.1 not compile!
Posted: Mon May 26, 2025 7:17 pm
by mnfisher
Be brave.
Backup first!
Will always need to press reset though - it's also possible to program the esp32 using a ftdi connector - but it's a while since I tried this with the esp32-cam boards. I might have a play with another board and see how it works...
Martin
Re: Esp32 S2 Mini Wemos v.1 not compile!
Posted: Tue May 27, 2025 6:51 pm
by jgu1

Yaeh, you´r rigth Martin, when I know the issue and how to handle this, I can live with that.
Thank´s for your always good support
Jorgen.
Re: Esp32 S2 Mini Wemos v.1 not compile!
Posted: Thu Aug 14, 2025 3:31 pm
by karthickefy
Hi Jorgen/Martin,
Have you fixed this error? I'm also facing the same issue. In my case, my ESP32-S2_mini board doesn't have a reset switch. Please advise. I have attached the schematic and compile error log for your reference.
Thanks,
Karthick
Re: Esp32 S2 Mini Wemos v.1 not compile!
Posted: Thu Aug 14, 2025 4:28 pm
by mnfisher
I think the log file shows that the file uploads correctly - but can't reset the device..
Leaving...
WARNING: ESP32-S2FNR2 (revision v1.0) chip was placed into download mode using GPIO0.
esptool.py can not exit the download mode over USB. To run the app, reset the chip manually.
To suppress this note, set --after option to 'no_reset'.
See notes above about trying the no-reset option.
Martin
Re: Esp32 S2 Mini Wemos v.1 not compile!
Posted: Thu Aug 14, 2025 5:30 pm
by karthickefy
Hi Martin,
Thank you for your comment. Is there a way to add a soft reset to the script? As I explained, my board does not have a hardware reset switch.
Actually, I couldn't find the --after option in the esp32_prog.bat file. I'm not sure how to set the "no_reset" after --after.
below, I attached the esp32_Prog.Bat file (Changed to TXT format)
Thanks
Karthick.
Re: Esp32 S2 Mini Wemos v.1 not compile!
Posted: Thu Aug 14, 2025 8:45 pm
by jgu1
Hi both!
I used a capacitor, it work for me, reset after 2-3 sec. after power up the device if this is ok. I am not home at the moment, I come back when I come back.
Jorgen
Re: Esp32 S2 Mini Wemos v.1 not compile!
Posted: Thu Aug 14, 2025 11:05 pm
by mnfisher
After some playing the easiest way to not attempt reset is to go into the menuconfig (by running menuconfig.bat) and go to Serial Flashing->After Flashing and change to 'stay in bootloader'
Martin
Re: Esp32 S2 Mini Wemos v.1 not compile!
Posted: Fri Aug 15, 2025 6:59 am
by jgu1
Hi!
Absolutely the way Martin wants to do it is the best, but if it doesn't work you can use alternative methods.
Br Jorgen
Re: Esp32 S2 Mini Wemos v.1 not compile!
Posted: Fri Aug 15, 2025 9:41 am
by mnfisher
... and Jorgen's tip is excellent - you need to add the capacitor to pull the chip into bootloader mode too.
The bit I added just stops FC reporting a failure (hopefully?)
Martin
Re: Esp32 S2 Mini Wemos v.1 not compile!
Posted: Fri Aug 15, 2025 11:01 am
by karthickefy
Hi Martin,
Yes, I tried your method using menuconfig.bat, and the log file didn't show any errors now. I have attached it for your reference. However, after loading the firmware, the USB is not detecting, and the ESP32 fails to boot. The Flowcode file is also attached for your reference.
When I use this ESP32-S2 Mini board in Arduino IDE, I enable 'USB CDC on Boot" . It is working fine with Arduino.
I'm using this "
https://indus.electronicsforu.com/" Indus coin rev2 board.
I will also try to add a Capacitor and see
For your information: I encountered this issue only with the ESP32-S2 Mini chip. I tested it with the ESP Wroom 32, and it worked fine.
Thanks for your timely response.
Karthick