force reboot if no app received from uart after given timeout
Posted: Mon Sep 26, 2022 8:35 am
Dear Espressif team
I am working on a custom board with a WROOM module, and esp-idf v4.3.1. I have a question about the upgrade over UART:
- at startup, the esp32 enters in bootloader mode if GPIO0 stays 0 from some time after EN is back to 1.
- from this point in time, the esp32 waits for receiving some software over UART
- from what I can see, it stays in this state forever ?
Is it possible to configure some timeout (for instance 10 seconds, 30 seconds ...) so that the esp32 reboots if nothing is received from the uart ?
Best Regards
Thierry
I am working on a custom board with a WROOM module, and esp-idf v4.3.1. I have a question about the upgrade over UART:
- at startup, the esp32 enters in bootloader mode if GPIO0 stays 0 from some time after EN is back to 1.
- from this point in time, the esp32 waits for receiving some software over UART
- from what I can see, it stays in this state forever ?
Is it possible to configure some timeout (for instance 10 seconds, 30 seconds ...) so that the esp32 reboots if nothing is received from the uart ?
Best Regards
Thierry