How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
grundy
New user
Posts: 9
Joined: 01 Jul 2019, 22:08

How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#1 Post by grundy » 01 Jul 2022, 20:29

hello everyone,

i recently got these wemos s2 mini boards wich are nice because of the high gpio count but i cant really get it to work, did anyone get one of these running?

i connected the board to a win10 pc then holding 0 button - press rst button - release 0 button to put it in download mode -> serial port comes up on the pc

first i tried with the expressif 3.8.5 downloadtool from the espeasy release, it has a s2 button but does not work with the s2 over usb, so i got the 3.9.2 from the expressif site
there i (think i ) could download the (EDIT, wrong filename earlier ) ESP_Easy_mega_20220616_normal_ESP32s2_4M316k.factory.bin to address 0 , at least it gave no errors.

so finally i press reset on the board but then nothing happens , the serial port disappears so i cant get any output, no wlan appears and i cant enter settings to connect to my routers wlan -> how to continue at this point?

do i need to get an additional usb-serial and connect it to the board to enter settings or did i anything wrong because no ap appears ? hope anyone has a little hint for me ^^
Last edited by grundy on 01 Jul 2022, 22:12, edited 1 time in total.

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#2 Post by Ath » 01 Jul 2022, 22:03

On an ESP32s2 board you must use an ESP32s2 build, as that CPU isn't compatible with the 'regular' ESP32 CPU. There are a few builds available that support the ESP32s2.
The princple of flashing the factory.bin at address 0x0000 is correct though :idea:

NB: I'm running a NeoPixel build here, as my s2 board as such pixel on-board :D
/Ton (PayPal.me)

grundy
New user
Posts: 9
Joined: 01 Jul 2019, 22:08

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#3 Post by grundy » 01 Jul 2022, 22:10

sorry i copied the wrong filename in the post earlier, of course i used
ESP_Easy_mega_20220616_normal_ESP32s2_4M316k.factory.bin

i hope the esp easy flasher tool supports the esp32 boards too one day , would make things easier ;-)

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#4 Post by Ath » 01 Jul 2022, 22:27

The flashtool should support the ESP32s2, though my initial flash is usually via VSCode, as I'm in 'developer mode' :D
AFAIK, the Espressif flasher does support the s2, so that should work as expected. You might want to check the 'DoNotChgBin' checkbox, that may help
/Ton (PayPal.me)

MagTer
Normal user
Posts: 15
Joined: 14 Aug 2022, 22:16
Location: Sweden

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#5 Post by MagTer » 14 Aug 2022, 22:28

I'm new to ESPEasy but i have it running on a couple of Wemos D1 mini's. When installing the images on the D1's I used the ESP.Easy.Flasher were the com port was identified and i just selected the "normal" build for my chip.

I tried the same on one of my S2 mini boards but the tool does not recognize the Com-port even though windows shows them as available. One in normal mode and another one in flash mode.
I have seen that there are other tools available for flashing, but so far the newbie in me, does not feel comfortable with espressif_flash tool.

Is there any way to have the ESP.Easy.Flasher identify/support the S2 Mini COM ports?

Just to clear out missunderstandings, I am using the ESP32 build, targeting to use the ESP32s2 image.

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#6 Post by Ath » 14 Aug 2022, 22:36

If the COM port is not detected, that's a known issue with the ESPEasyFlasher as it doesn't seem to correctly identify some types of serial drivers, unfortunately.
Best alternative is to download the Espressif Windows flash tool from here, as that seems to be better in recognizing the COM ports.
/Ton (PayPal.me)

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#7 Post by Ath » 14 Aug 2022, 22:39

NB: For any ESP32 based build, using the serial flash tool it requires to use a firmware name ending with factory.bin, and flashing it at address 0x0000, as it already includes the required boot and other partitioning data.
When later upgrading the unit you can use the OTA upgrade from the Tools page, using the regular .bin file (without factory in the name)
/Ton (PayPal.me)

