Search found 123 matches

by Ritu21
Mon Jun 03, 2019 5:49 am
Forum: ESP-IDF
Topic: OTA upgrade is aborting
Replies: 21
Views: 27125

Re: OTA upgrade is aborting

Hi Ritesh, Yes I have added extra application and the size has also increased but what difference does that make in OTA??? Current version of ESP-IDF is v4.0-dev-217-g5b2247df2. Attached is the code of OTA I am using in my application. Earlier I was downloading image from HTTPS but now I am using HT...
by Ritu21
Fri May 31, 2019 9:17 am
Forum: ESP-IDF
Topic: OTA upgrade is aborting
Replies: 21
Views: 27125

OTA upgrade is aborting

Hi Team, I have applied OTA upgrade in my project and it was working properly but now it has started giving problem which I am not able to understand. Below is the error received while trying to update over OTA: abort() was called at PC 0x40115128 on core 0 ELF file SHA256: 4b5b2176653ec245b44f3e5e5...
by Ritu21
Fri May 31, 2019 9:08 am
Forum: ESP-IDF
Topic: GPIO Based Factory Reset
Replies: 12
Views: 12253

Re: GPIO Based Factory Reset

Waiting for response
by Ritu21
Thu May 30, 2019 9:53 am
Forum: ESP-IDF
Topic: GPIO Based Factory Reset
Replies: 12
Views: 12253

GPIO Based Factory Reset

Hi Team, I am using OTA update in my project but I want to enable an option to move back to factory image. I found out below option but not sure of the same. Below is the link: https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/kconfig.html#config-bootloader-num-pin-factory-reset It...
by Ritu21
Mon May 27, 2019 4:32 am
Forum: ESP-IDF
Topic: Firmware upgrade between Factory App and OTA_0 only
Replies: 10
Views: 9902

Re: Firmware upgrade between Factory App and OTA_0 only

Hi @WiFive,

Reference to the trailing query, is there any limitation of size to use spiffs in ESP-32??

Thanks.
Ritu
by Ritu21
Sat May 25, 2019 12:43 pm
Forum: ESP-IDF
Topic: Firmware upgrade between Factory App and OTA_0 only
Replies: 10
Views: 9902

Re: Firmware upgrade between Factory App and OTA_0 only

Hi Ritesh, This is my current partition table in which spiff size is 500Kb and I am able to read file with this size. Earlier the size was 16Kb, on which I was not able to run spiff. # Name Type SubType Offset Size nvs data nvs 0x9000 16K otadata data ota 0xd000 8K phy_init data phy 0xf000 4K factor...
by Ritu21
Fri May 24, 2019 7:43 am
Forum: ESP-IDF
Topic: Firmware upgrade between Factory App and OTA_0 only
Replies: 10
Views: 9902

Re: Firmware upgrade between Factory App and OTA_0 only

Thank you Wifive.

Do I have to take any precautionary meseasures if I opt for this option.

Thanks
Ritu.
by Ritu21
Fri May 24, 2019 6:26 am
Forum: ESP-IDF
Topic: Firmware upgrade between Factory App and OTA_0 only
Replies: 10
Views: 9902

Firmware upgrade between Factory App and OTA_0 only

Hi, I was thinking, if I can use only Factory app and OTA_0 for firmware upgrade, since my esp 32 flash size is 4MB only and I need to include both spiffs and ota in my application. Currently my partition table is as below: Name | Type | SubType | Offset | Size | Flags nvs | data | nvs | 0x9000 | 16...
by Ritu21
Thu May 23, 2019 7:06 am
Forum: ESP-IDF
Topic: Spiff Not reading the file data
Replies: 5
Views: 6349

Re: Spiff Not reading the file data

Hi team, As notified before, I am not able to read data from file I have stored using Spiffs. Below is my code and the following log: void spiff_RFIDDataStorage() { char rfid_dataInFlash[1024]; size_t total = 0, used = 0; ret = esp_spiffs_info(NULL, &total, &used); if (ret != ESP_OK) { ESP_LOGE(SPIF...
by Ritu21
Mon May 20, 2019 10:20 am
Forum: ESP-IDF
Topic: TCP Client Consuming Heap Memory
Replies: 2
Views: 3945

TCP Client Consuming Heap Memory

Hi Team, After lot of checking, I got to know that TCP client is consuming almost 320bytes everytime data is sent to server. So, my project is about sending RFID data to server. There are 7 task, each running with an average stack size of 8192 bytes. Major tasks are https_client() is token, tcp_clie...