|
esp8266 SoC 固件是自动生成的 然后我二次开发加入了一些功能 原有的代码基本没动 但有时手机app连接设备 设备会自动重启 但不一定每次都重启 运气不好会频繁发生 而且有时即使连接正常 手机app向设备发指令有时也会重启 最要命不是每次都有 要碰运气 我实在崩溃了 我截了一段日志 主要是那句[Dev] Turn off device restart count down, flag: 0
[Lan] startupBroadCastTime:5
[Lan] startupBroadCastTime:4
[Lan] startupBroadCastTime:3
[Lan] startupBroadCastTime:2
[GAgent] Create pd:2 ip:192.168.12.182 port:45530
[Lan] New client connect,pd:2
[Lan] Receive lan tcp packet cnt is 1
[Dev] Turn off device restart count down, flag: 0
[Lan] LAN login success! clientid[0]
[Lan] Receive lan tcp packet cnt is 2
[Timer] gagentTimerDel <null> has not linked.
ets Jan 8 2013,rst cause:2, boot mode3,6)
load 0x40100000, len 2408, room 16
tail 8
chksum 0xe5
load 0x3ffe8000, len 776, room 0
tail 8
chksum 0x84
load 0x3ffe8310, len 632, room 0
tail 8
chksum 0xd8
csum 0xd8
2nd boot version : 1.6
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 32Mbit(1024KB+1024KB)
jump to run user1 @ 1000
屻僶鞗;凔g|審渄`勩;沝宒$`屻s踠浃誮jjjjjjjjjjjjj-乿ersion:2.0.0(5a875ba)--------------
system_get_free_heap_size=34280
reset reason: 3
epc1=0x402337e1, epc2=0x00000000, epc3=0x40233805, excvaddr=0x00000000, depc=0x00000000
---UPGRADE_FW_BIN1---
[Dev] Get gagent config data from master eare.
[Dev] Save gagent config data
[Dev] Domain:api.gizwits.com:80.
[Dev] tz in sec:28800,timezone:8.0
[WiFiEvent] Wifi station connect failed!
[NWK] NWK_WIFI_STA_UP
[GAgent] GAgent Start...
[Local]
----------------------------------------- GAGENT INFO --------------------------------------
[Local] GAgent Product Soft Version: 04020021. Hard Version: 00ESP826
我就想知道为何会重启 是固件运行崩溃了吗 我先是怀疑自己写的代码是否有问题 但后来发现重启前一瞬间还没有运行到我的代码就已经重启了 我不知道那句[Dev] Turn off device restart count down, flag: 0是什么意思 望机智云工程师指点
|
|