MagTer
Normal user
Posts: 15
Joined: 14 Aug 2022, 22:16
Location: Sweden

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#8 Post by MagTer » 15 Aug 2022, 15:52

I managed to flash the card but I must have done something wrong since now I can only get the COM port show up in windows when the card is in flashing mode.
The normal mode COM port never shows up so I cant connect and configure it.

Image flashed: ESP_Easy_mega_20220809_normal_ESP32s2_4M316k.factory.bin
Address: 0x0000
SPI Speed: 40
SPI Mode: DIO
DoNotChgBin: Checked

Any documentation available with the correct settings for the S2 mini?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#9 Post by TD-er » 15 Aug 2022, 16:26

Usually connecting GPIO-0 to GND at boot (or power cycle) will let the unit enter flash mode.

However, the S2 does have support for native USB, which is not implemented in ESPEasy.
I never tried using the native USB port option of that chip. If this is the only way how your board is connected to the USB port, then I hope it will enter this flashing mode again when pulling GPIO-0 down to GND.

The only S2 boards I used so far have an external USB to serial chip.

Do you have a link to this board?

MagTer
Normal user
Posts: 15
Joined: 14 Aug 2022, 22:16
Location: Sweden

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#10 Post by MagTer » 15 Aug 2022, 17:11

Here is the link to wemos page on it: https://www.wemos.cc/en/latest/s2/s2_mini.html

It has a button that can be pressed during boot/reset for entering Device Firmware Upgrade (DFU) mode and i would guess that connects GPIO0 to GND?
When in that mode, I get the COM port in windows and i can flash the image as per above post.

However, when i reboot without pressing the DFU mode button i dont get anything so i suspect that the image is not correctly written by me based on that I am setting something wrong.

Screenshot:
Screenshot.png
Screenshot.png (39.71 KiB) Viewed 31743 times
Last edited by MagTer on 15 Aug 2022, 17:58, edited 1 time in total.

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#11 Post by Ath » 15 Aug 2022, 17:23

a) You can attach screenshots as attachments in the Forum, your pasteboard link will probably expire soon, and we won't be able to see it anymore.

b) If the serial chip isn't external, ESPEasy won't know how to initialize that properly, so there will be no serial port.
When using a phone, tablet or laptop, can you detect a WiFi access point named ESPEasy (or similar, it depends on the build) that you can connect to?
When logging in to that AP using the password configesp (all lowercase) you will be presented the setup screen for ESPEasy, that enables you to select your WiFi the device should connect to, enter the password, and it should report the IP address it has obtained.
If you can't find the IP address there, you can probably get it from the WiFi router admin screen, or by using a network scanner like Fing.
/Ton (PayPal.me)

MagTer
Normal user
Posts: 15
Joined: 14 Aug 2022, 22:16
Location: Sweden

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#12 Post by MagTer » 15 Aug 2022, 17:54

Thanks, I will update the previous post with the image as an attachment. Since it worked it might help someone else.

I used "post flash actions" when installing my D1 boards to configure wifi so I didn't think of the AP mode.
I was set on finding that com port to send the post flash action commands myself.

The WLAN is indeed available. Configuration went smooth now. Thanks.

grundy
New user
Posts: 9
Joined: 01 Jul 2019, 22:08

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#13 Post by grundy » 22 Aug 2022, 23:42

i finally hooked up an external serial/usb chip but i dont get anything readable out, no matter what baudrate i use.

i can flash the esp with the tool after entering the flash mode, but after the flash cycle the esp just does nothing, no wlan, nothing on the serial pins. also i cant flash it using the external chip, only getting errors. i will try using another chip, something just doesnt work here, cant figure out where the error lies..

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#14 Post by TD-er » 22 Aug 2022, 23:56

Is the GPIO-0 pin pulled up after flash? (pulled to 3V3 using a resistor like a 10k one)

Which firmware do you flash to it? (it is an ESP32-S2, which is not the normal ESP32)

Can you see some text on the ESP module or chip?

