Page 1 of 1

T1 幻彩SDK 配不上网

Posted: 2025年 Sep 3日 19:04
by 726550914@qq.com

可以发现设备,配网失败,试了多次,下面的是日志,请问是什么问题呢?
V: T1_2.0.0
REG:cpsr spsr r13 r14

SVC:000000d3 00000010 00401c1c 000033a0
IRQ:000000d2 00000010 00401e0c 14c7ae7b
FIR:000000d1 00000010 00401ffc 5997fb54
ST:00000000
__read_manage_block: mag->blockid=255, id=0, mag->state=255.
__read_manage_block: mag->magic=0xffffffff, rescrc=0x00000000, mag->crc32=0xffffffff.
__read_manage_block: mag->blockid=255, id=1, mag->state=255.
__read_manage_block: mag->magic=0xffffffff, rescrc=0x00000000, mag->crc32=0xffffffff.
_judge_ota_info checkerr0:1, checkerr1:1
init err -5
jump to:0x10000
prvHeapInit-start addr:0x4164c0, size:170816

bk_timer_init exit
sctrl_sta_ps_init
*******tuya_upgrade_main need upgrade? [255]*******
cset:0 0 0 0
[FUNC]rwnxl_init
IP Rev: 90d35d1
tkl_ethernetif_init
tkl_e[bk]tx_txdesc_flush
t_txdesc_flush
[FUNC]intc_init
[FUNC]calibration_main
gpio_level=1,txpwr_state=15
device_id=0x22068000
first_empty_item=0
first_empty_item=0
first_empty_item=0
[01-01 00:00:00 ty E][4177][uf_flash_file_app.c:338] uf_open oem_cfg err 8
[01-01 00:00:00 ty E][4177][tfm_oem_cfg_handle.c:89] uf file oem_cfg can't open and read data!
[01-01 00:00:00 ty E][4177][ty_app_lig_oem_config.c:1590] ret:-1
[01-01 00:00:00 ty E][4177][base_event.c:156] ret:-1
[01-01 00:00:00 ty E][4177][base_event.c:348] ret:-1
[01-01 00:00:00 ty E][4177][log_seq.c:930] logseq empty
[01-01 00:00:00 ty N][4177][ty_sys.c:277] sdk_info:< TuyaOS V:3.11.11 BS:40.00_PT:2.3_LAN:3.5_CAD:1.0.5_CD:1.0.0 >
< BUILD AT:2025_04_03_09_33_03 BY ci_manage FOR tuyaos-iot AT T1 >
IOT DEFS < WIFI_GW:1 DEBUG:1 KV_FILE:0 LITTLE_END:1 SL:0 OPERATING_SYS[01-01 00:00:00 ty N][4177][ty_sys.c:278] name:greentek_gleam_space_t1_chl_sync_cam_65:0.0.1
[01-01 00:00:00 ty N][4177][ty_sys.c:279] firmware compiled at Aug 20 2025 03:37:25
[01-01 00:00:00 ty N][4177][ty_sys.c:280] system reset reason:[0]
[01-01 00:00:00 ty N][4177][simple_flash_protected.c:87] init protected data length 506 wr_cnt 12
[01-01 00:00:00 ty N][4177][simple_flash.c:447] key_addr: 0x1f5000 block_sz 4096
[01-01 00:00:00 ty N][4177][simple_flash.c:533] get key:
0x8e 0x8e 0x80 0xb7 0x31 0x9a 0xad 0xc9 0x71 0x9e 0xd9 0x16 0x17 0x7a 0xf3 0x81
calibration_main over
flash txpwr table:0xf
dif g and n20 ID in flash:4
read txpwr tab from flash success
uncali adc value:[74 ea 00]
temp in flash is:256
lpf_i & q in flash is:128, 128
found flash XTAL:65
use xtal:65
xtal_cali:65
--init_xtal = 65
[FUNC]ps_init
[FUNC]func_init_extended OVER!!!

start_type:0
Version:
app_init finished
[01-01 00:00:00 ty E][4180][api_lib.c:227] LWIP_NETCONN_THREAD_SEM_FREE:not find thread sem

