esp_https_ota: Mismatch chip id, expected 0, found 28020
esp_https_ota: Mismatch chip id, expected 0, found 28020
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
-
- Posts: 9729
- Joined: Thu Nov 26, 2015 4:08 am
Re: esp_https_ota: Mismatch chip id, expected 0, found 28020
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
https://download942.mediafire.com/6aa49 ... ps_ota.bin this is my URL and it is a direct link. what might be the issue.
-
- Posts: 9729
- Joined: Thu Nov 26, 2015 4:08 am
Re: esp_https_ota: Mismatch chip id, expected 0, found 28020
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
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.
https://download942.mediafire.com/6aa49 ... ps_ota.bin what is the browser that you are using or what might be the issue.
-
- Posts: 9729
- Joined: Thu Nov 26, 2015 4:08 am
Re: esp_https_ota: Mismatch chip id, expected 0, found 28020
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.
Who is online
Users browsing this forum: No registered users and 96 guests