Esp32 S2 Mini Wemos v.1 not compile!

For general Flowcode discussion that does not belong in the other sections.
mnfisher
Valued Contributor
Posts: 1605
http://meble-kuchenne.info.pl
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 141 times
Been thanked: 755 times

Re: Esp32 S2 Mini Wemos v.1 not compile!

Post 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

jgu1
Posts: 809
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 690 times
Been thanked: 179 times

Re: Esp32 S2 Mini Wemos v.1 not compile!

Post by jgu1 »

:lol: 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.

karthickefy
Posts: 12
Joined: Fri Dec 04, 2020 7:34 am

Re: Esp32 S2 Mini Wemos v.1 not compile!

Post 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
Attachments
ESP-S2-Mini-1U chip programming error.txt
(17.44 KiB) Downloaded 5 times
Indus Board Schematic.jpg
Indus Board Schematic.jpg (127.52 KiB) Viewed 57 times

mnfisher
Valued Contributor
Posts: 1605
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 141 times
Been thanked: 755 times

Re: Esp32 S2 Mini Wemos v.1 not compile!

Post 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

karthickefy
Posts: 12
Joined: Fri Dec 04, 2020 7:34 am

Re: Esp32 S2 Mini Wemos v.1 not compile!

Post 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.
Attachments
esp32_prog.txt
(1.94 KiB) Downloaded 4 times

jgu1
Posts: 809
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 690 times
Been thanked: 179 times

Re: Esp32 S2 Mini Wemos v.1 not compile!

Post 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

mnfisher
Valued Contributor
Posts: 1605
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 141 times
Been thanked: 755 times

Re: Esp32 S2 Mini Wemos v.1 not compile!

Post 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

Post Reply