Hello friends, I have a question about how to configure the esp32 partition correctly.
My scenario:
4mb esp32
Current application of 800/900 kb
Use of SPIFFS 30/40 kb
1Gb SD card
Right now I do an OTA from an ftp server, download it to the SD card and then do the update from the sd to esp32.
Everything is correct and it works.
The question is: do I need to define OTA space in the esp32 partition or is it not necessary since the OTA space is supported by the SD card?
Could I use the Huge APP scheme and be able to continue doing OTA since the swap space is in the SD card?
All the best
Fran
Partition question with OTA and SD card config.
-
- Posts: 21
- Joined: Mon Sep 20, 2021 9:13 am
Re: Partition question with OTA and SD card config.
You need 2 oat or factory + ota partitions, because you cant update partition which is currently running app.
-
- Posts: 21
- Joined: Mon Sep 20, 2021 9:13 am
Re: Partition question with OTA and SD card config.
Thanks for your answer. Regarding what you say, then I don't see any benefit of doing "ota" on the sd and then transferring the bin to the esp. Is it correct?
-
- Posts: 9727
- Joined: Thu Nov 26, 2015 4:08 am
Re: Partition question with OTA and SD card config.
You can indeed OTA directly to the inactive partition instead.
-
- Posts: 21
- Joined: Mon Sep 20, 2021 9:13 am
Re: Partition question with OTA and SD card config.
Yes, it refers to a direct update on the esp, it's like I'm doing now, but I thought that using the sd card I could use more program space, using it as a bin swap container. but it seems that you can't and there is no benefit from doing it using the sd card.
Who is online
Users browsing this forum: Baidu [Spider] and 100 guests