machine.reset() does not perform a "clean" reset on the ESP32 #16837
Unanswered
asantiagod
asked this question in
Hardware & Peripherals
Replies: 1 comment 1 reply
-
Unfortunately, "similar" is not the same as exactly. There are many situations where a full poweron reset is required:
Hadn't noticed your LED case. A useful test is to measure GPIO state after a My work-around: https://github.com/davefes/ESP32-CAM-Micropython/blob/main/ESP32_CAM_poweron.pdf |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi,
After some testing using micropython on the ESP32, I've noticed that the method
machine.reset()
doesn't perform a "clean" reset process. By the word "clean" I mean that the MCU doesn't reset, it just seems like micropython cleans up its internal variables, but peripherals remain in the previous state.For example, after I run the following commands, the
ledPin
remains on after running themachine.reset()
command.The documentation says that
machine.reset()
command is similar to pushing the external RESET button, but it doesn't seem to be the case.I'll be grateful if someone can tell me how to workaround the issue.
NOTES:
Beta Was this translation helpful? Give feedback.
All reactions