NonOS SDK V2.0.0_16_08_10 OTA "check the bin file"

mzk
Posts: 1
Joined: Sat Jan 20, 2018 6:34 am

NonOS SDK V2.0.0_16_08_10 OTA "check the bin file"

Postby mzk » Sat Jan 20, 2018 6:43 am

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: Select all

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!

Her Majesty
Posts: 305
Joined: Mon Oct 27, 2014 11:09 am

Re: NonOS SDK V2.0.0_16_08_10 OTA "check the bin file"

Postby Her Majesty » Tue Jan 23, 2018 12:24 pm

I guess maybe the url is wrong.
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.

AgentSmithers
Posts: 96
Joined: Sat Apr 01, 2017 1:21 am
Contact:

Re: NonOS SDK V2.0.0_16_08_10 OTA "check the bin file"

Postby AgentSmithers » Fri Jan 26, 2018 12:30 am

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: Select all

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?

Who is online

Users browsing this forum: No registered users and 4 guests