【紧急】【求助】BK7231NL,基线版本2.3.3-beta.347,设备休眠唤醒后死机

Wi-Fi 设备、Wi-Fi 低功耗设备、Wi-Fi BLE 双模设备、Ethernet设备、Ethernet+Wi-Fi设备等
Post Reply
shelvin
Posts: 4

【紧急】【求助】BK7231NL,基线版本2.3.3-beta.347,设备休眠唤醒后死机

传感温控设备,用BK7231NL二次开发,基线版本2.3.3-beta.347,设备唤醒后死机,log截图如下

down机.png

详细LOG:
20:21:41.406 [01-01 08:00:04 TUYA D][lr:0x57683] --------------sleep_count=56----------
20:21:41.581 [01-01 08:00:05 TUYA E][lr:0xcc115] uf_open netcfg_log err 8
20:21:42.414 [01-01 08:00:05 TUYA D][lr:0x57683] --------------sleep_count=57----------
20:21:42.443 [01-01 08:00:05 TUYA D][lr:0xaf2fd] udp ip: 192.168.9.123
20:21:43.417 [01-01 08:00:06 TUYA D][lr:0x57683] --------------sleep_count=58----------
20:21:44.418 [01-01 08:00:07 TUYA D][lr:0x57683] --------------sleep_count=59----------
20:21:45.436 [01-01 08:00:08 TUYA D][lr:0x57683] --------------sleep_count=60----------
[01-01 08:00:08 TUYA D][lr:0x57471] ---------------write_os_parameter-------------------
[01-01 08:00:08 TUYA D][lr:0x5747f] --------doorcontact_parameter.doorcontact_state_compare=0--------
20:21:45.624 [01-01 08:00:09 TUYA D][lr:0x57559] -------------tuya_deepsleep_enter---------------
[01-01 08:00:09 TUYA N][lr:0x574bb] pframe -> 1, 480 22 1
[01-01 08:00:09 TUYA N][lr:0x5753b] enter sleep mode,sleep_timer is 28800, 404000, 404000
20:21:56.124 *
V:BK7231N_1.0.1
REG:cpsr spsr r13 r14
SVC:000000D3 DB7F69AF EFFFB0FA
IRQ:000000d2 00000010 fdf7fe07 2d89e63e
FIR:000000d1 00000010 f6edb7f5 b35ff967
SYS:000000df 0040192c 00000158
ST:00000003
J 0x10000
[01-01 18:12:15 TUYA I][lr:0x9a50d] mqc app init ...
[01-01 18:12:15 TUYA I][lr:0xa54db] thread_create name:sys_timer,stackDepth:4096,totalstackDepth:4096,priority:5
[01-01 18:12:15 TUYA D][lr:0xa5367] Thread:sys_timer Exec Start. Set to Running Stat
[01-01 18:12:15 TUYA I][lr:0xa54db] thread_create name:cmmod,stackDepth:4096,totalstackDepth:8192,priority:4
[01-01 18:12:15 TUYA D][lr:0x9a427] mq_pro:5 cnt:1
[01-01 18:12:15 TUYA D][lr:0x9a427] mq_pro:31 cnt:2
[01-01 18:12:15 TUYA D][lr:0xc952f] svc online log init success
[01-01 18:12:15 TUYA D][lr:0xc2127] read m:0 f:0 l:0
[01-01 18:12:15 TUYA I][lr:0xa54db] thread_create name:wk_th-0,stackDepth:5120,totalstackDepth:13312,priority:3
[01-01 18:12:15 TUYA E][lr:0xa9399] wd_protected_read fails gw_bi -23
[01-01 18:12:15 TUYA D][lr:0xa960b] gw base read finish:-23
[01-01 18:12:15 TUYA D][lr:0xc70eb] ty bt cmmod regist ok:1
dev id key: 16
d4 1d 8c d9 8f 00 b2 04 e9 80 09 98 ec f8 42 7e
[PLATFORM DEBUG]bt_port_init
[01-01 18:12
[01-01 18:12:15 TUYA D][lr:0xc7b51] bt act0x3,status:0x0
[01-01 1_evt:GAPM_GEN_RAND_NB
[PLATFORM NOTICE]STACK

[01-01 18:12:15 TUYA Ilr:0x57aeb] < TUYA IOTD][lr:0x57aeb] < TUYA I SDK V:2.3.3 BS:40.00_POT SDK V:2.3.3 BS:40.00T:2.2_LAN:3.4_CAD:1.0.5_PT:2.2_LAN:3.4_CAD:1.0_CD:1.0.0 >
< BUILD AT:.5_CD:1.0.0 >
< BUILD 2022_07_27_22_50_03 BY AT:2022_07_27_22_50_03 ci_manage FOR ty_iot_sdBY ci_manage FOR ty_iotk AT BK7231NL >
IOT DE_sdk AT BK7231NL >
IOTFS < WIFI_GW:1 DEBUG:1 DEFS < WIFI_GW:1 DEBUGKV_FILE:0 SHUTDOWN_MODE::1 KV_FILE:0 SHUTDOWN_M0 LITTLE_END:1 TLS_MODODE:0 LITTLE_END:1 TLS_M[PLATFORM NOTICE]CREATEOD[01-01 18:12:15 TUYA lr:0x57af5] WL_19DWT_CD][lr:0x57af5] WL_19DWTBU:1.0.0
_CBU:1.0.0
[01-01 18:12:15 TUYA N][lr:0x57aff] firmware compiled at Feb 11 2023 20:19:13
[PLATFORM NOTIC[01-01 18:12:15 TUYA D]ETUYA D][lr:0x97f3b] re[lr:0x97f3b] rev ble evv ble event 3
ent 3
[01-01 18:12:15 TUYA N][[PLATFORM DEBUG]UNKNOW lENT:17
[01-01 18:12:15Elr:0x95a77] init fs. P TUYA D][lr:0x95a77] inath: null
[PLATFORM Dion:0xa0,status:0x0
EBUG]UNKNOW EVENT:16
[01-01 18:12:15 TUYA D][lr[PLATFORM DEBUG]UNKNOW :T:16
[01-01 18:12:15 Elr:0xcb9d5] protected TUYA D][lr:0xcb9d5] protinit. addr:0x001ed000
ected init. addr:0x001e[PLATFORM DEBUG]UNKNOW d000
EVENT:16
[PLATFORM DEBUG]UNKNOW EVENT:16
[01-01 18:12:15 TUYA D][lr:0xcb847] init protected data length 482
[01-01 18:12:15 TUYA N][lr:0xc00e3] key_addr: 0x1ee000 block_sz 4096
[01-01 18:12:15 TUYA N][lr:0xc01b3] get key:
0xac 0xf6 0x7c 0xa0 0x72 0x40 0xeb 0x40 0x4e 0xe5 0x95 0xd6 0xbf 0x5e 0xfc 0xfa
[01-01 18:12:15 TUYA D][lr:0xcb9f1] protected verify begin
[01-01 18:12:15 TUYA D][lr:0xcba27] check [gw_bi][244]
[01-01 18:12:15 TUYA D][lr:0xcba27] check [gw_wsm][166]
[01-01 18:12:15 TUYA D][lr:0xcba63] protected verify end
20:21:56.560 [01-01 18:12:15 TUYA N][lr:0x95f57] have actived over 15 min, not enter mf_init
[01-01 18:12:15 TUYA N][lr:0x5724d] mf_init succ
[01-01 18:12:15 TUYA I][lr:0xa54db] thread_create name:key_handle,stackDepth:2048,totalstackDepth:15360,priority:5
[01-01 18:12:15 TUYA D][lr:0xa5367] Thread:key_handle Exec Start. Set to Running Stat
[01-01 18:12:15 TUYA N][lr:0x57d03] tuya_hard_init is success
[01-01 18:12:15 TUYA D][lr:0xa5367] Thread:cmmod Exec Start. Set to Running Stat
[01-01 18:12:15 TUYA D][lr:0xa5367] Thread:wk_th-0 Exec Start. Set to Running Stat
20:21:56.686 [01-01 18:12:15 TUYA D][lr:0x5725f] gwcm_mode 5
[01-01 18:12:15 TUYA D][lr:0x5726d] low_power select
[01-01 18:12:15 TUYA N][lr:0x5727b] have actived over 15min, don't scan prod test ssid
[01-01 18:12:15 TUYA D][lr:0x57363] no tuya_mdev_test1!
[01-01 18:12:15 TUYA D][lr:0x57369] device_init in
[01-01 18:12:15 TUYA N][lr:0xae4e7] wifi soc init. pid:pd4l2zu5s8ajh0me firmwarekey:(null) ver:1.0.0
[01-01 18:12:15 TUYA D][lr:0xa2683] tuya svc upgrade init success!
[PLATFORM NOTICE]bk_rst:3 tuya_rst:5
[01-01 18:12:15 TUYA N][lr:0xa88c3] Last reset reason: 5
[01-01 18:12:15 TUYA D][lr:0xcbb8f] protected read [gw_bi]
[01-01 18:12:15 TUYA D][lr:0xcbc15] protected read ret:0 length:244
[01-01 18:12:15 TUYA D][lr:0xa960b] gw base read finish:0
[01-01 18:12:15 TUYA D][lr:0x9b54b] tls_ca_cnt:0 and parse:0
[01-01 18:12:15 TUYA N][lr:0xa899f] serial_no:c8478c000000
[01-01 18:12:15 TUYA D][lr:0xcbb8f] protected read [gw_wsm]
[01-01 18:12:15 TUYA D][lr:0xcbc15] protected read ret:0 length:166
[01-01 18:12:15 TUYA D][lr:0xa9967] gw_wsm read success
[01-01 18:12:15 TUYA N][lr:0xa89dd] gw_cntl.gw_wsm.stat:2
[01-01 18:12:15 TUYA N][lr:0xacd59] gw_cntl->gw_wsm.nc_tp:9
[01-01 18:12:15 TUYA N][lr:0xacd61] gw_cntl->gw_wsm.md:0
[01-01 18:12:15 TUYA D][lr:0xa9f9f] gw_di read success
[01-01 18:12:15 TUYA D][lr:0xa8585] stride from flash: 0.
[01-01 18:12:15 TUYA D][lr:0xa8641] ver no change.
[01-01 18:12:15 TUYA N][lr:0xa8b39] gw_cntl.gw_if.abi:0 input:0
[01-01 18:12:15 TUYA N][lr:0xa8b47] gw_cntl.gw_if.product_key:pd4l2zu5s8ajh0me, input:pd4l2zu5s8ajh0me
[01-01 18:12:15 TUYA N][lr:0xa8b51] gw_cntl.gw_if.tp:0, input:0
[01-01 18:12:15 TUYA D][lr:0xaa54d] gw_ai read success
[01-01 18:12:15 TUYA D][lr:0xa6dd9] set_dns_region:1
[01-01 18:12:15 TUYA D][lr:0xa69ed] cache dns [http://a.tuyacn.com/d.json]<->[42.192.25.216]
[01-01 18:12:15 TUYA D][lr:0xa69ed] cache dns [https://a3.tuyacn.com/d.json]<->[121.5.96.248]
[01-01 18:12:15 TUYA D][lr:0xa69ed] cache dns [m2.tuyacn.com:1883]<->[42.192.31.13]
[01-01 18:12:15 TUYA D][lr:0xa69ed] cache dns [m2.tuyacn.com:8886]<->[42.192.31.13]
[01-01 18:12:15 TUYA D][lr:0xa69ed] cache dns [baal.tuyacn.com:443]<->[42.192.35.108]
[01-01 18:12:15 TUYA D][lr:0xaa63f] schema 000004yfth read success
[01-01 18:12:15 TUYA D][lr:0xab097] create dev_cntl Success
[01-01 18:12:15 TUYA D][lr:0xa8d87] enter success_proc
[01-01 18:12:15 TUYA D][lr:0xab47d] init watchdog, interval: 60
[01-01 18:12:15 TUYA D][lr:0xab4bb] watch_dog_interval:60, monitor_detect_interval:600
[01-01 18:12:15 TUYA I][lr:0xa54db] thread_create name:health_monitor,stackDepth:1536,totalstackDepth:16896,priority:5
[01-01 18:12:15 TUYA D][lr:0x9a427] mq_pro:11 cnt:3
[01-01 18:12:15 TUYA D][lr:0x9a427] mq_pro:41 cnt:4
[01-01 18:12:15 TUYA D][lr:0x9a427] mq_pro:100 cnt:5
[01-01 18:12:15 TUYA D][lr:0x9a427] mq_pro:27 cnt:6
[01-01 18:12:15 TUYA N][lr:0xc7257] ty bt upd product:pd4l2zu5s8ajh0me 0
[01-01 18:12:15 TUYA D][lr:0xa5367] Thread:health_monitor Exec Start. Set to Running Stat
[01-01 18:12:15 TUYA D][lr:0xac97f] nc_tp:9, md:0
[01-01 18:12:15 TUYA N][lr:0x57e1d] tuya_hard_soft_timer_init--------------------------
[01-01 18:12:15 TUYA D][lr:0xae571] register wifi network monitor. interval:1
[01-01 18:12:15 TUYA N][lr:0x57bf5] system free heap:68336
[01-01 18:12:15 TUYA D][lr:0x57bfb] create_use_task-----
[01-01 18:12:15 TUYA D][lr:0x5769d] in_create_use_task---------
[01-01 18:12:15 TUYA N][lr:0x5789d] debug_io_initial----------
[01-01 18:12:15 TUYA D][lr:0x573e5] --------------------read_os_parameter-------------------
[01-01 18:12:15 TUYA D][lr:0x57407] --------doorcontact_parameter.doorcontact_state_compare=0--------
[01-01 18:12:15 TUYA D][lr:0x57411] --------write_buff[0]=0--------
[01-01 18:12:15 TUYA D][lr:0x5741b] --------write_buff[1]=0--------
[01-01 18:12:15 TUYA D][lr:0x57425] --------write_buff[2]=0--------
[01-01 18:12:15 TUYA D][lr:0x57591] ------------sleep_task---------------
[01-01 18:12:15 TUYA D][lr:0x57eff] -----------------doorcontact_parameter.doorcontact_state=1-------------
[01-01 18:12:15 TUYA D][lr:0x98f7d] read from flash, beacon_key:"BAFDC6D7B48628836CE9B69F10EA67A4"
[01-01 18:12:15 TUYA D][lr:0x98317] start ble monitor

请教下是什么原因导致的死机,如何解决,谢谢!


Tags:
Post Reply