Search found 106 matches
- Fri Feb 24, 2017 2:27 am
- Forum: ESP-IDF
- Topic: OTA clarification
- Replies: 32
- Views: 44856
Re: OTA clarification
You can override components on a per-project basis. In your project directory, make a PROJECT_DIR/components/bootloader directory and copy the contents of IDF_PATH/components/bootloader to here. This bootloader component will be used in preference to the IDF one. Thats a brilliant feature - well done
- Fri Feb 24, 2017 12:30 am
- Forum: ESP-IDF
- Topic: OTA clarification
- Replies: 32
- Views: 44856
Re: OTA clarification
Hi Angus, Even if the ota image is not present at all and you set the OTA data to say boot from that OTA image - the bootloader will attempt to boot from it and then fail verify and then do nothing. As long as the partition table has the OTA partitions that is... if (err != ESP_OK) { ESP_LOGE(TAG, "...
- Thu Feb 23, 2017 9:50 pm
- Forum: ESP-IDF
- Topic: OTA clarification
- Replies: 32
- Views: 44856
Re: OTA clarification
Hi ,
You can ignore the last request. Ive modified teh 2nd stage bootloader to jump to factory app if the OTA image fails verify.
Thanks
Imtiaz
You can ignore the last request. Ive modified teh 2nd stage bootloader to jump to factory app if the OTA image fails verify.
Thanks
Imtiaz
- Thu Feb 23, 2017 8:50 pm
- Forum: ESP-IDF
- Topic: OTA clarification
- Replies: 32
- Views: 44856
Re: OTA clarification
Hi Guys, @ ESP_igrr @WiFive, Thanks for the help so far . I got OTA working quite painlessly so great job there Espressif. Can you tell me how I can jump from my OTA image to my factory image without setting the boot partition to factory and resetting. This will be really handy for the way I am desi...
- Thu Feb 23, 2017 12:46 am
- Forum: ESP-IDF
- Topic: OTA clarification
- Replies: 32
- Views: 44856
Re: OTA clarification
Hi @WiFive,
I need a form of timer to run in the 2nd stage bootloader - blocking is fine. Since I cant use the free rtos vTaskDelay (as far as I can tell) - what are my options?
Thanks
Imtiaz
I need a form of timer to run in the 2nd stage bootloader - blocking is fine. Since I cant use the free rtos vTaskDelay (as far as I can tell) - what are my options?
Thanks
Imtiaz
- Thu Feb 16, 2017 7:20 pm
- Forum: ESP-IDF
- Topic: OTA clarification
- Replies: 32
- Views: 44856
Re: OTA clarification
Hi WiFive, Thank you for the reply. We dont have a button on our esp32 module that can be used to have a failsafe boot to factory option. Is there any other way you can think of that we can have a failsafe OTA mechanism - that is in case you load an application that has the updating ability broken ....
- Thu Feb 16, 2017 5:09 am
- Forum: ESP-IDF
- Topic: OTA clarification
- Replies: 32
- Views: 44856
Re: OTA clarification
can anyone shed some light ? @ESP_igrr
- Tue Feb 14, 2017 11:42 pm
- Forum: ESP-IDF
- Topic: OTA clarification
- Replies: 32
- Views: 44856
OTA clarification
Hi Espressif, I am trying to get my head around the OTA procedure so I can implement it for our product . I have looked at the example readme file. The OTA as it is, is not really suitable for us as our product will be the AP rather than a station. This is my understanding of how the example works, ...
- Wed Feb 08, 2017 11:25 pm
- Forum: ESP-IDF
- Topic: Software reset
- Replies: 2
- Views: 9402
Re: Software reset
Works like a charm - thank you for the quick response
- Wed Feb 08, 2017 11:15 pm
- Forum: ESP-IDF
- Topic: Software reset
- Replies: 2
- Views: 9402
Software reset
Hi,
How do I perform a sofware reset on esp32 ? I tried
REG_WRITE(RTC_CNTL_OPTIONS0_REG, RTC_CNTL_SW_SYS_RST);
But after reset it doesnt run again?
How do I perform a sofware reset on esp32 ? I tried
Code: Select all
Code: Select all