Page 1 of 1

esp rainmaker OTA failed

Posted: Tue Sep 20, 2022 7:00 am
by ayman.dab
when I try to upload code from rainmaker dashboard I got error and the OTA job cancelled
what is the reason for this problem and what can I do to fix it ?

E (289379) esp_rmaker_ota: image header verification failed
E (289381) esp_rmaker_ota: ESP_HTTPS_OTA upgrade failed 0


the OTA code that I put in code :
  1.  
  2.  esp_rmaker_ota_config_t ota_config = {
  3.         .server_cert = ESP_RMAKER_OTA_DEFAULT_SERVER_CERT,
  4.     };
  5.   esp_rmaker_ota_enable(&ota_config, OTA_USING_TOPICS);
  6.  

Re: esp rainmaker OTA failed

Posted: Wed Sep 21, 2022 5:46 pm
by ESP_Piyush
There must be some additional print (if you are using latest esp-rainmaker) showing what was the failure. Else, it may be available in the OTA details for the node on the dashboard. Possible reasons are

1. OTA Image is not valid, or built for a different chip.
2. OTA Image is for a different project.
3. OTA image has same firmware version as existing firmware.

Can you check for the above?