云端对设备进行固件升级问题

xzm7358
Posts: 2
Joined: Sun Aug 09, 2015 9:20 am

云端对设备进行固件升级问题

Postby xzm7358 » Wed Aug 19, 2015 3:34 pm

当前烧录的固件版本为v1.0.6t45772(a)
在http://iot.espressif.cn/#/products/ 页面点击升级按钮后,设备打印如下

system_upgrade_start
upgrade_connect
user_esp_platform_sent_cb
upgrade_connect_cb
GET /v1/device/rom/?action=download_rom&version=v1.0.6t45772(a)&filename=user2.bin HTTP/1.0
Host: 115.29.202.58:80
Connection: keep-alive
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 402c42d01e52bd2cb5264e1b1c8615b20807203c
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8

sumlength = 221136
upgrade file download start.
totallen = 2559
totallen = 4011
。。。
totallen = 221136
upgrade file download finished.
flash_crc = 3858759680
img_crc = 1012661015
upgrade_check
user_esp_platform_upgrade_failed
{"path": "/v1/messages/", "method": "POST", "meta": {"Authorization": "token 402c42d01e52bd2cb5264e1b1c8615b20807203c"},"get":{"action":"device_upgrade_failed"},"body":{"pre_rom_version":"v1.0.5t45772(a)","rom_version":"v1.0.6t45772(a)"}}

user_esp_platform_sent_cb
user_esp_platform_recv_cb {"status": 200, "message": "send message success", "result": "success"}

ESP_Faye
Posts: 1623
Joined: Mon Oct 27, 2014 11:08 am

Re: 云端对设备进行固件升级问题

Postby ESP_Faye » Mon Aug 24, 2015 3:24 pm

您好,

从打印 log 看来,是 CRC 校验失败。

请确认您使用的 SDK 是否更新了最新的 tools 文件夹 ?http://bbs.espressif.com/viewtopic.php?f=46&t=851

Who is online

Users browsing this forum: No registered users and 2 guests