Page 1 of 1
esp_https_ota: Mismatch chip id, expected 0, found 28020
Posted: Tue Sep 20, 2022 8:21 am
by buddhika
I am doing ota using advanced_https_ota_example from the examples and I am getting above error esp_https_ota: Mismatch chip id, expected 0, found 28020. I am having a direct link to the binary file on the server.please tell me how to fix this issue
Re: esp_https_ota: Mismatch chip id, expected 0, found 28020
Posted: Wed Sep 21, 2022 2:34 am
by ESP_Sprite
28020 is hex 0x6d74, which are two ASCII characters ('mt'). Are you 100% sure what OTA is getting from the server is actually a binary, and not e.g. a redirect to a binary?
Re: esp_https_ota: Mismatch chip id, expected 0, found 28020
Posted: Fri Oct 28, 2022 6:49 am
by buddhika
https://download942.mediafire.com/6aa49 ... ps_ota.bin this is my URL and it is a direct link. what might be the issue.
Re: esp_https_ota: Mismatch chip id, expected 0, found 28020
Posted: Fri Oct 28, 2022 9:20 am
by ESP_Sprite
Seems it doesn't lead to the direct download of the file. For me (and presumably the ESP32 as well) it leads to a html page. The ESP32 assumes that html page is the OTA file and flashes that.
Re: esp_https_ota: Mismatch chip id, expected 0, found 28020
Posted: Fri Oct 28, 2022 9:37 am
by buddhika
Dear ESP_Sprite, I tried with all three browsers chrome,firefox and microsoft edge.given link directly downloaded the file.
https://download942.mediafire.com/6aa49 ... ps_ota.bin what is the browser that you are using or what might be the issue.
Re: esp_https_ota: Mismatch chip id, expected 0, found 28020
Posted: Sun Oct 30, 2022 2:07 am
by ESP_Sprite
It probably is because those browsers share the cookies for your session on that site, skipping the HTML page. Use a tool like curl or wget to grab that url and you'll see it results in html rather than your binary.