Also can you try one of the latest GH Actions builds, like this one for example: https://github.com/letscontrolit/ESPEas ... 2906982945

I have been working the last few days on flash/SPI specific issues as there have been some issues where the flash settings were not correct for some boards.

Xstrudel
New user
Posts: 2
Joined: 28 May 2017, 06:59

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#15 Post by Xstrudel » 06 Sep 2022, 06:47

I attempted all flash tools mentioned in this thread without success. This worked to install an appropriate ESP32s2_4M316k.bin that I wanted.

1) Connect ESP32-S2 mini to your PC. While holding the "0" button tap the "RST" button. Open Device Manager in windows and look at Ports (COM & LPT) to check if there is a COM port named ESP32-S2. If you do not see an ESP32-S2 present, you may need to change the driver to enable it so it will show up as a COM port. I Used Zadig https://zadig.akeo.ie/ and set the driver for the ESP32-S2 to USB Serial (CDC).

2) Use the Web based flash tool https://td-er.nl/ESPEasy/ to install ESPEasy .bin to the ESP32-S2. There was only one installation .bin file listed for ESP32-S2-4M device, so I went ahead and installed that. The flash worked!

3) Log into the ESP32-S2, connect it to your wifi network.

4) Using the ESPEasy GUI, go to the "Tools" menu. Find "Update Firmware" and flash an ESP_Easy_mega_YYYYMMDD_normal_ESP32s2_4M316k.bin that you have downloaded to your PC from the ESPEasy Github releases https://github.com/letscontrolit/ESPEasy/releases. The ESP32-S2 mini will now have that bin installed.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#16 Post by TD-er » 06 Sep 2022, 08:46

Which reminds me... I need to update that flash page as it has both an older version of the flash tool and older bin files.


TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#18 Post by TD-er » 08 Sep 2022, 09:59

Hmm that's inetresting. I have never seen just the ESP32-S2 chip. Only modules from Espressif containing such a chip.
So apparently the S2 does have 2M PSRAM and 4M flash on board. Or at least this chip used here does have these all included.

This makes sense as there is quite a lot of difference in quality among flash chips so I'm glad these will be consistant in quality and the way these chips are connected to the ESP.

bogus
New user
Posts: 6
Joined: 25 Feb 2018, 20:10

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#19 Post by bogus » 22 Nov 2022, 22:07

Hi,
I decided to not creating new topic, so I will post here. Is it possible to use ESPEasy with Wemos ESP32S2 board (mentioned in this topic)? I tried to flash my board, but even it finished successfully, nothing happened - seens that AP not started. Is there a plan to add support for this board? Thank you in advance for help.

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#20 Post by Ath » 22 Nov 2022, 23:08

ESP32S2 boards are already supported, just pick a .bin file with that chip-type in the name, as documented here
For flashing via the Espressif flash download tool (ESP32 and related can only be flashed via that or from command-line using an up to date esptool.py), you must use the factory.bin version, for later updating via OTA (Over The Air), you should use the regular .bin file.
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#21 Post by TD-er » 22 Nov 2022, 23:08

The ESP32 S2 chip is supported.
Not sure what may be wrong with your flashed module.

Can you connect to it via some terminal program like Putty?
Does the ESP register itself on your PC as a serial port?
Have you tried rotating the USB-C plug 180 degrees? Some USB-C connectors are not wired for all pins, so this may actually make a difference.

Which flashing tool do you use?
I think only the Espressif Download tool (provided in the ZIP) will support the ESP32-S2.
See:
- https://espeasy.readthedocs.io/en/lates ... g-software
- https://espeasy.readthedocs.io/en/lates ... html#esp32

bogus
New user
Posts: 6
Joined: 25 Feb 2018, 20:10

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#22 Post by bogus » 23 Nov 2022, 20:48

OK, I will make some try to ensure I am doing all following instructions.

bogus
New user
Posts: 6
Joined: 25 Feb 2018, 20:10

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#23 Post by bogus » 01 Dec 2022, 20:06

