Search found 5 matches
- Wed Jul 10, 2019 3:36 pm
- Forum: ESP-IDF
- Topic: [SOLVED]Load spiffs_image.img after OTA
- Replies: 13
- Views: 14624
Re: Load spiffs_image.img after OTA
:idea: Every write should not start at zero esp_partition_write(spiffs_partition,0x0,(const void *)ota_write_data, data_read); Anyway, you should use data_read because it is not guaranteed to be the full buffer size Hello, Please can you develop your answer because I don't really understand what do...
- Wed Jul 10, 2019 9:25 am
- Forum: ESP-IDF
- Topic: [SOLVED]Load spiffs_image.img after OTA
- Replies: 13
- Views: 14624
Re: Load spiffs_image.img after OTA
Hello, Thanks you Ritesh for your help. Finally I resolved the problem. It was always writing at the beginning of the partition. I had to implement a offset because my buffer was 1Kb. int offset=0; /*deal with all receive packet*/ while (1) { int data_read = esp_http_client_read(client, ota_write_da...
- Tue Jul 09, 2019 10:01 am
- Forum: ESP-IDF
- Topic: [SOLVED]Load spiffs_image.img after OTA
- Replies: 13
- Views: 14624
Re: Load spiffs_image.img after OTA
Hello Ritesh, No, I'm facing the same issue. Also I've tried to upload spiffs_images.img into the loboris example with my task ota_spiffs_task but it's also formatting the spiffs partition after reboot. Yes but I don't understand why it's working with flashfs and not with esp_partition_write. I real...
- Mon Jul 08, 2019 7:51 am
- Forum: ESP-IDF
- Topic: [SOLVED]Load spiffs_image.img after OTA
- Replies: 13
- Views: 14624
Re: Load spiffs_image.img after OTA
Hello,
This morning I've updated ESP-IDF so now I'm using the v3.2. The partition for spiffs is "storage" at adress 0x2b0000 and the size is 1MB.
Yes, with make flashfs the Spiffs is correctly mounted..
This morning I've updated ESP-IDF so now I'm using the v3.2. The partition for spiffs is "storage" at adress 0x2b0000 and the size is 1MB.
Yes, with make flashfs the Spiffs is correctly mounted..
- Fri Jul 05, 2019 9:21 am
- Forum: ESP-IDF
- Topic: [SOLVED]Load spiffs_image.img after OTA
- Replies: 13
- Views: 14624
[SOLVED]Load spiffs_image.img after OTA
Hello, After a lot of research I can't yet fix my issue. I'm trying to update my program including the images inside with OTA. My program is based on the native_ota_example provided by Espressif and the loboris TFT library for spiffs image. I have two tasks. One is for download the .bin file contain...