关于8266Espressif的FOAT失败的问题

zhang1531965031
Posts: 2
Joined: Fri Jun 22, 2018 11:05 am

关于8266Espressif的FOAT失败的问题

Postby zhang1531965031 » Fri Jun 22, 2018 11:26 am

你好:
我根据官方的《ESP8266云端升级指南》这份文档,我使用了NONOS-SDK2.2与乐鑫官方的8266模块进行了调试,整个过程中都按照文档上的步骤来做的,能连接上了云服务,但是无法进行升级,在云服务器进行升级请求命令后出现了如下提示:
GET /v1/device/rom/?action=download_rom&version=v1.1.0t45772(a)&filename=user2.bin HTTP/1.0
Host: iot.espressif.cn:80
Connection: close
Cache-Control: no-cache
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36
Accept: */*
Authorization: token 68bcf64bc293167a960510816f100acb54158f1c
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8
err1,exceed max time value,max val is 000689D0
upgrade is already started
Connect ok!
Request send success
pre erase flash!

pusrdata HTTP/1.1 404 Not Found
Server: nginx/1.10.2
Date: Fri, 22 Jun 2018 01:56:40 GMT
Content-Type: text/plain; charset=utf-8
Content-Length: 10
Connection: close
X-Content-Type-Options: nosniff
Not Found
userbin sumlength:10
Connect ok!
Request send success

pusrdata HTTP/1.1 404 Not Found
Server: nginx/1.10.2
Date: Fri, 22 Jun 2018 01:56:40 GMT
Content-Type: text/plain; charset=utf-8
Content-Length: 10
Connection: close
X-Content-Type-Options: nosniff

Not Found

userbin sumlength:10
upgrade data load finish.
img_crc = 319040964
flash_crc = 1853189700
upgrade crc check failed !

Exit upgrade task.
upgrade_failed

我已经将所需的user1与user2上传到了Espressif云服务器上,iot模块发送的ping的命令也能正常回复,但是就是不能进行升级,换了不同版本的SDK,也换了不同的浏览器,还是一样的结果,到底这是怎么回事啊??
谢谢!!

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

Re: 关于8266Espressif的FOAT失败的问题

Postby Her Majesty » Wed Jun 27, 2018 3:48 pm

看提示 404 Not Found,比较可能是 url 不对。

zhang1531965031
Posts: 2
Joined: Fri Jun 22, 2018 11:05 am

Re: 关于8266Espressif的FOAT失败的问题

Postby zhang1531965031 » Fri Jul 06, 2018 5:21 pm

谢谢你了,我的url是乐鑫官方的url,我完全没有改动过,我把它粘贴如下:
GET /v1/device/rom/?action=download_rom&version=v1.1.0t45772(a)&filename=user2.bin HTTP/1.0
Host: iot.espressif.cn:80
Connection: close
Cache-Control: no-cache
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36
Accept: */*
Authorization: token 68bcf64bc293167a960510816f100acb54158f1c
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8

你看这里有什么问题吗?

Who is online

Users browsing this forum: No registered users and 17 guests