[01-01 00:00:00 ty N][4177][tuya_tls.c:913] uni_random_init...
[01-01 00:00:00 ty N][4177][tuya_tls.c:354] tuya_tls_rand_init ok!
[01-01 00:00:00 ty E][4177][tuya_ws_db.c:796] kvs_read err:-6
[01-01 00:00:00 ty E][4177][tfm_oem_cfg_handle.c:200] kv oem config read fail
[01-01 00:00:00 ty E][4177][ty_app_lig_oem_config.c:1592] ret:-6
[01-01 00:00:00 ty E][4177][ty_app_lig_component.c:556] ret:-6
[01-01 00:00:00 ty E][4177][base_event.c:156] ret:-6
[01-01 00:00:00 ty N][4177][tuya_svc_devos.c:366] gw_cntl->gw_wsm.stat:0
cal_bias!
cal dpll!
temp_code:-74 - adc_code:465 - adc_trend:[13]:256->[3]:356
init_xtal:65, delta:2, last_xtal:65
[01-01 00:00:00 ty N][4177][ty_sys.c:343] mf_init succ
tkl_wifi_scan_ap
[sa_sta]MM_RESET_REQ
[bk]tx_txdesc_flush
[sa_sta]ME_CONFIG_REQ
[sa_sta]ME_CHAN_CONFIG_REQ
[sa_sta]MM_START_REQ
sizeof(wpa_supplicant)=928
hapd_intf_add_vif,type:2, s:0, id:0
wpa_dInit
hapd_intf_ioctl:939
hapd_intf_ioctl:939
hapd_intf_ioctl:939
hapd_intf_ioctl:939
hapd_intf_ioctl:939
hapd_intf_ioctl:939
netif_is_added: 0x40ca18
netif_is_added: 0x40c9d0
net_wlan_add_netif already exist!, vif_idx:0
mac 80:64:7c:bc:ca:8a
net_wlan_add_netif done!, vif_idx:0
wpa_supplicant_req_scan
Setting scan[retry1] request: 0.000000 sec
s count: 0wlan_sta_scan_once triecan_once tries count: 0

wpa_supplicant_scan 868
wpa_drv_scan
wpa_send_scan_req
ht in scan
scan_start_req_handler, chan_cnt 14
scan_start_req_handler
wpa_driver_scan_start_cb
RSSI: 54:a7:03:71:c4:43 -60 -> -58
RSSI: 04:f9:f8:53:a4:1c -45 -> -44
temp_code:-63 - adc_code:441 - adc_trend:[3]:356->[0]:386
init_xtal:65, delta:-5, last_xtal:67
RSSI: 48:a0:f8:53:d9:9d -76 -> -75
scanu_confirm: status 0, upload_cnt 82, recv_cnt 82, time 1490705us, result 25
wpa_driver_scan_cb
Scan completed in 1.482000 seconds
wpa_get_scan_rst:25
[01-01 00:00:02 ty N][4177][tuya_iot_wifi_api.c:310] wifi soc init. pid:keyruxdxgav5kujk firmwarekey:keyruxdxgav5kujk ver:0.0.1
[01-01 00:00:02 ty N][4177][tuya_iot_wifi_api.c:209] sw ver: 0.0.1
[01-01 00:00:02 ty N][4177][tuya_wifi_link.c:86] start wifi link params validate, nc_tp:10 md:0
[01-01 00:00:02 ty N][4177][tuya_wifi_link.c:108] gw_wsm.nc_tp:10
[01-01 00:00:02 ty N][4177][tuya_wifi_link.c:109] gw_wsm.md:0
[01-01 00:00:02 ty E][4177][tuya_wifi_reset.c:644] read wf start mode err:-6
[01-01 00:00:02 ty N][4177][tuya_svc_devos.c:594] Last reset reason: 0
[01-01 00:00:02 ty N][4177][tuya_svc_devos.c:423] gw_cntl->gw_if.abi:0 input:0
[01-01 00:00:02 ty N][4177][tuya_svc_devos.c:424] gw_cntl->gw_if.product_key:keyruxdxgav5kujk, input:keyruxdxgav5kujk
[01-01 00:00:02 ty N][4177][tuya_svc_devos.c:425] gw_cntl->gw_if.tp:0, input:0
[01-01 00:00:02 ty N][4177][tuya_svc_devos.c:428] gw_cntl->gw_if.firmware_key:keyruxdxgav5kujk, input:keyruxdxgav5kujk
[01-01 00:00:02 ty N][4177][tuya_svc_devos.c:627] enter success_proc
[01-01 00:00:02 ty N][4177][tuya_svc_devos.c:630] serial_no:80647cbcca8a
[01-01 00:00:02 ty E][4177][tbs_light_color_converter.c:1069] ret:-1
[01-01 00:00:02 ty E][4177][app_light_net_indicate.c:273] ret:-1
[01-01 00:00:02 ty E][4177][ty_app_lig_component.c:772] ret:-1
[01-01 00:00:02 ty E][4177][ty_app_main.c:183] ret:-1
[01-01 00:00:02 ty E][41f8][tuya_wifi_reset.c:644] read wf start mode err:-6
scan SSID:
wpa_supplicant_req_scan
Setting scan[retry1] request: 0.000000 sec
wpa_supplicant_scan
wpa_supplicant_scan 868
wpa_drv_scan
wpa_send_scan_req
ht in scan
scan_start_req_handler, chan_cnt 14
scan_start_req_handler
wpa_driver_scan_start_cb
wlan_sta_scan tries count: 0
RSSI: 04:f9:f8:53:a4:1c -43 -> -42
scan_cancel_req_handler
[01-01 00:00:02 ty N][41f8][tuya_wifi_link.c:631] kv no ccode get from env 0,CN
rw_ieee80211_set_country code:
code: CN
channel: 1 - 13
mode: MANUAL
bk_wlan cca closed
net_wlan_remove_netif done!, vif_idx:0
sm external auth not in corrent state
RSSI: 54:a7:03:71:c4:43 -61 -> -60
Cancelling scan request
scan_send_cancel_cfm
scanu_confirm: status 0, upload_cnt 17, recv_cnt 17, time 108416us, result 6
wpa_handler_signal err failed
wait scan complete
scanu completed
wpa/host apd remove_if:0
ap net info ip: 192.168.176.1, mask: 255.255.255.0, gw: 192.168.176.1
ssid:SmartLife-CA8A, key:, channel: 6
[saap]MM_RESET_REQ
[bk]tx_txdesc_flush
[saap]ME_CONFIG_REQ
[saap]ME_CHAN_CONFIG_REQ
[saap]MM_START_REQ
[csa]csa_in_progress[0:0]-clear
hapd_intf_add_vif,type:3, s:0, id:0
apm start with vif:0
------beacon_int_set:100 TU
set_active param 0
[msg]APM_STOP_CFM
update_ongoing_1_bcn_update
vif_idx:0, ch_idx:0, bcmc_idx:1
sending broadcast_deauth:5
hapd_intf_ioctl:939
hapd_intf_ioctl:939
hapd_intf_ioctl:939
hapd_intf_ioctl:939
update_ongoing_1_bcn_update
netif_is_added: 0x40ca18
net_wlan_add_netif already exist!, vif_idx:0
mac 80:64:7c:bc:ca:8b
net_wlan_add_netif done!, vif_idx:0
uap_ip_start

