esp rainmaker OTA failed

ayman.dab
Posts: 8
Joined: Mon Aug 29, 2022 12:10 pm

esp rainmaker OTA failed

Postby ayman.dab » Tue Sep 20, 2022 7:00 am

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.  

ESP_Piyush
Posts: 309
Joined: Wed Feb 20, 2019 7:02 am

Re: esp rainmaker OTA failed

Postby ESP_Piyush » Wed Sep 21, 2022 5:46 pm

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?

Who is online

Users browsing this forum: No registered users and 20 guests