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
Esp32 S2 Mini Wemos v.1 not compile!
-
- Valued Contributor
- Posts: 1626
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 142 times
- Been thanked: 758 times
-
- Posts: 13
- Joined: Fri Dec 04, 2020 7:34 am
Re: Esp32 S2 Mini Wemos v.1 not compile!
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
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
- Attachments
-
- ESP-S2-Mini-1U chip programming error.txt
- (17.44 KiB) Downloaded 179 times
-
- Indus Board Schematic.jpg (127.52 KiB) Viewed 3953 times
-
- Valued Contributor
- Posts: 1626
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 142 times
- Been thanked: 758 times
Re: Esp32 S2 Mini Wemos v.1 not compile!
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
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
-
- Posts: 13
- Joined: Fri Dec 04, 2020 7:34 am
Re: Esp32 S2 Mini Wemos v.1 not compile!
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.
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.
- Attachments
-
- esp32_prog.txt
- (1.94 KiB) Downloaded 126 times
-
- Posts: 811
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 691 times
- Been thanked: 181 times
Re: Esp32 S2 Mini Wemos v.1 not compile!
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
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
-
- Valued Contributor
- Posts: 1626
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 142 times
- Been thanked: 758 times
Re: Esp32 S2 Mini Wemos v.1 not compile!
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
Martin
-
- Valued Contributor
- Posts: 1626
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 142 times
- Been thanked: 758 times
Re: Esp32 S2 Mini Wemos v.1 not compile!
... 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
The bit I added just stops FC reporting a failure (hopefully?)
Martin
-
- Posts: 13
- Joined: Fri Dec 04, 2020 7:34 am
Re: Esp32 S2 Mini Wemos v.1 not compile!
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
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
- Attachments
-
- ESP32-S1-INDUS-BLINK.fcfx
- (8.94 KiB) Downloaded 175 times
-
- ESP-S2-Mini-1U chip programming log.txt
- (162.23 KiB) Downloaded 204 times