configuring uap(with IP)def netif is sta
sending broadcast_deauth:5
[01-01 00:00:02 ty N][41f8][tuya_wifi_status.c:167] cur stat:13 0xc9de9 -->>
[01-01 00:00:02 ty N][41f8][tuya_wifi_status.c:169] wifi netstat changed to:13 -->>
[01-01 00:00:02 ty N][41f8][tuya_wifi_status.c:173] report wifi netstat[13] to callback -->>
[01-01 00:00:02 ty N][41f8][ty_app_lig_trigger_network.c:79] --->net state change to:13
key is not find
[01-01 00:00:02 ty E][41f8][tbl_hight_storage.c:412] erase nvs switch err:-30
key is not find
[01-01 00:00:02 ty E][41f8][tbl_light_storage.c:412] erase nvs sw_gradual err:-30
key is not find
[01-01 00:00:02 ty E][41f8][tbl_light_storage.c:412] erase nvs mode err:-30
key is not find
[01-01 00:00:02 ty E][41f8][tbl_light_storage.c:412] erase nvs por_state err:-30
key is not find
[01-01 00:00:02 ty E][41f8][tbl_light_storage.c:412] erase nvs tm_sleep err:-30
key is not find
[01-01 00:00:02 ty E][41f8][tbl_light_storage.c:412] erase nvs tm_wake err:-30
key is not find
[01-01 00:00:02 ty E][41f8][tbl_light_storage.c:412] erase nvs px_lc_music err:-30
key is not find
[01-01 00:00:02 ty E][41f8][tbl_light_storage.c:412] erase nvs music_type err:-30
key is not find
[01-01 00:00:02 ty E][41f8][tbl_light_storage.c:412] erase nvs pixels_scene err:-30
key is not find
[01-01 00:00:02 ty E][41f8][tbl_light_storage.c:412] erase nvs pixels_smear err:-30
[01-01 00:00:02 ty N][41f8][tuya_wifi_reset.c:410] timer stated, short timer:0x0, long timer:0x0
[01-01 00:00:02 ty N][41f8][tuya_bt_link.c:64] bt startup attr:ff
[01-01 00:00:02 ty N][41f8][tuya_ble_svc.c:1257] upd product_id type:1 keyruxdxgav5kujk
initial BLE.[01-01 00:00:02 ty E][4.02 ty E][41bb][app_pix1bb][app_pixels_smear_paelint_method.c:887] rets_smear_paint_method.c::887] ret:-2
ble mac:80-64-7c-bc-ca-8b
rwip_heap_env addr:0x42aa70 size:1432
rwip_heap_msg addr:0x42b010 size:4248
rwip_heap_non_ret addr:0x423b50 size:668
xvr_reg_init
tx_pwr_idx:39
enter normal mode
-2
[01-01 00:00:03 ty E][41bb][app_light_net_indicate.c:325] net indicate not init
[01-01 00:00:03 ty N][41f8][tuya_ble_svc.c:1352] ty bt sdk init success finish
[01-01 00:00:03 ty N][41f8][tuya_ble_sdk.c:444] start ble adv!!!
[01-01 00:00:03 ty N][41f8][ble_gap.c:2505] Start Adv
[01-01 00:00:03 ty E][41f8][tuya_svc_timer_task.c:1383] read timer_full_key failed
[01-01 00:00:03 ty N][41f8][tuya_svc_devos.c:278] __devos_init_evt success
[01-01 00:00:03 ty N][41f8][ble_gap.c:2505] Start Adv
[01-01 00:00:03 ty N][41f8][tuya_ble_svc.c:1439] ble adv updated
[01-01 00:00:03 ty E][41f8][wifi_netcfg_frame_transporter.c:325] timer is not run,wait
[01-01 00:00:26 ty N][42d6][tuya_ble_svc.c:795] Ble Connected
[01-01 00:00:26 ty N][42d6][tuya_ble_data_handler.c:71] ble reset sn
[01-01 00:00:26 ty N][42d6][tuya_ble_svc.c:1738] ble set conn stat:1
[01-01 00:00:28 ty N][42d6][tkl_bluetooth.c:262] BLE_GAP_EVENT_DISCONNECT(0x208)

