|
大家有没有发现soc的固件在保存数据时产生硬件中断会导致设备重启?
因为我在8266上挂了一个采集芯片,为了效率比较高采用了硬件中断触发(有数据时产生中断,8266去读取)
我传感器上一秒上报一次数据,这个时候我重启设备,在airkiss config倒数到0时出现保存配置,然后我设备就被复位了。
经过好多天排查才发现的问题,机智云是不是在保存配置到flash时没有关闭硬件中断?
因为我数据量较大,所以每次都会产生异常重启,这样的情况该如何处理?
以下是部分log:
...
[016536][WiFiEvent] To bc airkiss config OK.
[016536][Lan] startupBroadCastTime:2
[016536][WiFiEvent] To bc airkiss config OK.
[016536][Lan] startupBroadCastTime:1
[016536][WiFiEvent] To bc airkiss config OK.
[016536][Lan] startupBroadCastTime:0
[016536][WiFiEvent] To bc airkiss config OK.
[016696][Lan] DestroyUDPBroadCastServer.543 espconn_delete ret=0.
[016696][Lan] DestroyUDPBroadCastServer success.
[016696][Dev] Save GAgent config data
Fatal exception 0(IllegalInstructionCause):
epc1=0x40206dc4, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
ets Jan 8 2013,rst cause:2, boot mode3,7)
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(512KB+512KB)
jump to run user1 @ 1000
|
|