【已解决】【TuyaOS OS】xm6xx_8m_all.bin手工运行出错,不能自动启动

IPC/NVR/可视门铃等具备多媒体能力的设备,扫地机/AGV等机器人设备


Post Reply
王阿发
Posts: 20

~ # /tuya/app/skyeye/bin/tycam
[main, 73]
tkl_venc_set_osd is dls:0, enable:1
[chip_osd_enable:228]Error Code: [0xA0128007]

[chip_osd_enable:228]Error Code: [0xA0128007]

ty_sys_led_mode_set[430] status[0] switch:1
ty_sys_led_mode_set[443] status[0] switch:1
ty_sys_led_mode_set[449] status[0] switch:1
DEBUG: [libispapp]:Aug 17 2022 16:18:07
DEBUG: Vstd_init [ PAL ]
DEBUG: RsltSns0 [ 1 ]
DEBUG: Dsp: [ CHIPV200 ]
DEBUG: SC223A! Chn:0
DEBUG: IspNum[1]
DEBUG: IspChn:[ 0 ]
DEBUG: I2CChn:[ 0 ]
DEBUG: limitedUp: no
DEBUG: ------------- SC223A (@202107_mipi) ----------------
DEBUG: isp_sample over!
*****tkl_vi_init*****
i:0, w,h:1920 1080
i:1, w,h:640 360
DEBUG: autoscene chn[i:2, w,h:0 0
0]: color!
i:2, type:2 enable:0,continue
i:3, w,h:0 0
i:3, type:3 enable:0,continue
i:4, w,h:640 360
i:5, w,h:160 90
i:6, w,h:640 360
i:7, w,h:640 360
XM_MPI_VENC_CreateChn VencChn = 0. entype:265
XM_MPI_VENC_CreateChn VencChn = 1. entype:96
wait for time sync
x264 [info]: using cpu capabilities: NEON
x264 [info]: profile Constrained Baseline, level 3.0, 4:2:0, 8-bit
pHand->encParam.vencCfg.stVeAttr.enType: 0 is not support.
pHand->encParam.vencCfg.stVeAttr.enType: 0 is not support.
XM_MPI_VENC_CreateChn VencChn = 4. entype:26
pHand->encParam.vencCfg.stVeAttr.enType: 0 is not support.
pHand->encParam.vencCfg.stVeAttr.enType: 0 is not support.
pHand->encParam.vencCfg.stVeAttr.enType: 0 is not support.
tkl_venc_init success!!!
************last intra 0
[FUNC: IA_InitLog] Creat OK.
[INIT]: XM_IA_Init() done.
[INIT]:CHECKING SDK 1072.
[INIT]:LIBXMIA IAtype 700 Complied at Aug 15 2022 20:52:57 GIT_ID:c878418
[INIT]: TD Version: TD_20220813[Aug 15 2022 20:53:04]
-- TD INIT --
uiTdMaxNum: 3
acClassBinPath: /drv/classifier/
ePlatForm: 50
eDevImgType: 17
stDevImgSize: (640,360)
iTrackFlag: 0
iTrackType: 1
-- TD EXTF --
ucPedFallDownEnable: 0
ucTDFeatureEnable: 0
ucSmokeEnable: 0
ucFaceDetEnable: 0
ucFaceRegEnable: 0
ucPlateDetEnable: 0
ucPlateRegEnable: 0
efdfreq: 0
-- TD CFG --
iMDFlag: 0
ucDetectDisable: 0
iDetectType: 5
ePattern: 3
eSensitivity: 2
stDetRegion: (0,0),(8191,8191)
[INIT] Alg Malloc Size 10784
[INIT] Alg Malloc Size 30000
[INIT]: Open Class File xmnn /drv/classifier//pd_s_d1_xmdpu1_0.dpu
SDK used company 9999
/drv/classifier//pd_s_d1_xmdpu1_0.dpu cnnFileSize: 263530
[INIT]:memPoolSize 2838528.
530V200 V1.1.0 date Jul 10 2022, time 21:01:02 npu load start
dpu version v1.0 build time Jan 14 2022
[INIT] Alg Malloc Size 297648
CNNMemory: 3423226 bulk 297648 mmz 3125578
CNNINIT INPUT IMAGESIZE:(640,360)
TD_DETECT stAlgImgSize (640,360)
[CFG-input]: DetectType 5 eAlgSense 2 DetRect[(0 0) (8191 8191)]
[CFG]: IA_PERIMETER_V1 iBoundaryPtsNum 4 eAlarmDirect 0 (0 0) (8191 0) (8191 8191) (0 8191) [CFG]: eSensitivity 2
[CFG]: SetRuleTdConfig OK
[INIT]: PdInit pvHandle 0xe452e0 *pvHandle 0xe45590 OK
IA_LOG 83a52000 value 0
ty_chip_hd_init suc
tkl_ai_set_vol card:0, chn:0, vol:80
tkl_ai_init suc
tkl_ao_set_vol vol:80, offset:0
tkl_ao_init suc
tkl_ai_start card:0 chn:0
[01-01 00:00:00 TUYA I][kv_storge.c:45] Init Kvs With File:/tuya/data/
[01-01 00:00:00 TUYA I][tal_thread.c:175] thread_create name:sys_timer,stackDepth:4096,totalstackDepth:4096,priority:5
[01-01 00:00:00 TUYA I][mqc_app.c:325] mqc app init ...
[01-01 00:00:00 TUYA I][tal_thread.c:175] thread_create name:wq_system,stackDepth:5120,totalstackDepth:9216,priority:3
[01-01 00:00:00 TUYA I][tal_thread.c:175] thread_create name:wq_highpri,stackDepth:4096,totalstackDepth:13312,priority:4
[01-01 00:00:00 TUYA E][log_seq.c:871] logseq empty
[01-01 00:00:00 TUYA I][tuya_ring_buffer.c:685] Init Ring Buffer success: ch0st0tr0 size:1310720 nodes:200
[01-01 00:00:00 TUYA I][tuya_ring_buffer.c:685] Init Ring Buffer success: ch0st0tr1 size:655360 nodes:200
[01-01 00:00:00 TUYA I][tuya_ring_buffer.c:685] Init Ring Buffer success: ch0st0tr9 size:160000 nodes:250
[01-01 00:02:05 TUYA E][ws_db_gw.c:85] wd_protected_read fails gw_wsm -6
[01-01 00:02:05 TUYA E][tuya_wifi_link.c:77] wd_gw_wsm_read error:-6
[01-01 00:02:05 TUYA E][tuya_wifi_link.c:517] ret:-2819
[01-01 00:02:05 TUYA E][tuya_wifi_reset.c:539] read wf start mode err:-6
[01-01 00:02:05 TUYA E][ws_db_gw.c:85] wd_protected_read fails gw_bi -6
[01-01 00:02:05 TUYA E][tuya_svc_devos.c:223] base read fail:-6
[01-01 00:02:05 TUYA E][tuya_svc_devos.c:464] ret:-7171
[01-01 00:02:05 TUYA E][tuya_svc_devos.c:681] ERR_EXIT is Jumped!
[01-01 00:02:05 TUYA E][tuya_ipc_sdk_init.c:361] ret:-7171
[01-01 00:02:05 TUYA E][tuya_ipc_sdk_init.c:514] __iot_dev_init err -7171
[1970-1-1 0:2:5.768 ty_sdk_adapter.c ty_sdk_adapter_init(757) Error] ####failed
[1970-1-1 0:2:5.768 ty_sys.c ty_sys_start(1223) Error] __sdk start failed
[main, 84] sys start failed

郭老庄
Posts: 196

Re: xm6xx_8m_all.bin手工运行出错,不能自动启动

你好,可能是以下两种情况造成启动失败

  1. PID,UUID,AUTHKEY没有设置;
  2. 设置以后没有执行nvram commit,重启后设置的参数会消失
Last edited by 郭老庄 on 2022年 Oct 8日 20:25, edited 2 times in total.
郭老庄
Posts: 196

Re: xm6xx_8m_all.bin手工运行出错,不能自动启动

tycam异常退出后,不能自动重启的问题,可以手动改下脚本。
具体方法:在software/TuyaOS/apps/tuyaos-ipc-xm6xxv200-sc117wnz2/script/app/ty_monitor.sh的第210行,找到被注释掉的reboot,删除“#”即可

Last edited by 郭老庄 on 2022年 Oct 8日 20:25, edited 1 time in total.
王阿发
Posts: 20

Re: xm6xx_8m_all.bin手工运行出错,不能自动启动

谢谢回复

Post Reply