u_bootloader enter
ty heap base: 28001B00 size: 65280
__read_manage_block: mag->blockid=255, id=0, mag->state=255.
__read_manage_block: mag->magic=0xFFFFFFFF, rescrc=0x0, mag->crc32=0xFFFFFFFF.
__read_manage_block: mag->blockid=255, id=1, mag->state=255.
__read_manage_block: mag->magic=0xFFFFFFFF, rescrc=0x0, mag->crc32=0xFFFFFFFF.
_judge_ota_info checkerr0:1, checkerr1:1
jump toxx:0x2010000
jump toxx:0x2010000 [Flash](components/easy_flash/easy_flash_V4.X/src/ef_env.c:1818) ENV start address is 0x007CB000, size is 8192 bytes.
[Flash]EasyFlash V4.1.0 is initialize success.
[Flash]You can get the latest version on https://github.com/armink/EasyFlash .
ate enabled is 0
driver_init end
uncali sdmadc value:[0 0]
reason - unknown
regs - 7f, 7f, 0
start user app thread.
-------- left heap: 187536, reset reason: 7f
go to tuya
temp in otp is:571
rwnx_cal_set_rfconfig(0x101) phy on; rf off
user app entry(0x20b8915)
wakeup
$media app thread startup complete
media_app_mailbox_init sema ok 0x28032538
media_app_mailbox_message_handle
mailbox app thread startup complete
core cpu0 create ipc channel: tuya01, 28033150
[01-01 00:00:00 ty D][7038][tal_thread.c:224] Thread:sys_timer Exec Start. Set to Running Stat 0x60703850
[01-01 00:00:00 ty I][7010][tal_thread.c:200] thread_create name:sys_timer,stackDepth:8192,totalstackDepth:8192,priority:5
[01-01 00:00:00 ty I][7010][tal_thread.c:200] thread_create name:wq_system,stackDepth:6144,totalstackDepth:14336,priority:3
[01-01 00:00:00 ty I][7010][tal_thread.c:200] thread_create name:wq_highpri,stackDepth:5120,totalstackDepth:19456,priority:4
[01-01 00:00:00 ty D][7067][tal_thread.c:224] Thread:wq_highpri Exec Start. Set to Running Stat 0x60706760
[01-01 00:00:00 ty D][7010][tuya_svc_netmgr_linkage.c:86] link[9] is registered [0]
[01-01 00:00:00 ty D][7010][tuya_svc_netmgr_linkage.c:86] link[2] is registered [1]
tkl_wifi_init
[01-01 00:00:00 ty D][7010][tuya_devos_health.c:114] add new node,type:0
[01-01 00:00:00 ty D][7010][tuya_devos_health.c:114] add new node,type:1
[01-01 00:00:00 ty D][7010][tuya_devos_health.c:114] add new node,type:2
[01-01 00:00:00 ty D][7010][tuya_devos_health.c:114] add new node,type:3
[01-01 00:00:00 ty D][7010][tuya_devos_health.c:114] add new node,type:4
[01-01 00:00:00 ty D][7010][tuya_devos_health.c:114] add new node,type:5
[01-01 00:00:00 ty D][7010][tuya_devos_health.c:114] add new node,type:6
[01-01 00:00:00 ty D][7010][tuya_devos_health.c:114] add new node,type:7
[01-01 00:00:00 ty D][7010][tuya_devos_health.c:114] add new node,type:8
[01-01 00:00:00 ty D][7010][tuya_devos_health.c:114] add new node,type:9
[01-01 00:00:00 ty D][7010][tuya_devos_health.c:58] init watchdog, interval: 60
tkl_watchdog_init interval_ms(30000)!
[01-01 00:00:00 ty D][7010][tuya_devos_health.c:161] update type:7,period:10
[01-01 00:00:00 ty D][7010][tuya_devos_health.c:491] watch_dog_interval:60, monitor_detect_interval:600
[01-01 00:00:00 ty D][707d][tal_thread.c:224] Thread:health_monitor Exec Start. Set to Running Stat 0x60707da0
[01-01 00:00:00 ty I][7010][tal_thread.c:200] thread_create name:health_monitor,stackDepth:3072,totalstackDepth:22528,priority:5
[01-01 00:00:00 ty I][7010][mqc_app.c:502] mqc app init ...
[01-01 00:00:00 ty D][7010][mqc_app.c:112] mq_pro:5 cnt:1
[01-01 00:00:00 ty D][7010][mqc_app.c:112] mq_pro:31 cnt:2
[01-01 00:00:00 ty D][7010][tuya_svc_online_log.c:291] svc online log init success
[01-01 00:00:00 ty E][7010][log_seq.c:930] logseq empty
[01-01 00:00:00 ty N][7010][tuya_device.c:150] < TuyaOS V:3.12.11 BS:40.00_PT:2.3_LAN:3.5_CAD:1.0.5_CD:1.0.0 >
< BUILD AT:2025_05_09_17_57_26 BY ci_manage FOR tuyaos-ai AT T5 >
IOT DEFS < WIFI_GW:1 DEBUG:1 KV_FILE:0 LITTLE_END:1 SL:1 OPERATING_SYSTEM:98 RELIABLE_TRANSFER:0 >
bk_value:7f, ty_value:0
[01-01 00:00:00 ty N][7010][tuya_device.c:151] reset_reason:0
[01-01 00:00:00 ty N][7010][tuya_device.c:152] t5_common_user_config_ai_ty sw ver:0.0.14
[01-01 00:00:00 ty D][7010][tuya_ws_db.c:466] init fs. Path: null
[01-01 00:00:00 ty D][7010][kv_storge.c:46] *****************kvs_init.
[01-01 00:00:00 ty D][7010][simple_flash_protected.c:206] protected init. addr:0x007cd000
[01-01 00:00:00 ty N][7010][simple_flash_protected.c:87] init protected data length 491 wr_cnt 6
[01-01 00:00:00 ty N][7010][simple_flash.c:447] key_addr: 0x7fd000 block_sz 4096
[01-01 00:00:00 ty N][7010][simple_flash.c:533] get key:
0xc4 0xeb 0xf4 0x27 0xf6 0x8b 0xfa 0xa2 0xf7 0x9e 0xb5 0xc8 0x3d 0xd6 0x13 0x31
[01-01 00:00:00 ty D][7010][simple_flash_protected.c:216] protected verify begin
[01-01 00:00:00 ty D][7010][simple_flash_protected.c:231] check [gw_wsm][140]
[01-01 00:00:00 ty D][7010][simple_flash_protected.c:231] check [gw_bi][279]
[01-01 00:00:00 ty D][7010][simple_flash_protected.c:243] protected verify end
[01-01 00:00:00 ty D][7010][simple_flash.c:877] begin try update kv version
[01-01 00:00:00 ty D][7010][simple_flash.c:884] pre kv version is 2
[01-01 00:00:00 ty D][7010][simple_flash.c:1185] 111 k=1 i=15 1
[01-01 00:00:00 ty D][7010][ty_gfw_wifi_sleep.c:924] __read_sleep_mode op_ret:-6, s_mode:255
[01-01 00:00:00 ty N][7010][tuya_tls.c:915] uni_random_init...
[01-01 00:00:00 ty N][7010][tuya_tls.c:354] tuya_tls_rand_init ok!
[01-01 00:00:00 ty D][7010][simple_flash_protected.c:343] protected read [gw_bi]
[01-01 00:00:00 ty D][7010][simple_flash_protected.c:387] protected read ret:0 length:279
[01-01 00:00:00 ty D][7010][ws_db_gw.c:148] gw_bi read ret:0
[01-01 00:00:00 ty D][7010][simple_flash_protected.c:343] protected read [gw_wsm]
[01-01 00:00:00 ty D][7010][simple_flash_protected.c:387] protected read ret:0 length:140
[01-01 00:00:00 ty D][7010][ws_db_gw.c:257] gw_wsm read ret:0
[01-01 00:00:00 ty N][7010][tuya_svc_devos.c:366] gw_cntl->gw_wsm.stat:0
[01-01 00:00:00 ty E][7010][tuya_ws_db.c:320] kvs_read fails gw_di -6
[01-01 00:00:00 ty D][7010][ws_db_gw.c:374] gw_di read ret:-6
[01-01 00:00:00 ty E][7010][tuya_svc_devos.c:382] desc read err:-6
[01-01 00:00:00 ty E][7010][tuya_svc_devos.c:576] ret:-6
[01-01 00:00:00 ty E][7010][base_event.c:156] ret:-6
[01-01 00:00:00 ty D][7010][mf_core.c:38] mf_core_init success
[01-01 00:00:00 ty D][7010][simple_flash_protected.c:343] protected read [gw_bi]
[01-01 00:00:00 ty D][7010][simple_flash_protected.c:387] protected read ret:0 length:279
[01-01 00:00:00 ty D][7010][ws_db_gw.c:148] gw_bi read ret:0
[01-01 00:00:00 ty E][7010][mf_identify.c:165] auth invaild ,33384d22c313a89f
[01-01 00:00:00 ty N][7010][mf_test.c:334] mf identify init err -1
[01-01 00:00:00 ty I][7010][tal_thread.c:200] thread_create name:mf_test,stackDepth:5120,totalstackDepth:27648,priority:4
[01-01 00:00:00 ty D][7087][tal_thread.c:216] enter Thread:mf_test func call
[01-01 00:00:00 ty D][7087][tal_thread.c:224] Thread:mf_test Exec Start. Set to Running Stat 0x607087c8
[01-01 00:00:00 ty D][7051][tal_thread.c:224] Thread:wq_system Exec Start. Set to Running Stat 0x607051d8
[01-01 00:00:00 ty D][7087][mf_test.c:218] mf thread delete
[01-01 00:00:00 ty D][7087][tal_thread.c:265] Del Thrd:mf_test
tkl_wifi_set_sniffer 0, cb((nil)).
[01-01 00:00:00 ty N][7010][tuya_app_main.c:199] mf_init succ
[01-01 00:00:00 ty D][7010][prod_test.c:296] s_prodtest_app_cfg.ssid_count 0
[01-01 00:00:00 ty D][7010][simple_flash_protected.c:343] protected read [gw_wsm]
[01-01 00:00:00 ty D][7087][tal_thread.c:240] Thread:mf_test Exec Finish. Set to Del Stat
[01-01 00:00:00 ty D][7087][tal_thread.c:95] del list not empty...deleting 0x6070879c, next 0x607017a0
[01-01 00:00:00 ty D][7087][tal_thread.c:103] Final Free Thread:mf_test, is_self:1
[01-01 00:00:00 ty D][7087][tal_thread.c:107] delay to delete thread self
[01-01 00:00:00 ty D][7087][tal_thread.c:119] finally delete thread self
[01-01 00:00:00 ty D][7087][tal_thread.c:73] real delete thread:0x607087c8
[01-01 00:00:00 ty D][7010][simple_flash_protected.c:387] protected read ret:0 length:140
[01-01 00:00:00 ty D][7010][ws_db_gw.c:257] gw_wsm read ret:0
[01-01 00:00:00 ty D][7010][prod_test.c:331] read_gw_wsm.nc_tp 0
[01-01 00:00:00 ty D][7010][prod_test.c:347] prodtest_ssid_listen
tkl_wifi_set_sniffer 1, cb(0x21947ed).
[01-01 00:00:00 ty D][7010][prod_test.c:172] prodtest_listen_start success
tkl_wifi_set_sniffer 0, cb((nil)).
[01-01 00:00:01 ty D][7010][prod_test.c:274] -------------ssid filter-------------
tkl_wifi_set_sniffer 0, cb((nil)).
[01-01 00:00:01 ty N][7010][prod_test.c:352] cannot found prod ssid,ret:-6
[01-01 00:00:01 ty D][7010][tuya_app_main.c:211] device_init in
[01-01 00:00:01 ty I][7010][tal_thread.c:200] thread_create name:gfw_core,stackDepth:4096,totalstackDepth:31744,priority:3
[01-01 00:00:01 ty I][7010][tal_thread.c:200] thread_create name:lp_irq_task,stackDepth:2048,totalstackDepth:33792,priority:3
[01-01 00:00:01 ty N][7010][ty_gfw_ai.c:730] gfw ai init success
[01-01 00:00:01 ty D][7087][tal_thread.c:224] Thread:gfw_core Exec Start. Set to Running Stat 0x607087d8
[01-01 00:00:01 ty E][7087][ty_gfw_core.c:68] ret:-6
[01-01 00:00:01 ty D][70b2][tal_thread.c:224] Thread:lp_irq_task Exec Start. Set to Running Stat 0x6070b2d0
[01-01 00:00:01 ty D][7087][ty_gfw_core_dispatcher.c:99] detect 9600
[01-01 00:00:01 ty D][7087][ty_gfw_wifi_sleep.c:339] wd_common_read err:-6
[01-01 00:00:01 ty E][7087][ty_gfw_wifi_sleep.c:389] Failed to read flash
[01-01 00:00:02 ty D][7087][ty_gfw_core_dispatcher.c:99] detect 115200
[01-01 00:00:02 ty D][7087][ty_gfw_core_dispatcher.c:99] detect 1000000
[01-01 00:00:03 ty D][7087][ty_gfw_core_dispatcher.c:99] detect 1500000
[01-01 00:00:03 ty D][7087][ty_gfw_core_dispatcher.c:99] detect 2000000
[01-01 00:00:04 ty D][7087][ty_gfw_core_dispatcher.c:99] detect 2166666
[01-01 00:00:05 ty D][707d][tuya_devos_health.c:71] feed watchdog
[01-01 00:00:05 ty D][7087][ty_gfw_core_dispatcher.c:99] detect 9600
[01-01 00:00:05 ty D][7087][ty_gfw_core_dispatcher.c:99] detect 115200
[01-01 00:00:06 ty D][7087][ty_gfw_core_dispatcher.c:99] detect 1000000
[01-01 00:00:06 ty D][7087][ty_gfw_core_dispatcher.c:99] detect 1500000
[01-01 00:00:07 ty D][7087][ty_gfw_core_dispatcher.c:99] detect 2000000
[01-01 00:00:08 ty D][7087][ty_gfw_core_dispatcher.c:99] detect 2166666
[01-01 00:00:08 ty D][7087][ty_gfw_core_dispatcher.c:99] detect 9600
[01-01 00:00:09 ty D][7087][ty_gfw_core_dispatcher.c:99] detect 115200