云升级完成,程序不正常.

huafan
Posts: 32
Joined: Sun Mar 15, 2015 2:30 pm

云升级完成,程序不正常.

Postby huafan » Fri Apr 10, 2015 4:57 pm

云升级完成
使用sys_reboot命令 重启进入user2 程序不正常,
可以跳转到user2, 执行就打印了一些乱码。
user1.bin 和 user2.bin是一样的, 相同的代码编译的.
user1.bin 串口烧写可以正常执行, user2.bin 通过云升级烧写. 无法正常执行.
可能原因是什么?

huafan
Posts: 32
Joined: Sun Mar 15, 2015 2:30 pm

Re: 云升级完成,程序不正常.

Postby huafan » Fri Apr 10, 2015 5:20 pm

下面是LOG日志

user_esp_platform_sent_cb
upgrade file download start.
totallen = 2604
totallen = 4064
totallen = 5524
totallen = 6984
totallen = 8444
totallen = 9904
totallen = 11364
totallen = 12824
totallen = 14284
totallen = 15744
totallen = 17204
totallen = 18664
totallen = 20124
totallen = 21584
totallen = 23044
totallen = 24504
totallen = 25964
totallen = 27424
totallen = 28884
totallen = 30344
totallen = 31804
totallen = 33264
totallen = 34724
totallen = 36184
totallen = 37644
totallen = 39104
totallen = 40564
totallen = 42024
totallen = 43484
totallen = 44944
totallen = 46404
totallen = 47864
totallen = 49324
totallen = 50784
totallen = 52244
totallen = 53704
totallen = 55164
totallen = 56624
totallen = 58084
totallen = 59544
totallen = 61004
totallen = 62464
totallen = 63924
totallen = 65384
totallen = 66844
totallen = 68304
totallen = 69764
totallen = 71224
totallen = 72684
totallen = 74144
totallen = 75604
totallen = 77064
totallen = 78524
totallen = 79984
totallen = 81444
totallen = 82904
totallen = 84364
totallen = 85824
totallen = 87284
totallen = 88744
totallen = 90204
totallen = 91664
totallen = 93124
totallen = 94584
totallen = 96044
totallen = 97504
totallen = 98964
totallen = 100424
totallen = 101884
totallen = 103344
totallen = 104804
totallen = 106264
totallen = 107724
totallen = 109184
totallen = 110644
totallen = 112104
totallen = 113564
totallen = 115024
totallen = 116484
totallen = 117944
totallen = 119404
totallen = 120864
totallen = 122324
totallen = 123784
totallen = 125244
totallen = 126704
totallen = 128164
totallen = 129624
totallen = 131084
totallen = 132544
totallen = 134004
totallen = 135464
totallen = 136924
totallen = 138384
totallen = 139844
totallen = 141304
totallen = 142764
totallen = 144224
totallen = 145684
totallen = 147144
totallen = 148604
totallen = 150064
totallen = 151524
totallen = 152984
totallen = 154444
totallen = 155904
totallen = 157364
totallen = 158824
totallen = 160284
totallen = 161744
totallen = 163204
totallen = 164664
totallen = 166124
totallen = 167584
totallen = 169044
totallen = 170504
totallen = 171964
totallen = 173424
totallen = 174884
totallen = 176344
totallen = 177804
totallen = 179264
totallen = 180724
totallen = 182184
totallen = 183644
totallen = 185104
totallen = 186564
totallen = 188024
totallen = 189484
totallen = 190944
totallen = 192404
totallen = 193864
totallen = 195324
totallen = 196784
totallen = 198244
totallen = 199704
totallen = 201164
totallen = 202624
totallen = 204084
totallen = 205544
totallen = 207004
totallen = 207840
upgrade file download finished.
upgrade_check
user_esp_platform_upgarde_successfully
......
user_esp_platform_recv_cb {"body": {}, "nonce": 546570579, "get": {"action": "sys_reboot", "deliver_to_device": "true"}, "token": "a990bc6f96cd7ff1009aac274517785f9883fceb", "meta": {"Authorization": "token a990bc6f96cd7ff1009aac274517785f9883fceb"}, "status": 200, "path": "/v1/device/rpc/", "post": {}, "method": "GET", "deliver_to_device": true}

reboot to use2
rm match
del if0
bcn 0
del if1
usl
sul 0 0
 乱码 停止不动

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

Re: 云升级完成,程序不正常.

Postby ESP_Faye » Tue Apr 14, 2015 4:42 pm

您好,

编译 user2 之前,请先 make clean,再用./gen_misc.sh 编译,编译时选择 user2 的选项。

能否提供您的 user2.bin 我直接烧录试一下,您编译时选择的 flash size 是多大?

Who is online

Users browsing this forum: No registered users and 9 guests