[01-01 00:00:28 ty N][42d6][tuya_ble_svc.c:810] Ble Disonnected
[01-01 00:00:28 ty N][42d6][tuya_ble_data_handler.c:71] ble reset sn
[01-01 00:00:28 ty N][42d6][tuya_ble_data_handler.c:85] ble clear pair rand
[01-01 00:00:28 ty N][42d6][tuya_ble_svc.c:1738] ble set conn stat:0
[01-01 00:00:28 ty N][41f8][ble_gap.c:2505] Start Adv
[01-01 00:00:28 ty N][41f8][tuya_ble_svc.c:1439] ble adv updated
[01-01 00:00:33 ty N][42d6][tuya_ble_svc.c:795] Ble Connected
[01-01 00:00:33 ty N][42d6][tuya_ble_data_handler.c:71] ble reset sn
[01-01 00:00:33 ty N][42d6][tuya_ble_svc.c:1738] ble set conn stat:1
[01-01 00:00:34 ty N][42d6][tkl_bluetooth.c:262] BLE_GAP_EVENT_DISCONNECT(0x213)

[01-01 00:00:34 ty N][42d6][tuya_ble_svc.c:810] Ble Disonnected
[01-01 00:00:34 ty N][42d6][tuya_ble_data_handler.c:71] ble reset sn
[01-01 00:00:34 ty N][42d6][tuya_ble_data_handler.c:85] ble clear pair rand
[01-01 00:00:34 ty N][42d6][tuya_ble_svc.c:1738] ble set conn stat:0
[01-01 00:00:34 ty N][41f8][ble_gap.c:2505] Start Adv
[01-01 00:00:34 ty N][41f8][tuya_ble_svc.c:1439] ble adv updated
[01-01 00:00:40 ty N][42d6][tuya_ble_svc.c:795] Ble Connected
[01-01 00:00:40 ty N][42d6][tuya_ble_data_handler.c:71] ble reset sn
[01-01 00:00:40 ty N][42d6][tuya_ble_svc.c:1738] ble set conn stat:1
[01-01 00:00:42 ty N][42d6][tkl_bluetooth.c:262] BLE_GAP_EVENT_DISCONNECT(0x208)

[01-01 00:00:42 ty N][42d6][tuya_ble_svc.c:810] Ble Disonnected
[01-01 00:00:42 ty N][42d6][tuya_ble_data_handler.c:71] ble reset sn
[01-01 00:00:42 ty N][42d6][tuya_ble_data_handler.c:85] ble clear pair rand
[01-01 00:00:42 ty N][42d6][tuya_ble_svc.c:1738] ble set conn stat:0
[01-01 00:00:42 ty N][41f8][ble_gap.c:2505] Start Adv
[01-01 00:00:42 ty N][41f8][tuya_ble_svc.c:1439] ble adv updated
cal_bias!
cal dpll!
temp_code:5 - adc_code:298 - adc_trend:[0]:386->[8]:306
init_xtal:65, delta:4, last_xtal:60
cal_bias!
cal dpll!
temp_code:-61 - adc_code:437 - adc_trend:[8]:306->[0]:386
init_xtal:65, delta:-5, last_xtal:69


Re: T1 幻彩SDK 配不上网

Posted: 2025年 Sep 5日 17:57
by 愚者千虑必有一得

蓝牙连接不上,可以尝试以下app杀掉之后在打开试试。