Search found 132 matches

by burkulesomesh43
Thu Aug 30, 2018 5:16 am
Forum: ESP-IDF
Topic: partition table
Replies: 12
Views: 18592

Re: partition table

so can i use 8mb of flash in esp32? or i need to interface external flash or sd card? You can use 8MB of flash if you are using the WROVER version of the ESP32. If you are using the WROOM version then you need to make your partitions smaller as it only has 4MB. Ok. i am using wroom 32. I am thinkin...
by burkulesomesh43
Wed Aug 29, 2018 6:32 pm
Forum: ESP-IDF
Topic: partition table
Replies: 12
Views: 18592

Re: partition table

I will try to make custom partition table. need to know limitations of memory for ota and file system. thank you. You are limited by the amount of flash. Here is a partition table that does OTA into 2MB partitions and has a 1MB partition for a file system. The target needs 8MB of flash for this exa...
by burkulesomesh43
Wed Aug 29, 2018 5:06 pm
Forum: ESP-IDF
Topic: partition table
Replies: 12
Views: 18592

Re: partition table

WiFive wrote:
burkulesomesh43 wrote:Is there any documentation to understand partition table or have any idea to do it.
Of course

https://docs.espressif.com/projects/esp ... ables.html
I will try to make custom partition table. need to know limitations of memory for ota and file system.
thank you.
by burkulesomesh43
Wed Aug 29, 2018 4:42 pm
Forum: ESP-IDF
Topic: partition table
Replies: 12
Views: 18592

Re: partition table

The problem is that you need to burn the entire flash with partitions that you need first. The OTA example won't have a partition for the file system. So when you OTA new firmware that was built based on a different partitioning of the flash, then it isn't going to find the non existent partitions....
by burkulesomesh43
Wed Aug 29, 2018 4:33 pm
Forum: ESP-IDF
Topic: partition table
Replies: 12
Views: 18592

Re: partition table

WiFive wrote:You have to make a partition table that supports both ota and filesystem
Is there any documentation to understand partition table or have any idea to do it.
by burkulesomesh43
Wed Aug 29, 2018 4:30 pm
Forum: ESP-IDF
Topic: OTA requires to erase flash
Replies: 18
Views: 20039

Re: OTA requires to erase flash

actually problem is that when i want to update the firmware using ota example, i need to erase entire flash. if i cant erase it, the firmware will not update. and if i want to erase flash without connecting esp32 to my system then how can i erase the flash? Seems like the post I made above was adeq...
by burkulesomesh43
Wed Aug 29, 2018 12:56 pm
Forum: ESP-IDF
Topic: OTA requires to erase flash
Replies: 18
Views: 20039

Re: OTA requires to erase flash

I'm more interested in why you are asking the question than the answer. If you erase the entire flash with the API your application will likely crash because you erased it. The OTA example erases the appropriate location in the flash before writing the update to it. John A actually problem is that ...
by burkulesomesh43
Wed Aug 29, 2018 12:36 pm
Forum: ESP-IDF
Topic: partition table
Replies: 12
Views: 18592

partition table

Hi all, I am using the wear levelling example given in esp idf. and I want to update the firmware using ota example given in esp idf. but as I update wear levelling example using ota. gives some error. 18:04:25.007 -> [0;32mI (0) cpu_start: Starting scheduler on APP CPU.[0m 18:04:25.007 -> [0;32mI (...
by burkulesomesh43
Wed Aug 29, 2018 12:00 pm
Forum: ESP-IDF
Topic: OTA requires to erase flash
Replies: 18
Views: 20039

OTA requires to erase flash

Hi all, I am updating my firmware using OTA example given in esp idf. when I am flashing the code to esp32, it needs to erase flash before flashing the code in esp32. so I am using command "make erase_flash flash" and after that my code works with startup. is there any API to flash entire flash in e...
by burkulesomesh43
Mon Aug 20, 2018 10:36 am
Forum: General Discussion
Topic: About memory of ESP32
Replies: 1
Views: 2771

About memory of ESP32

Hi all,
actually I am so confused about memory mapping in esp32.
can you please explain briefly about memory used in esp32.