-
Notifications
You must be signed in to change notification settings - Fork 34
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
WEMOS S2 mini suddenly no longer possible to upload over USB #4090
Comments
A few updates later, still issues with the Wemos S2 mini |
March 23, again a few updates later, still issues with the Wemos S2 mini. |
I have the same board's and uploading local via USB. # Example configuration entry
esphome:
# ...
platformio_options:
upload_speed: 115200 and see of that will fix your issue. |
No matter what speed I set, I keep getting this popup: Edit: |
Hello, I also recently got a Lolin s2 mini that I wanted to use with Esphome. I can only flash it with the Flashtool, but I have another problem.... |
same problem |
I'm experiencing a similar issue. I've got a bunch of lolin-s2-minis that will now no longer program after programming successfully several times. I'm suspecting it is because of something that VSCode is doing. I've noted the following sequence of events:
I'm staying away from VSCode for a minute. I'm running out of these things quick! I'm guessing that VSCode is doing something to the bootloader? I honestly don't know. I'm pretty new to all this. |
Does your boot button still work properly? |
I have the same problem with an ESP32-S2 (it's an S2 Mini clone). I programmed it a few times OK, then I programmed with some code using the TinyUSB library and some code for MIDI and although it says it's programming OK, the program never seems to run on reset. I'm going to try programming it with an external USB interface... |
press both buttons and release programming button, s2 mini set for programming. ESPHome messes up its autoprogramming mode for some reason. |
Tried that too, even with timing the pushbuttons in any combination I could think of. But even if I entirely skip this step, it does eventually end up in program mode (you can notice by the change of com port). However, the outcome is the same, it just won't upload.
I can't say I have experienced problems with WiFi. I only used I2C for BME280, BME680, EP1, and displays, and also here I can't say I experienced issues. Haven't tried sound though, so can't confirm I,m afraid. |
Same issue...
Test -1-
On uploading I get
Test -2- (or simply hit "retry" previously)
On uploading I get
|
see my comment here. esphome/esp-web-tools#338 (comment) I think the webtool is doing a hard reset by default "before" and that takes the s2 out of program mode. I see to no option to disable that and thus I am forced to use esptool.py at the cli. |
The problem
Begin January 2023 I uploaded 5 new WEMOS S2 mini boards (Lolin v1) using ESPHome over USB via the "manual" mode. That alml worked fine, as long as I put the board in boot mode (pressing the boot button on startup).
But suddenly, one day that didn't wan't to work anymore. I tried this on several different boards, on 3 different PC's and with 2 differnt browsers (Chrome and Brave). The strange part is that the previously configured boards can still be updated over WiFi, but not over USB. Even when re-installing the drivers, no luck.
Using the WEMOS D1 mini, that still works, and even older ESP32 and ESP8266 modules using various USB 2 serial drivers all turn out te be successfull.
It seems to still talk to the WEMOS S2 mini in some way though, because if I don't start it in the correct mode, it automatically resets it to the right mode (noticed this when I suddenly released the COM port changed). So up to that part it still seems to do "something".
With the Arduino IDE, I can upload any code to any of those boards, so the boards themselves seem to be working fine.
Browsing through the forums I learned about the ESPHome-Flasher (v1.4.0) but even that generates an error.
Clearly something was broken in an update specifically for the WEMOS S2 mini boards.
Which version of ESPHome has the issue?
Latest version (since 23nd half january 2023)
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
Several version tried, all same result
What platform are you using?
ESP32
Board
WEMOS S2 mini
Component causing the issue
ESPHome web ; ESPHome Flasher
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
With the Arduino IDE, I can upload any code to any of those boards, so the boards themselves and the drivers seem to be working fine.
The text was updated successfully, but these errors were encountered: