Skip to content

How many times can I software restart ESP32 ? #8223

Answered by mrengineer7777
dharmikP17 asked this question in Q&A
Discussion options

You must be logged in to vote

Short answer: there is no limit.

Discussion:
15 seconds is pretty short. This would not play well with WiFi or Ethernet connections. Are you using the module offline?
Flash memory should not be affected unless you are saving to NVS or writing a file before every restart.

The module seems to have identical startup for power and software resets. With a software reset it's possible to set certain IRAM(?) variables to persist state across reboots. That's the mechanism IDF uses to persist crash info. Example #8105.

I'm curious. Why restart every 15s?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dharmikP17
Comment options

@mrengineer7777
Comment options

@dharmikP17
Comment options

Answer selected by mrengineer7777
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants