force reboot if no app received from uart after given timeout

thierry37_2
Posts: 11
Joined: Tue Jul 23, 2019 12:52 pm

force reboot if no app received from uart after given timeout

Postby thierry37_2 » 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

username
Posts: 528
Joined: Thu May 03, 2018 1:18 pm

Re: force reboot if no app received from uart after given timeout

Postby username » Mon Sep 26, 2022 12:32 pm

Just giving another option if they say no.
You could use a device like this to do what you want.
https://www.digikey.com/en/products/det ... 6/12112106

thierry37_2
Posts: 11
Joined: Tue Jul 23, 2019 12:52 pm

Re: force reboot if no app received from uart after given timeout

Postby thierry37_2 » Tue Sep 27, 2022 4:14 pm

Thanks, good to know, even if this is not an option for me in this project since the board is designed already :(

I think there should be some software configuration for this, but I could not find easily how to do it ...

Best regards

Thierry

Who is online

Users browsing this forum: No registered users and 230 guests