-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
esp32-s3 won't start correctly without serial console #1227
Comments
I wonder if that is related to not being able to get it working using a wall charger, only works when connected to a PC USB, not a power brick |
@borodaaaaa exactly, that is the way how to reproduce it |
Wow, cool that you got to the root cause of it. Would be great if that can be fixed. |
@borodaaaaa , in platform.ini change for env you are using from: to: for example i'm using: |
Thank you for that mate, unfortunately i am super noob with esp… i flashed it via browser as per the doco. How do i access that file ? I have web gui of espresense i know the ip esp… i guess if i can mount its fs somehow ? Or how do i get access to that file ? I have eap wroom 32 if that changes anything |
@borodaaaaa, when flashing via web, there is dropdown (flavor) allowing you to choose build (env). |
Ok. So ot is something that cannot be fixed easily. Thank you for making it a bit clearer. Hope the owner looks at that and find a workaround. |
@borodaaaaa it can be done easily by maintainer of repository (if it is correct solution), |
See also HERE |
@Wildbill-Z i don't want to stress out difference in difficulty for end user: solution I provided is: recompile it with different flags (probably different flavor/env) to be more transparent for end user |
@radkokeves I didn‘t provide any solution. I just linked to the other issue about the same problem so in each of them you‘ll see the other as they have the same cause. I also think, the better (best) solution is a compiled image with different flags as you mentioned. |
@Wildbill-Z i understand, thank you for clarification and sorry for tone of my previous response |
Any update on the issue ? |
this is definitely a hardware problem. I have a couple ESPs and one has the same problem. I power it via 3.3V and the GND pins and everything works fine. |
@perever Sorry, but it is definitly no hardware problem. All of my devices just work perfect by downgrading to version 3.2.2 as they did before I updated them to the latest version where all of them (5) had this problem. And as @radkokeves wrote above, by changing settings in platform.ini it is also solved. And you won‘t „repair“ a hardware problem by changing some settings in a file. |
this bug doesnt depend on any .ini or other files. it is independent of ESPresence. You can completely erase ESP and flash any example from the Arduino IDE. Everything will work fine. EXCEPT Wi-Fi. |
Didn‘t you say, you think it is a hardware problem? How would it be that it is a problem with any example from Arduino IDE with every device? And how would it be, that older versions of Espresence don‘t have the problem? Exactly! It is a change in a library within Arduino IDE which Espresence also uses. A software problem! Older versions of Espresence did work well, newer versions which use the newer version have the problem. So I went back to Espresence 3.2.2 which uses the older version and all is working fine again. Flash a newer version and you will only (for >90% of all tries) have the effect, that plugging the device to just power it won‘t connect to Wifi but connecting it to your computer via USB it will work all the time. This is the effect of the change in the library and this is what this thread and problem is all about. Believe it or not. |
as I mention above, I had this problem. The solution, that helps me is to power ESP via 3.3V and GND pins. |
Not sure about cannot connect to wifi, my esps go offline in home assistant but i still can ping them but with packet loss and web gui does not load. A reboot fixes it for sometime… it is not coverage issue all have 2.4 only nets and rssi is another 60-70-80On 24 Apr 2024, at 05:41, Wildbill-Z ***@***.***> wrote:
Didn‘t you say, you think it is a hardware problem? How would it be that it is a problem with any example from Arduino IDE with every device? And how would it be, that older versions of Espresence don‘t have the problem? Exactly! It is a change in a library within Arduino IDE which Espresence also uses. A software problem! Older versions of Espresence did work well, newer versions which use the newer version have the problem. So I went back to Espresence 3.2.2 which uses the older version and all is working fine again. Flash a newer version and you will only (for >90% of all tries) have the effect, that plugging the device to just power it won‘t connect to Wifi but connecting it to your computer via USB it will work all the time. This is the effect of the change in the library and this is what this thread and problem is all about. Believe it or not.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
what webserver library do you use ? |
The one that is packed in the latest release of espresense On 24 Apr 2024, at 06:58, perever ***@***.***> wrote:
what webserver library do you use ?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I have had similar cases. in my case it was after a temporary loss of Wi-Fi signal due to router reboot. ping is ok, but the server GUI is not responding. The only thing that helped was a reboot. |
Yep reboot of esp32 helps. I dont think it is due to the router as the only device that i touch (reboot) is the esp. No issues for the other wireless clients On 25 Apr 2024, at 04:16, perever ***@***.***> wrote:
I have had similar cases. in my case it was after a temporary loss of Wi-Fi signal due to router reboot. ping is ok, but the server GUI is not responding. The only thing that helped was a reboot.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
sometimes i manualy reboot router. so i added a wifi watchdog to the esp, that reboot it on wifi loss . the problem is gone. |
What do you mean gone ? When it reboots it does not register BLE nor ut pushes mqtt updates. It is useless and it breaks automations On 26 Apr 2024, at 05:35, perever ***@***.***> wrote:
sometimes i manualy reboot router. so i added a wifi watchdog to the esp, that reboot it on wifi loss . the problem is gone.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Describe the bug
replace build flags
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1
with
-D ARDUINO_USB_MODE=0
-D ARDUINO_USB_CDC_ON_BOOT=0
espressif/arduino-esp32#7554
tested with:
Waveshare ESP32-S3 Mini
Version
No response
Active scan enabled
No response
Include filter
No response
Exclude filter
No response
Query filter
No response
Firmware flavor
No response
Device (be specific)
esp32-s3
Logs
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: