Search found 1365 matches

by Ritesh
Mon Jun 03, 2019 1:59 pm
Forum: ESP-IDF
Topic: GPIO Based Factory Reset
Replies: 12
Views: 12259

Re: GPIO Based Factory Reset

Yes, I am using Factory, OTA_0, OTA_1 partitions for image update. How do we do that?? Please find below code sequence which we are using. but we are using for Default Partition and OTA_0. So, Same way you can use it for all 3 partitions in which you can set Default Partition as Factory Reset Parti...
by Ritesh
Mon Jun 03, 2019 1:47 pm
Forum: ESP-IDF
Topic: OTA upgrade is aborting
Replies: 21
Views: 27182

Re: OTA upgrade is aborting

I haven't put any delay before rebooting the device. Do I need to add delay?? Actual application is server dependent, we get the time from server fro image update, then start rtos timer like this: imageDownloadTimerHandle = xTimerCreate("imageDownloadTimer",pdMS_TO_TICKS(difference_in_time*1000),pd...
by Ritesh
Mon Jun 03, 2019 1:00 pm
Forum: ESP-IDF
Topic: OTA upgrade is aborting
Replies: 21
Views: 27182

Re: OTA upgrade is aborting

Hi, How do I check this?? Address on which esp is writing ota update seems to be correct. It gets stuck after writing new image to ota app. Below is the current partiion table: I (53) boot: ## Label Usage Type ST Offset Length I (61) boot: 0 nvs WiFi data 01 02 00009000 00004000 I (68) boot: 1 otad...
by Ritesh
Mon Jun 03, 2019 8:43 am
Forum: ESP-IDF
Topic: OTA upgrade is aborting
Replies: 21
Views: 27182

Re: OTA upgrade is aborting

I have only added spiffs and changed the partition table and for now commented that part and checked, yet getting the same error. Tried the solution given by @boarchuz, the frequency of getting error has reduced but not gone. Hi, Just make sure that partition is not overriding some how into OTA and...
by Ritesh
Mon Jun 03, 2019 8:29 am
Forum: ESP-IDF
Topic: ESP_ping issue in v3.3-beta3
Replies: 14
Views: 14367

Re: ESP_ping issue in v3.3-beta3

I Upgraded from 3.1, master is doing the same thing. Actually my previous thought was wrong, the issue had nothing to do with the interface call. The issue is ping process starting before wifi stack (I use ethernet interface as well). So what I did is put a flag so it waits for wifi to initialize a...
by Ritesh
Mon Jun 03, 2019 8:27 am
Forum: ESP-IDF
Topic: GPIO Based Factory Reset
Replies: 12
Views: 12259

Re: GPIO Based Factory Reset

Yes, something like when we give input from GPIO, device should restart from factory app. Ok. Then it is quite easy job to move your firmware into factory app which you are using. So, Basically, which partition mechanism you are using? if you are using Default, OTA_0 and OTA_1 then you can do easil...
by Ritesh
Mon Jun 03, 2019 8:24 am
Forum: ESP-IDF
Topic: SPI very slow
Replies: 7
Views: 7845

Re: SPI very slow

jollytopper wrote:
Mon Jun 03, 2019 1:56 am
Yes. Speed improved significantly after removing log statements.
Great. Thanks for update regarding same.
by Ritesh
Mon Jun 03, 2019 8:24 am
Forum: ESP-IDF
Topic: OTA upgrade is aborting
Replies: 21
Views: 27182

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 H...
by Ritesh
Mon Jun 03, 2019 8:21 am
Forum: ESP-IDF
Topic: GPIO Based Factory Reset
Replies: 12
Views: 12259

Re: GPIO Based Factory Reset

Ritu21 wrote:
Mon Jun 03, 2019 6:04 am
Hi Ritesh,

I want to move back to factory app if required.

Thanks
Ritu
So that Requirement is based on any event or button or something like that?
by Ritesh
Mon Jun 03, 2019 3:51 am
Forum: ESP-IDF
Topic: Need Event to check External Connectivity for WiFi or Ethernet
Replies: 1
Views: 2193

Re: Need Event to check External Connectivity for WiFi or Ethernet

Hi WiFive or ESP32 SDk Developers,

Do you have any clue or any update regarding this?