ESP32 always crashes on boot #11063
Unanswered
brokenbrigde9000
asked this question in
ESP32
Replies: 3 comments 3 replies
-
Which ESP32 units do you used, and which firmware version? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Besides that, it looks as either a power problem or interference into the EN pin. You could try to put a 1µF to 10µF capacitor between EN and GND. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Long ago I had a similar problem (won't bother describing the details here) but I fixed it by disabling brownout detection, i.e. set |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm running micropython on an ESP32 module and it always crashes on boot, at least the first time. When connected to a computer (I'm using PyCharm with the micropython login) there is always this 'keyboard interrupt' error or some error on a random line in the code. When doing a soft reboot (ctrl+D) it will boot like it should and run the code perfectly fine. When powered as standalone device, it will not boot the first time either, only after pressing the reset button the ESP32 runs the code like it should.
This happens on all my ESP32 units and no matter what code I'm running.
I'm currently using the hardware watchdog to get the ESP32 to reset so it autmatically performs a 2nd attempt to boot. This always works. I'm sure there is something I am missing because this looks like a very dirty solution. How do I get it to boot at once?
Beta Was this translation helpful? Give feedback.
All reactions