I did some tests and it seems that my module is faulty. Flashing was successful, the AP works OK, but it disconnects from time to time. I suspected the power supply, but the voltages were OK (no significant voltage drop), so I decided to buy a new module and this one works fine. So it looks like the problem is with the module, not the software. Thanks a lot for your answers

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#24 Post by TD-er » 01 Dec 2022, 21:46

Can you add a 220uF or 330uF capacitor over 3V3 and GND?
May need some experimenting, as just increasing the capacity may also cause issues.
A discharged capacitor acts as a short circuit when it initially is charged.
So it is also possible a smaller capacitor may be a better choice (e.g. 100 uF)

N.B. mind the polarity of those capacitors, or else you might get a nasty bang!

Alecseyyy
New user
Posts: 9
Joined: 10 Jan 2023, 21:21

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#25 Post by Alecseyyy » 10 Jan 2023, 21:37

Всем привет! Купил такую плату на али и вот теперь мучаюсь с ней. Прошить EspEasy не получается. Через web программатор вообще ничего не происходит. Выбираю порт, прошивку, и дальше ошибка о том, что плату не видит. Прошивки для взлома PS4 и tasmota залетают вообще без проблем и работают. Что я делаю не так? Драйвера поставил, разные прошивальщики пробовал.

Hello! I bought a placenta for such an ali and now I'm suffering with it. Flashing EspEasy fails. Through the web programmer, nothing happens at all. I choose the port, firmware, and then the error that the board is not visible. Firmware for the hacked PS4 and Tasmot fly in without any problems at all and work. What am I doing wrong? Installed the driver, tried different flashers.
Attachments
изображение_2023-01-10_233646934.png
изображение_2023-01-10_233646934.png (141.33 KiB) Viewed 27222 times
изображение_2023-01-10_233422748.png
изображение_2023-01-10_233422748.png (31.89 KiB) Viewed 27222 times
изображение_2023-01-10_233234065.png
изображение_2023-01-10_233234065.png (42.5 KiB) Viewed 27222 times
изображение_2023-01-10_232955685.png
изображение_2023-01-10_232955685.png (68.77 KiB) Viewed 27222 times

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#26 Post by Ath » 10 Jan 2023, 21:45

You seem to have flashed successfully using the NodeMcu PyFlasher, what is not working next?

You should see a WiFi accesspoint in your network having ESPEasy, ESP32 or similar in the name, and connect to that using password "configesp" (without quotes), then you will be able to connect the device to your regular WiFi access point.

When connecting a terminal program to COM35 at 115200 baud, you should be able to see the log of the ESP, even when not connected to WiFi.
/Ton (PayPal.me)

Alecseyyy
New user
Posts: 9
Joined: 10 Jan 2023, 21:21

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#27 Post by Alecseyyy » 10 Jan 2023, 22:05

if I understand correctly, then there should be one more line that everything was successfully sewn. she's gone
Attachments
IMG_20230111_000021.jpg
IMG_20230111_000021.jpg (297.46 KiB) Viewed 27210 times

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#28 Post by Ath » 10 Jan 2023, 22:11

Does it work after you power-cycle the device?
/Ton (PayPal.me)

Alecseyyy
New user
Posts: 9
Joined: 10 Jan 2023, 21:21

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#29 Post by Alecseyyy » 10 Jan 2023, 23:31

no. does not work. Nothing happens. If you turn on the com port mode, then there is nothing there either. the access point also does not appear.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#30 Post by TD-er » 10 Jan 2023, 23:45

On at least one screenshot you have used a binary file without "factory" in the filename. (the one with red background behind the filename)
Also I don't think your device does enter the 'flash mode'.
So maybe you should keep GPIO-0 and GND wired to each other using some jumper, wire, or whatever you have in reach :)
And after connecting GPIO-0 and GND, only then power it via the flash board.

Alecseyyy
New user
Posts: 9
Joined: 10 Jan 2023, 21:21

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#31 Post by Alecseyyy » 11 Jan 2023, 01:55

1 if it did not go into firmware mode, then I would not see it as a com port.
2 yes I tried different firmware files. without a factory too. it didn't help at all.
Maybe it's in the firmware itself? I'll try to download older versions tomorrow. perhaps this will help. but why then is there no firmware via web espeasy? other flashers saw the board without any problems, uploaded the firmware there and everything worked fine. I tried to upload any other firmware first, check if the board is working. after that I tried again to sew espeasy. nothing succeeded.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#32 Post by TD-er » 11 Jan 2023, 08:32

I am using the same (web) flasher as others, since there is only one.
Only difference may be the version of the web flasher.

I think it is running 9.0.5 as that was the last release before I made the last build: https://github.com/esphome/esp-web-tools/releases
I can make a copy of the folder on my server and setup an older version of the flasher so you can try it.

You can also try the "live demo" where it will try to flash an ESPhome build for any of their supported platforms: https://esphome.github.io/esp-web-tools/
Please let me know if that one is working, then I can ask Paulus (Baloob, dev of HomeAssistant/web flasher tool) what he used and why it may not work on your board.

Alecseyyy
New user
Posts: 9
Joined: 10 Jan 2023, 21:21

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#33 Post by Alecseyyy » 11 Jan 2023, 09:24

I do not understand what is the reason and why the firmware is not installed. Here I tried to put ESPHOME. Next, I just rebooted the board into Com port mode again and flashed another firmware. Same browser, same board.
Attachments
изображение_2023-01-11_112314359.png
изображение_2023-01-11_112314359.png (22.59 KiB) Viewed 27143 times
изображение_2023-01-11_111914350.png
изображение_2023-01-11_111914350.png (48.62 KiB) Viewed 27143 times

Alecseyyy
New user
Posts: 9
Joined: 10 Jan 2023, 21:21

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#34 Post by Alecseyyy » 11 Jan 2023, 09:48

NodeMCU-PyFlasher.exe

It just worked out! I took the NodeMCU-PyFlasher and with the help of it I flashed the board. Firmware used !!!!. At the end, I saw the same screenshot as before. Wifi didn't show up. Reboot didn't help either. But literally a minute later I saw the treasured Wi-Fi network and everything is now working. Thanks to all.
firmware ESP_Easy_mega_20221224_normal_ESP32s2_4M316k.factory

As a result! The web programmer and the one on the site does not work with esp32-s2 boards/

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#35 Post by Ath » 11 Jan 2023, 09:57

Alecseyyy wrote: 11 Jan 2023, 09:48 NodeMCU-PyFlasher.exe

It just worked out! I took the NodeMCU-PyFlasher and with the help of it I flashed the board. Firmware used !!!!. At the end, I saw the same screenshot as before. Wifi didn't show up. Reboot didn't help either. But literally a minute later I saw the treasured Wi-Fi network and everything is now working. Thanks to all.
firmware ESP_Easy_mega_20221224_normal_ESP32s2_4M316k.factory
Great you got it working :)

Alecseyyy wrote: 11 Jan 2023, 09:48 As a result! The web programmer and the one on the site does not work with esp32-s2 boards/
The trouble with these boards is that they don't activate the serial port when 'merely' connecting to power, you have to hold a button pressed during power-on to activate both flash-mode and the serial connection.
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#36 Post by TD-er » 11 Jan 2023, 11:43

What ESP32-S2 board do you have?
I'll ask the people from the Tasmota team what version of the web flasher they use to compare it with what we're using.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#37 Post by TD-er » 11 Jan 2023, 12:44

Had a chat with the people from Tasmota.

Can you check again? https://td-er.nl/ESPEasy/
I did downgrade the version from 9.0.5 to 8.0.6 as that's the version used by the Tasmota team.

Alecseyyy
New user
Posts: 9
Joined: 10 Jan 2023, 21:21

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#38 Post by Alecseyyy » 11 Jan 2023, 14:06

Everything works. The firmware was successful.
Attachments
изображение_2023-01-11_160452874.png
изображение_2023-01-11_160452874.png (34.77 KiB) Viewed 27116 times
Last edited by Alecseyyy on 11 Jan 2023, 16:01, edited 2 times in total.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#39 Post by TD-er » 11 Jan 2023, 15:32

What has crashed? flashing it, or the actual ESPEasy firmware?
And do you have any logs on how it may crash?

Alecseyyy
New user
Posts: 9
Joined: 10 Jan 2023, 21:21

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#40 Post by Alecseyyy » 11 Jan 2023, 16:02

firmware was successful.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#41 Post by TD-er » 11 Jan 2023, 16:37

Ah OK, then I misread I guess :)

Alecseyyy
New user
Posts: 9
Joined: 10 Jan 2023, 21:21

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#42 Post by Alecseyyy » 11 Jan 2023, 18:39

I had a problem with opera browser.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#43 Post by TD-er » 12 Jan 2023, 00:59

Alecseyyy wrote: 11 Jan 2023, 18:39 I had a problem with opera browser.
That's correct.
Only a (very) limited set of browsers is supported as only those have support for accessing serial ports.
I know Chrome is supported. Not even sure if other browsers based on Chromium are supported.
Perhaps Edge is also supported and that's about it.

Oetsch
Normal user
Posts: 195
Joined: 13 Jul 2020, 12:10

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#44 Post by Oetsch » 03 Feb 2023, 11:37

Hi
thx for your very helpful information during my tries to flash this device and got a 100% success message by the espeasy web flasher flashin the esp32s2 normal factory version.

But after this the device seems to be dead. No blue led oder serial connection at all. tried to repower, press reset buttons etc etc nothing. Any idea?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#45 Post by TD-er » 03 Feb 2023, 12:15

Maybe the device doesn't get out of 'flashmode'?
Perhaps you should reconnect the module to another USB port so Windows will assign a new COM port to it and try connect using some terminal tool like Putty to see what's being shown on the serial port.
The default baudrate is 115200 and you should check Windows device manager to see what com port is assigned to the device.

Oetsch
Normal user
Posts: 195
Joined: 13 Jul 2020, 12:10

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#46 Post by Oetsch » 03 Feb 2023, 12:26

Thx.
seems to be realy a dead device.
changed usb ports, usb cable, also powered from usb power supply instead from a pc usb port but nothing.

At the the pc usb port there no serial port in the windows device manager anymore. So also because of no blue led i´m not very optimistic and mayba my big fingers have destroyed maybe a very cheap/low quality device. strange first case happened like this.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#47 Post by TD-er » 03 Feb 2023, 12:30

What happens if you pull GPIO-0 down to GND and plug it in the USB port?
Does it then report to Windows as a serial device?

If it has a button, you can try keeping that button pressed while plugging it in.

Oetsch
Normal user
Posts: 195
Joined: 13 Jul 2020, 12:10

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#48 Post by Oetsch » 03 Feb 2023, 12:34

Thx. give it a try.

Not really a good measurement device but used now an usb power supply with display to show current consumption which is 110mA. So maybe not totaly dead.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#49 Post by TD-er » 03 Feb 2023, 12:43

I think it is rapidly rebooting and maybe then also resets the USB port before Windows has a chance to initialize it.

Oetsch
Normal user
Posts: 195
Joined: 13 Jul 2020, 12:10

Re: How to Flash ESP32-S2 / Wemos S2 mini v1.0.0 purple pcb with usb-c

#50 Post by Oetsch » 03 Feb 2023, 12:53

Thx.
Had a look to the wifi environment and now the access point from espeasy is opened. I could connect it to my wifi and seems to be fully operable. It´s connected to my fresh rebooted pc but not serial port shown at all. mmmh strange, but due to windows not surprised by this serial issues. Gues I will simply use the device and have never to use the serial connection to my windows pc again. what confused me was the missing blue led at the esp32s2 pcb board but ok, as long as it works no light needed :)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 25 guests