Search found 6 matches

by Moriki
Mon Jan 24, 2022 1:12 pm
Forum: ESP-IDF
Topic: ESP32 OTA from arduino to idf
Replies: 3
Views: 3442

Re: ESP32 OTA from arduino to idf

Does anybody have followup on this?

Might it be possible to do it in two stages?
First Ota and saving the esp-idf bootloader in some partition and than a second Ota use it for the next binary?
by Moriki
Tue Aug 03, 2021 5:59 am
Forum: ESP-IDF
Topic: [SOLVED] ESP32 - How to switch from AP to STA and vice versa
Replies: 4
Views: 8803

Re: ESP32 - How to switch from AP to STA and vice versa

I am not sure this is what you are searching and if it is the most accurate way, but this is the logic I use to be able to change modes in esp. My Init proccess (regardless of sta or ap): esp_netif_init esp_event_loop_create_default esp_wifi_init esp_wifi_set_mode(WIFI_MODE_NULL) esp_event_handler_i...
by Moriki
Mon Aug 02, 2021 7:55 am
Forum: ESP-IDF
Topic: Is it possible to protect against excessive deep-sleep delays?
Replies: 8
Views: 7824

Re: Is it possible to protect against excessive deep-sleep delays?

Hi,
WiFive wrote:There is an rtc watchdog
Note that for the rtc watchdog to reset the system during deep sleep you have to:
1. Unset the RTC_CNTL_WDT_PAUSE_IN_SLP bit (enabled by default by rtc_wdt_enable())
2. Use the "reset RTC" action. The "reset system" action does not preform any action during deep sleep.
by Moriki
Mon Aug 02, 2021 5:56 am
Forum: ESP-IDF
Topic: Reliably detect edge type on anyedge interrupt
Replies: 0
Views: 1018

Reliably detect edge type on anyedge interrupt

Hi, though I saw others asking similiar questions before, I couldn't find a satisfactory answer. On a gpio with anyedge interrupt type, let's say a button, I want to reliably get info on the interrupt type that triggered the interrupt. As for now, in my program I debounce the signal, ignoring all in...
by Moriki
Sun May 02, 2021 6:36 pm
Forum: General Discussion
Topic: Cross framework OTA
Replies: 0
Views: 1326

Cross framework OTA

Hi everybody,
Is there any way to preform OTA from arduino to esp-idf on esp32?
I suspect that the simple answer is no, but maybe there is a workaround? If not, what is the reason? Partitions? Second stage bootloader.

Thank you very much.