Hi.,
你好, 我用的SDK是 esp8266_rtos_v1.4.2 加上ESP8266_IOT_PLATFORM內的upgrade,
boot是boot_v1.5.bin, Web Server是 nginx, Url 192.168.5.224:8080/user2.4096.new.6.bin
做OTA結束時會發生1. strip the 400 error mesg 及 2.crc check failed,
然後按ESP8266 Reset並未切換到 UserBin2 開機. 請問如何解決? 謝謝幫忙:)
執行結果如下.,
HTTP/1.1 200 OK
Server: nginx/1.10.0
Date: Fri, 03 Mar 2017 03:35:24 GMT
Content-Type: application/octet-stream
Content-Length: 288260
Last-Modified: Thu, 02 Mar 2017 01:33:08 GMT
Connection: keep-alive
ETag: "58b77654-46604"
Accept-Ranges: bytes
?
userbin sumlength:288260
upgrade_task 374 word left
>>>recv 2642B, 285618B left
upgrade_task 374 word left
>>>recv 4102B, 284158B left
.
.
.
upgrade_task 374 word left
>>>recv 287762B, 498B left
upgrade_task 374 word left
strip the 400 error mesg
>>>recv 288585B, -325B left
upgrade data load finish.
img_crc = 3351113672
flash_crc = 943853624
upgrade crc check failed !
Exit upgrade task.
Upgrade_CheckCB + ( 有呼叫 callback )
Upgrade_CheckCB -
ESP8266 RTOS SDK V1.4.2 + ESP8266_IOT_PLATFORM upgrade OTA fail!
-
- Posts: 2
- Joined: Fri Sep 23, 2016 11:06 am
ESP8266 RTOS SDK V1.4.2 + ESP8266_IOT_PLATFORM upgrade OTA fail!
Postby william5858 » Mon Mar 06, 2017 10:14 am
Re: ESP8266 RTOS SDK V1.4.2 + ESP8266_IOT_PLATFORM upgrade OTA fail!
Postby ESP_Faye » Wed Mar 22, 2017 1:52 pm
您好,
表示您的服务器传来的数据长度,比之前查询到的 bin 长度更长。
表示 flash 里面写入的 bin 文件 crc 校验不通过。
建议您查证服务器发送的数据是否异常。
感谢您对 ESP8266 的关注!
strip the 400 error mesg
表示您的服务器传来的数据长度,比之前查询到的 bin 长度更长。
upgrade crc check failed !
表示 flash 里面写入的 bin 文件 crc 校验不通过。
建议您查证服务器发送的数据是否异常。
感谢您对 ESP8266 的关注!
Who is online
Users browsing this forum: No registered users and 60 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.