-
Notifications
You must be signed in to change notification settings - Fork 7.6k
NEED help in setting up partition Scheme/Table for ESP32-WROOM-32D (8MB) #4551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
arduino-esp32 includes OTA whether you need it or not. So, you need to have otadata and ota_0 rather than a factory partition. Note that the app will calculate offsets if not included. 8MB = 0x800000. If you save this file as
|
@lbernstone |
All the included partition schemes include otadata. https://docs.espressif.com/projects/esp-idf/en/v3.3.4/api-reference/system/ota.html#ota-data-partition. If you find the cosmetic discrepancies a problem, you are welcome to fix them. |
Got it, I missed ota-data word. All good. |
I didn't know this and it is interesting ... I am testing it also on the Java arduino-esp32fs-plugin and it works well. |
Hi @lbernstone again.
And file is there,
app should not be 1310720 size, right? Any help on this? |
As mentioned above, Arduino decides the maximum sketch size from the chosen partition scheme. It is not looking at the partition table. Pick a scheme with a very large app size to get around this. |
|
|
Wow! It is very confusing, Also I found another reason of my ongoing troubles: in my custom partition file, I had non-ascii invisible symbol paste from value copied from M$ Windows Calculator app in Programmer mode, and it even was in a commented line: |
Hi, And the worksheet: |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
Wait. What if I want to put 4 mb for the app and 4 mb for the ota? |
[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future. |
What about 8 mb for the app and 8 mb for the ota? Does the ESP-32 still have the 2 mb limit for the sketch? I'm already using almost 100% of the 2 megabytes. |
ESP32 has no restriction on the app size. Arduino will complain if you exceed the partition size as listed by the selected scheme. This can be changed in boards.txt |
Hi all, I tweaked my esp32 cam module and removed the 4mb flash chip, instead replaced it with a 16mb chip. It is detected and working with the standard 16mb partition scheme, I have been trying to change the partition to have 6mb capacity for ota_0 and OTA_1. that should leave me with 4mb for other needed partitions. Can anyone share a partition scheme to achieve that or point me to the right direction? |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
Hello, we will take a look on this issue and evaluate it soon. Thanks for your contribution. |
It seems that the partition tables can be customized at sketch level. The task here is to document this capability and maybe add an example. |
Related issues which can be adressed by Documentation: |
On sketch upload: On flash upload:
What is up with that? Board is ESP32-WROVER-E 16mb flash and 8mb psram :O On boot: |
means that the last digits of partition addresses and sizes must end on 0x000 instead of 0x6C0 |
I see. Thanks. So it can not calculate the offsets by itself? Or the problem is that i added rounded numbers. 👍 ( i cant find the exact flash size it's says just 16mb :| ) |
@zekageri use binary bytes. So 16M = 16777216 Bytes. In hex, that's 0x1000000 This is included in the repo: https://github.com/espressif/arduino-esp32/blob/master/tools/partitions/large_spiffs_16MB.csv |
Yeah, thank you that was obvious. Iam dumb a.f. thanks |
Am trying to find partition table for enabling partition scheme with boards.txt.
Am using a 8MB flash version of ESP32-WROOM-32D from digikey.
https://www.digikey.in/product-detail/en/espressif-systems/ESP32-WROOM-32D-8MB/1904-1024-6-ND/9381749
I am trying to increase the APP size to 4MB and SPIFFS to 3MB without OTA.
how to create the partition table for the 8MB FLASH Module.
Please Someone guide me.
I have arrived at these lines for scheme. will it work?
The text was updated successfully, but these errors were encountered: