Skip to content

ESP32 and machine.reset() #9331

Sep 16, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

There is a difference between a hardware and a software action. machine.reset() does NOT change the voltage level at the EN pin, but causes the same code to be executed that pushing the EN pin. There can still be hardware related differences caused by wiring inside the chip, where pulling EN low may cause hardware state changes to some internal modules, which are not set like that by the software. That's why it's called similar.

Pulling the EN pin low at the ESP32 causes an internal power cycle, after which the code starts at a well defined address. The latter can be done by software as well. But the code may not reset internal states to the power-on state.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@davefes
Comment options

Answer selected by davefes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment