ESP8266 Developer Zone The Official ESP8266 Forum 2018-01-26T00:30:05+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=9043 2018-01-26T00:30:05+08:00 2018-01-26T00:30:05+08:00 https://bbs.espressif.com:443/viewtopic.php?t=9043&p=19183#p19183 <![CDATA[Re: NonOS SDK V2.0.0_16_08_10 OTA "check the bin file"]]>
mzk wrote:
Hello. I'm trying to run an OTA upgrade on ESP8266 (ESP-12F). I did manage it to connect to the remote server and to request the file.

Here are the last few lines of debug info:

Code:

ALL=80 sectors erase ok!
upgrade_connect_cb
sumlength = 327188
upgrade file download start.
please check the bin file
totallen = 2653
totallen = 4113
upgrade_check
[OTA]failed!
pm open,type:2 0


I found the same question asked by another person here: https://stackoverflow.com/questions/471 ... e-bin-file

I have no clue on how to start investigation of this problem. One thing on my mind is to disassemble libupgrade.a since the message "please check the bin file" origins there.

Any ideas are welcome!


Hi mzk,
What is your process for generating this OTA firmware file? I assume you are aware it is not the same procedure as the normal Bin file you originally start the SDK with. Are you using esptool.py to generate the binary?

Statistics: Posted by AgentSmithers — Fri Jan 26, 2018 12:30 am


]]>
2018-01-23T12:24:43+08:00 2018-01-23T12:24:43+08:00 https://bbs.espressif.com:443/viewtopic.php?t=9043&p=19161#p19161 <![CDATA[Re: NonOS SDK V2.0.0_16_08_10 OTA "check the bin file"]]> How about open the url by browser on your PC? Can the bin file be downloaded?
BTW, there is an OTA demo may help you http://bbs.espressif.com/viewtopic.php?f=7&t=423#p1619.

Statistics: Posted by Her Mary — Tue Jan 23, 2018 12:24 pm


]]>
2018-01-20T06:43:09+08:00 2018-01-20T06:43:09+08:00 https://bbs.espressif.com:443/viewtopic.php?t=9043&p=19143#p19143 <![CDATA[NonOS SDK V2.0.0_16_08_10 OTA "check the bin file"]]>
Here are the last few lines of debug info:

Code:

ALL=80 sectors erase ok!
upgrade_connect_cb
sumlength = 327188
upgrade file download start.
please check the bin file
totallen = 2653
totallen = 4113
upgrade_check
[OTA]failed!
pm open,type:2 0


I found the same question asked by another person here: https://stackoverflow.com/questions/471 ... e-bin-file

I have no clue on how to start investigation of this problem. One thing on my mind is to disassemble libupgrade.a since the message "please check the bin file" origins there.

Any ideas are welcome!

Statistics: Posted by mzk — Sat Jan 20, 2018 6:43 am


]]>