1.给GSensor_open();前加上打印函数DEBUG_P;
打印如下信息:
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = UIFlowWndMovie_OnOpen, LINE = 1487 .
========== mir3da_gsensor_open !
mir3da I2C init success!
在Debug.h下定义的打印函数:
#if (1) //< by fly for debug test
#define DEBUG_PRINT debug_msg(" 33[0;31m ######## FILE = %s, FUNC = %s, LINE = %d . 33[0;0m
",__FILE__,__FUNCTION__,__LINE__)
#define DEBUG_TEST (1)
#define DEBUG_P
if (DEBUG_TEST){DEBUG_PRINT;}
#endif
2.给mir3da_read_data();添加打印函数DEBUG_P;
#if (0)
RFlsh
R
FCompress
RNonComp
F/W NT96660 Start ...
NAND support table version[2014_03_10-01]
usb_PowerOnInit: enter
usb_PowerOnInit: exit
CPU/CPU2/DSP clk = 420/420/270 Mhz ...PASS
DMA clk = 507 Mhz ...PASS
Memory = 262144 KB, Code/Resv/Stack/Heap = 11356/8/567/250212 KB
Binary = 8281 KB, Part = 1011/755/0/0/0/0/0/0/0/6514 KB
PwrLost = 0, PwrSrc = 2
=========================================================
NOVATEK SDK
Copyright (c) 2014 Novatek Microelectronic Corp.
=========================================================
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/System/main.c, FUNC = NvtMain, LINE = 162 .
Hello, World!
> ######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/System/main.c, FUNC = NvtMain, LINE = 208 .
#################FUNCTION = Dx_InitIO, LINE = 224
System Boot begin
---------------------------------------------------------
LD VERISON: LD_NVT
FW --- Daily Build: Aug 4 2017, 14:10:48
---------------------------------------------------------
Power On Sequence = Safe
ERR:ramdsk_setParam() No Implement! uiEvt 2
ERR:ramdsk_setParam() No Implement! uiEvt 1
===================================== video fixed [Display_LCD]
WRN:pll_setClockFreq() Target(4) freq can not be divided with no remainder! Result is 48000000Hz.
========low battery!DRVPWR_CTRL_BATTERY_ADC_VALUE:1023
ERR:System_OnStrgInit_PS() PStore uiBufSize=262144
PS_DESC_BLOCK=1
USB 1.5A
CONNECT to CHARGER
System Boot end
On Boot begin
PStore reset info.
#################FUNCTION = SysResetFlag, LINE = 809
Load_MenuInfo uiSbsCalLength = 110
ERR:AlgGetUIInfo() Error IPL Id = 0xffffffff
ERR:IPL_AlgSetUIInfo() Id: -1, SelIdx = 1126236193 error
===================================== sensor display [MASK=00000003]->[MASK=00000003]
WRN:System_OnSensorDisplay() dual sensor, but ImagePipe is not enabled, ignore!
1843200
===================================== sensor display [MASK=00000003]->[MASK=00000003]
WRN:System_OnSensorDisplay() dual sensor, but ImagePipe is not enabled, ignore!
===Movie Rec Set Vol = 100
2880
2880
#################FUNCTION = SysExeMenuSettingFuncs, LINE = 867
#################FUNCTION = SetupExe_OnWifiSetPassPhrase, LINE = 916
UINet_SetPASSPHRASE(): 12345678
Mode {MOVIE} Open begin
-display count=1, mask=01, attach=01
sensor map = {00000000,00000001,ffffffff,ffffffff}
CHK: 2206, Sensor_GetObj
CHK: 2279, Sensor_GetObj2
-sensor count=2, mask=0003, attach=0003, disp=0003
-lens count=0
WRN:MovieExe_OnMovieSize() should change mode
30
WRN:ImageApp_CamMovie_Config() Change IPL buffer count!!! 7
WRN:ImageApp_NetMovie_Config() Change IPL buffer count!!! 7
#################FUNCTION = FlowMovie_FileDBCreate, LINE = 6180
>>>>>>>>>>>>>>>>>>>> UI_GetData(FL_MOVIE_SIZE_MENU):13
>>>>>>>>>>>>>>>>>>>> AdrMode:0
#################FUNCTION = FlowMovie_FileDBCreate, LINE = 6200
MovieFile: Photo folder PHOTO
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = UIFlowWndMovie_OnOpen, LINE = 1487 .
========== mir3da_gsensor_open !
mir3da I2C init success!
i 0 160 214
i 1 160 214
WRN:MovieExe_OnMovieSize() should change mode
===Movie Rec Set Vol = 100
i 0 160 214
i 1 160 214
//表示读取了Gsensor数据
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
2880
2880
#################FUNCTION = UIFlowWndMovie_OnOpen, LINE = 1505
################## 2 rtc_date: 170804
=======GPIOMap_TurnOffLED!
ERR:pwm_pwmDisable() pwm_pwmDisable(), do not disable the channel not enable yet!! (4000)
################### wifi pwd:12345678
=========================================
============== movie mode =============
=========================================
ERR: open file A:focusing_samoon.txt error
ERR: open file A:focusing_samoon.txt error
ERR: open file A:autowifi.txt error
Mode {MOVIE} Open end
On Boot end
USB 1.5A
CONNECT to CHARGER
USBConnectType=2
//读取了Gsnesor数据
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
#################FUNCTION = UIFlowWndMovie_OnACPlug, LINE = 2865
#################FUNCTION = FlowMovie_IsStorageErr, LINE = 144
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> FlowMovie_StartRec
======= TurnOn Record LED PWM!
ERR:TM_End() Exceed max TM array!
WRN:TM_Begin() Exceed max TM array!
ERR:TM_End() Exceed max TM array!
WRN:TM_Begin() Exceed max TM array!
CREATEFSSTRG111 ok [over0] fsk=0 !!
pObj 0 OK!
ERROR Round vfr -> 30!
size = 0x17290, max = 0x1729
[0] videoMax=0xB34, audioMax=0xBF5
fsStrmObj pFsStrmIdInfo NULL
ERR:SMediaRecFSStrm_ConfigureObj() SMediaRec Video Stream ID 1 is invalid!.
#0 ID #76 is starting ...
CHK: 2908, SMediaRecFSStrm_GetObjByTaskID
1=76, want=76!
ERR:TM_End() Exceed max TM array!
WRN:TM_Begin() Exceed max TM array!
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
ERR:TM_End() Exceed max TM array!
WRN:TM_Begin() Exceed max TM array!
Hello, eCos world!!!!!!!!!!
==== NOT Start init_inet for ftpd ===
Ready for eCos scheduling...
cpu2 power on ready
ERR:TM_End() Exceed max TM array!
get
############: ####FUNCTION = IuMovie_ImmProc,aLINE = 322
rEVENT 2: Deletefitle!
,2mSMR_FSStrmipcDeleteOld[fs0]-E
addr=A0BA14C4
Run uart main...
uart main return 0.
WRN:TM_Begin() Exceed max TM array!
AP start
system call
command=wifiipc -open 19076320 19087400 16061709 &
system call
command=dhcpipc -open 19090656 5504 20160719 &
gParamSndAddr=0xA12344E0
gParamRcvAddr=0xA12348E0
system call
command=usockipc -open 19088608 19089632 20160811 &
Network mod:0
UINet_WifiInit(): set wifi 0 1
WRN:TM_Begin() Exceed max TM array!
ERR:TM_End() Exceed max TM array!
WRN:TM_Begin() Exceed max TM array!
sdio lookup 3
SDIO1 open: switch to 48MHz
sdio lookup 4
funcs = 0x1
tpl_ptr = 0x0
tpl_ptr = 0x1000
tpl_ptr = 0x1000
tpl_code = 0x20
tpl_link = 0x04
tpl_data =
0x4c 0x02 0x79 0x81
i = 4, ARRAY_SIZE = 4
tpl_code = 0x21
tpl_link = 0x02
tpl_data =
0x0c 0x00
i = 2, ARRAY_SIZE = 4
tpl_code = 0x22
tpl_link = 0x04
tpl_data =
0x00 0x08 0x00 0x32
i = 4, ARRAY_SIZE = 4
tpl_code = 0xff
tpl_ptr = 0x0
tpl_ptr = 0x1100
tpl_ptr = 0x1100
tpl_code = 0x21
tpl_link = 0x02
tpl_data =
0x0c 0x00
i = 2, ARRAY_SIZE = 4
tpl_code = 0x22
tpl_link = 0x2a
tpl_data =
0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x02 0x00 0xff
0xff 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0xeb 0x00 0x6e 0x01 0x00 0x00
0x00 0x00
i = 42, ARRAY_SIZE = 4
tpl_code = 0xff
=====>>INSIDE rtl8192cd_init_one <<=====
=====>>EXIT rtl8192cd_init_one <<=====
[draw64]
ERR:TM_End() Exceed max TM array!
UINet_WifiInit(): wifi init succesful
UINet_WifiInit(): wlan0 efuse mac [cc:79:cf:a9:80:d5]
RtkWifi_CmdId_Config(ap wpa2-psk-aes PHILIPS_80d5 12345678)
WRN:TM_Begin() Exceed max TM array!
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
available_chnl:[1][2][3][4][5][6][7][8][9][10][11][12][13]
[0] timeid=0x436530!
[PHY_ConfigTXLmtWithParaFile_new][TXPWR_LMT_88E_new]
[PHY_IQCalibrate]
[PHY_IQCalibrate]
kick[f0]
ERR:TM_End() Exceed max TM array!
UINet_WifiInit(): setip=192.168.1.254 -
WRN:TM_Begin() Exceed max TM array!
UINet_DHCP_Start(): isCli 0
[DHCPELIOS]ERR:dhcpd_set_lease_conf: lease_time 30 sec
tmpLen=11, 60-
UINet_DhcpSrvCBCliConn(): ::isConn=3,ip=0x0,mac= 0: 0: 0: 0: 0: 0
UINet_DhcpSrvCBCliConn(): ::isConn=4,ip=0x0,mac= 0: 0: 0: 0: 0: 0
UINet_DhcpSrvCBCliConn(): ::isConn=4,ip=0x0,mac= 0: 0: 0: 0: 0: 0
UINet_WifiInit(): Default IP=192.168.1.254
WRN:TM_Begin() Exceed max TM array!
system call
command=fsipc -open 12629056 369497624
system call
command=fsipc -mount /sdcard
system call
command=hfs -p 80 -l 443 -s 51200 -to 20 -t 20 -ma 19096160 -ms 71680 -n 6 -r /sdcard -c -put -q query_devinfo -u -d -v 0x16121309 &
hfs: listening on ports 80 (http) and 443 (https)
ERR:TM_End() Exceed max TM array!
ERR:TM_End() Exceed max TM array!
WRN:TM_Begin() Exceed max TM array!
system call
command=msdcnvt 0x00822040 0x000000B8 &
MSDCNVT port=1968
#################FUNCTION = SetupExe_OnWifiStart, LINE = 839
BackgroundWiFiOn 0 result 0
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
############### GET_SPK_Stay_Times():18
#################FUNCTION = UI_DetPwmLED, LINE = 937
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
Got ssid count 12
SSID BSSID ch prd cap bsc oper ss sq bd 40m
ROE 1c78390b7159 7 100 0431 000f 0fff 2c 64 0b 1
yikuaiwu 003676313931 6 100 0431 000f 0fff 2c 64 0b 1
SAMOON_DQA 34bdf935b438 11 100 0011 000f 0fff 28 00 0b 1
SAMOON-TPLINK2 a8154d1327b2 1 100 0431 000f 0fff 26 64 0b 1
LieBaoWiFi803 0013ef400bf9 10 100 0431 015f 0fff 24 64 0b 1
1212 da763f3b7772 11 100 0431 000f 0fff 22 64 0b 0
SAMOON_01 e4d3325b9db4 11 100 0431 000f 0fff 22 64 0b 1
<Not a string: 0x8FC28100> 008736309ada 1 100 0431 000f 0fff 1a 64 0b 1
<Not a string: 0x8FC28100> 96b7e26e6a5b 11 100 0431 000f 0fff 1a 48 0b 0
WiFifa 08107713560a 1 100 0431 015f 0fff 1a 64 0b 1
SoftAP 30b49e0fd660 1 100 0431 015f 0fff 18 64 0b 1
TP-LINK_74B6 808917f674b6 6 100 0431 000f 0fff 16 64 0b 1
Auto channel choose ch:1
[draw64]
ERR:TM_End() Exceed max TM array!
AP ready, total period = 4182095 us
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
#################FUNCTION = UIMovie_ImmProc, LINE = 322
EVENT 2: Delete file!
SMR_FSStrm_DeleteOld[fs0]-E ######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
E
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
USB Unplug
wifi standby mode usb remove shutdown
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> FlowMovie_StopRec
[0]stillBlock = 1
use 32 bits mdat atom
get 2=0x6470000, 3=0x0
setfilesize2=0x6470000
ERR:MP_H264Enc_setInfo() Multi-frame encode err!
no file[0] to end
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
Call Stop callback 1
=======GPIOMap_TurnOffLED!
On Shutdown begin
Mode {MOVIE} Close begin
========== mir3da_gsensor_off !
SMediaRec_Close
Mode {MOVIE} Close end
1=========System_OnShutdown PowerOffCheckUSB: 0
1========= ctype_t: 0
1========= GxUSB_GetIsUSBPlug: 0
=======GPIOMap_TurnOffLED!
ERR:pwm_pwmDisable() pwm_pwmDisable(), do not disable the channel not enable yet!! (4000)
======= TurnOn Record LED PWM!
=======GPIOMap_TurnOffLED!
======= TurnOn Record LED PWM!
=======GPIOMap_TurnOffLED!
=======GPIOMap_TurnOffLED!
ERR:pwm_pwmDisable() pwm_pwmDisable(), do not disable the channel not enable yet!! (4000)
1========= ctype_t: 0
1========= GxUSB_GetIsUSBPlug: 0
On Shutdown end
System Shutdown begin
Power Off Sequence = Safe
ERR:GxVideo_CloseDevice() still under lock!
CHK: 2250, SenPowerOff
System Shutdown end
#################FUNCTION = Dx_UninitIO, LINE = 231
Byebye, World!
WRN:TM_Begin() Exceed max TM array!
=========================================================
NOVATEK SDK
Copyright (c) 2014 Novatek Microelectronic Corp.
=========================================================
(pwr-off)
▒halt)
#endif
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIFlow/UIFlowMovie/UIFlowWndMovie.c, FUNC = App_trigger_gsensor, LINE = 878 .
在执行了mir3da_read_data(&X, &Y, &Z);函数后,
添加打印,将三轴的x,y,z值打印出来:debug_msg(" 33[0;31m mir3da_read_data : X = %hd, Y = %hd, Z = %hd 33[0;0m
", X, Y, Z);
mir3da_read_data : X = 956, Y = -89, Z = -14
执行:App_trigger_gsensor,循环读取Gsensor值
调试信息:######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/System/SysInput_Exe.c, FUNC = UI_DetUserDet, LINE = 1083 .
处罚文件锁定:
==========> g_bRecordLock: 1
3.问题:设置好密码后,按复位键不能恢复到最原始的密码
在文件Debug.h添加调试函数:
#if (1)
#define DEBUG_WIFI_KEY (1)
#define DEBUG_WIFI
if (DEBUG_WIFI_KEY){DEBUG_PRINT;}
#endif
一些log信息
{
i 0 160 214
i 1 160 214
2880
2880
#################FUNCTION = UIFlowWndMovie_OnOpen, LINE = 1522
################## 2 rtc_date: 170804
=======GPIOMap_TurnOffLED!
ERR:pwm_pwmDisable() pwm_pwmDisable(), do not disable the channel not enable yet!! (4000)
################### wifi pwd:12345678//---------------------------------->wifi passwd
=========================================
============== movie mode =============
=========================================
ERR: open file A:focusing_samoon.txt error
ERR: open file A:focusing_samoon.txt error
ERR: open file A:autowifi.txt error
Mode {MOVIE} Open end
On Boot end
USB 1.5A
CONNECT to CHARGER
USBConnectType=2
#################FUNCTION = UIFlowWndMovie_OnACPlug, LINE = 2882
#################FUNCTION = FlowMovie_IsStorageErr, LINE = 144
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> FlowMovie_StartRec
======= TurnOn Record LED PWM!
ERR:TM_End() Exceed max TM array!
WRN:TM_Begin() Exceed max TM array!
ERR:TM_End() Exceed max TM array!
WRN:TM_Begin() Exceed max TM array!
CREATEFSSTRG111 ok [over0] fsk=0 !!
pObj 0 OK!
ERROR Round vfr -> 30!
size = 0x17290, max = 0x1729
[0] videoMax=0xB34, audioMax=0xBF5
fsStrmObj pFsStrmIdInfo NULL
ERR:SMediaRecFSStrm_ConfigureObj() SMediaRec Video Stream ID 1 is invalid!.
#0 ID #76 is starting ...
CHK: 2908, SMediaRecFSStrm_GetObjByTaskID
1=76, want=76!
ERR:TM_End() Exceed max TM array!
WRN:TM_Begin() Exceed max TM array!
#################FUNCTION = UIMovie_ImmProc, LINE = 322
EVENT 2: Delete file!
SMR_FSStrm_DeleteOld[fs0]-EE
ERR:TM_End() Exceed max TM array!
WRN:TM_Begin() Exceed max TM array!
Hello, eCos world!!!!!!!!!!
==== NOT Start init_inet for ftpd ===
Ready for eCos scheduling...
cpu2 power on ready
ERR:TM_End() Exceed max TM array!
get: uart ipc, addr=A0BA11E4
Run uart main...
uart main return 0.
WRN:TM_Begin() Exceed max TM array!
AP start
system call
command=wifiipc -open 19075584 19086664 16061709 &
system call
command=dhcpipc -open 19089920 5504 20160719 &
gParamSndAddr=0xA1234200
gParamRcvAddr=0xA1234600
system call
command=usockipc -open 19087872 19088896 20160811 &
Network mod:0
UINet_WifiInit(): set wifi 0 1//----------------------------------------------------------》UINet_WifiInit
WRN:TM_Begin() Exceed max TM array!
ERR:TM_End() Exceed max TM array!
WRN:TM_Begin() Exceed max TM array!
sdio lookup 3
SDIO1 open: switch to 48MHz
sdio lookup 4
funcs = 0x1
tpl_ptr = 0x0
tpl_ptr = 0x1000
tpl_ptr = 0x1000
tpl_code = 0x20
tpl_link = 0x04
tpl_data =
0x4c 0x02 0x79 0x81
i = 4, ARRAY_SIZE = 4
tpl_code = 0x21
tpl_link = 0x02
tpl_data =
0x0c 0x00
i = 2, ARRAY_SIZE = 4
tpl_code = 0x22
tpl_link = 0x04
tpl_data =
0x00 0x08 0x00 0x32
i = 4, ARRAY_SIZE = 4
tpl_code = 0xff
tpl_ptr = 0x0
tpl_ptr = 0x1100
tpl_ptr = 0x1100
tpl_code = 0x21
tpl_link = 0x02
tpl_data =
0x0c 0x00
i = 2, ARRAY_SIZE = 4
tpl_code = 0x22
tpl_link = 0x2a
tpl_data =
0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x02 0x00 0xff
0xff 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0xeb 0x00 0x6e 0x01 0x00 0x00
0x00 0x00
i = 42, ARRAY_SIZE = 4
tpl_code = 0xff
=====>>INSIDE rtl8192cd_init_one <<=====
=====>>EXIT rtl8192cd_init_one <<=====
[draw61]
[0] timeid=0x3f2f38!
ERR:TM_End() Exceed max TM array!
UINet_WifiInit(): wifi init succesful//----------------------------------------------------》UINet_WifiInit
UINet_WifiInit(): wlan0 efuse mac [cc:79:cf:a9:80:d5]
RtkWifi_CmdId_Config(ap wpa2-psk-aes PHILIPS_80d5 12345678)//------------------------------》RtkWifi_CmdId_Config
WRN:TM_Begin() Exceed max TM array!
kick[f0]
[0]stillBlock = 1
available_chnl:[1][2][3][4][5][6][7][8][9][10][11][12][13]
[PHY_ConfigTXLmtWithParaFile_new][TXPWR_LMT_88E_new]
[PHY_IQCalibrate]
[PHY_IQCalibrate]
ERR:TM_End() Exceed max TM array!
UINet_WifiInit(): setip=192.168.1.254 -
WRN:TM_Begin() Exceed max TM array!
UINet_DHCP_Start(): isCli 0
[DHCPELIOS]ERR:dhcpd_set_lease_conf: lease_time 30 sec
tmpLen=11, 60-
UINet_DhcpSrvCBCliConn(): ::isConn=3,ip=0x0,mac= 0: 0: 0: 0: 0: 0
UINet_DhcpSrvCBCliConn(): ::isConn=4,ip=0x0,mac= 0: 0: 0: 0: 0: 0
ERR:TM_End() Exceed max TM array!
UINet_WifiInit(): Default IP=192.168.1.254
WRN:TM_Begin() Exceed max TM array!
[draw19]
system call
command=fsipc -open 12628320 369497624
system call
command=fsipc -mount /sdcard
system call
command=hfs -p 80 -l 443 -s 51200 -to 20 -t 20 -ma 19095424 -ms 71680 -n 6 -r /sdcard -c -put -q query_devinfo -u -d -v 0x16121309 &
hfs: listening on ports 80 (http) and 443 (https)
ERR:TM_End() Exceed max TM array!
ERR:TM_End() Exceed max TM array!
WRN:TM_Begin() Exceed max TM array!
system call
command=msdcnvt 0x00821D20 0x000000B8 &
MSDCNVT port=1968
#################FUNCTION = SetupExe_OnWifiStart, LINE = 839
BackgroundWiFiOn 0 result 0
############### GET_SPK_Stay_Times():18
#################FUNCTION = UI_DetPwmLED, LINE = 937
Got ssid count 13
SSID BSSID ch prd cap bsc oper ss sq bd 40m
ROE 1c78390b7159 7 100 0431 000f 0fff 2e 64 0b 1
yikuaiwu 003676313931 6 100 0431 000f 0fff 2a 64 0b 1
SAMOON_DQA 34bdf935b438 11 100 0011 000f 0fff 2a 64 0b 1
1212 da763f3b7772 11 100 0431 000f 0fff 26 2d 0b 0
SAMOON_01 e4d3325b9db4 11 100 0431 000f 0fff 24 64 0b 1
SAMOON-TPLINK2 a8154d1327b2 1 100 0431 000f 0fff 24 64 0b 1
<Not a string: 0x8FC28100> 008736309ada 1 100 0431 000f 0fff 22 64 0b 1
NEXTBASE_612GW-C32 b0f1ec380c32 1 100 0411 000f 0fff 20 64 0b 0
WiFifa 08107713560a 1 100 0431 015f 0fff 1e 64 0b 1
LieBaoWiFi803 0013ef400bf9 10 100 0431 015f 0fff 1e 3d 0b 1
<Not a string: 0x8FC28100> 96b7e26e6a5b 11 100 0431 000f 0fff 16 00 0b 0
TP-LINK_74B6 808917f674b6 6 100 0431 000f 0fff 12 61 0b 1
SoftAP 30b49e0fd660 1 100 0431 015f 0fff 12 04 0b 1
Auto channel choose ch:4
[draw49]
ERR:TM_End() Exceed max TM array!
AP ready, total period = 4259425 us
#################FUNCTION = UIMovie_ImmProc, LINE = 322
EVENT 2: Delete file!
SMR_FSStrm_DeleteOld[fs0]-EE
}
添加调试信息:
#if (1)
RFlsh
R
FCompress
RNonComp
F/W NT96660 Start ...
NAND support table version[2014_03_10-01]
usb_PowerOnInit: enter
usb_PowerOnInit: exit
CPU/CPU2/DSP clk = 420/420/270 Mhz ...PASS
DMA clk = 507 Mhz ...PASS
Memory = 262144 KB, Code/Resv/Stack/Heap = 11356/8/567/250212 KB
Binary = 8280 KB, Part = 1010/755/0/0/0/0/0/0/0/6514 KB
PwrLost = 0, PwrSrc = 2
=========================================================
NOVATEK SDK
Copyright (c) 2014 Novatek Microelectronic Corp.
=========================================================
Hello, World!
>
#################FUNCTION = Dx_InitIO, LINE = 224
System Boot begin
---------------------------------------------------------
LD VERISON: LD_NVT
FW --- Daily Build: Aug 4 2017, 15:35:40
---------------------------------------------------------
Power On Sequence = Safe
ERR:ramdsk_setParam() No Implement! uiEvt 2
ERR:ramdsk_setParam() No Implement! uiEvt 1
===================================== video fixed [Display_LCD]
WRN:pll_setClockFreq() Target(4) freq can not be divided with no remainder! Result is 48000000Hz.
========low battery!DRVPWR_CTRL_BATTERY_ADC_VALUE:1023
ERR:System_OnStrgInit_PS() PStore uiBufSize=262144
PS_DESC_BLOCK=1
USB 1.5A
CONNECT to CHARGER
System Boot end
On Boot begin
PStore reset info.
#################FUNCTION = SysResetFlag, LINE = 809
Load_MenuInfo uiSbsCalLength = 110
ERR:AlgGetUIInfo() Error IPL Id = 0xffffffff
ERR:IPL_AlgSetUIInfo() Id: -1, SelIdx = 1126236193 error
===================================== sensor display [MASK=00000003]->[MASK=00000003]
WRN:System_OnSensorDisplay() dual sensor, but ImagePipe is not enabled, ignore!
1843200
===================================== sensor display [MASK=00000003]->[MASK=00000003]
WRN:System_OnSensorDisplay() dual sensor, but ImagePipe is not enabled, ignore!
===Movie Rec Set Vol = 100
2880
2880
#################FUNCTION = SysExeMenuSettingFuncs, LINE = 867
#################FUNCTION = SetupExe_OnWifiSetPassPhrase, LINE = 917
UINet_SetPASSPHRASE(): 12345678
Mode {MOVIE} Open begin
-display count=1, mask=01, attach=01
sensor map = {00000000,00000001,ffffffff,ffffffff}
CHK: 2206, Sensor_GetObj
CHK: 2279, Sensor_GetObj2
-sensor count=2, mask=0003, attach=0003, disp=0003
-lens count=0
WRN:MovieExe_OnMovieSize() should change mode
30
WRN:ImageApp_CamMovie_Config() Change IPL buffer count!!! 7
WRN:ImageApp_NetMovie_Config() Change IPL buffer count!!! 7
#################FUNCTION = FlowMovie_FileDBCreate, LINE = 6180
>>>>>>>>>>>>>>>>>>>> UI_GetData(FL_MOVIE_SIZE_MENU):13
>>>>>>>>>>>>>>>>>>>> AdrMode:0
#################FUNCTION = FlowMovie_FileDBCreate, LINE = 6200
MovieFile: Photo folder PHOTO
========== mir3da_gsensor_open !
mir3da I2C init success!
i 0 160 214
i 1 160 214
WRN:MovieExe_OnMovieSize() should change mode
===Movie Rec Set Vol = 100
i 0 160 214
i 1 160 214
2880
2880
#################FUNCTION = UIFlowWndMovie_OnOpen, LINE = 1522
################## 2 rtc_date: 170804
=======GPIOMap_TurnOffLED!
ERR:pwm_pwmDisable() pwm_pwmDisable(), do not disable the channel not enable yet!! (4000)
################### wifi pwd:12345678
=========================================
============== movie mode =============
=========================================
ERR: open file A:focusing_samoon.txt error
ERR: open file A:focusing_samoon.txt error
ERR: open file A:autowifi.txt error
Mode {MOVIE} Open end
On Boot end
USB 1.5A
CONNECT to CHARGER
USBConnectType=2
#################FUNCTION = UIFlowWndMovie_OnACPlug, LINE = 2882
#################FUNCTION = FlowMovie_IsStorageErr, LINE = 144
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> FlowMovie_StartRec
======= TurnOn Record LED PWM!
ERR:TM_End() Exceed max TM array!
WRN:TM_Begin() Exceed max TM array!
ERR:TM_End() Exceed max TM array!
WRN:TM_Begin() Exceed max TM array!
CREATEFSSTRG111 ok [over0] fsk=0 !!
pObj 0 OK!
ERROR Round vfr -> 30!
size = 0x17290, max = 0x1729
[0] videoMax=0xB34, audioMax=0xBF5
fsStrmObj pFsStrmIdInfo NULL
ERR:SMediaRecFSStrm_ConfigureObj() SMediaRec Video Stream ID 1 is invalid!.
#0 ID #76 is starting ...
CHK: 2908, SMediaRecFSStrm_GetObjByTaskID
1=76, want=76!
ERR:TM_End() Exceed max TM array!
WRN:TM_Begin() Exceed max TM array!
#################FUNCTION = UIMovie_ImmProc, LINE = 322
EVENT 2: Delete file!
SMR_FSStrm_DeleteOld[fs0]-EE
ERR:TM_End() Exceed max TM array!
WRN:TM_Begin() Exceed max TM array!
Hello, eCos world!!!!!!!!!!
==== NOT Start init_inet for ftpd ===
Ready for eCos scheduling...
cpu2 power on ready
ERR:TM_End() Exceed max TM array!
get: uart ipc, addr=A0BA1344
Run uart main...
uart main return 0.
WRN:TM_Begin() Exceed max TM array!
AP start
system call
command=wifiipc -open 19075936 19087016 16061709 &
system call
command=dhcpipc -open 19090272 5504 20160719 &
gParamSndAddr=0xA1234360
gParamRcvAddr=0xA1234760
system call
command=usockipc -open 19088224 19089248 20160811 &
Network mod:0
######## FILE = e:/Proj[0] timeid=0x3bb656!
ect_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIApp/Setup/UISetup_Exe.c, FUNC = SetupExe_OnWifiStart, LINE = 817 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIApp/Network/UIAppNetwork.c, FUNC = UINet_WifiInit, LINE = 1241 .
UINet_WifiInit(): set wifi 0 1
WRN:TM_Begin() Exceed max TM array!
ERR:TM_End() Exceed max TM array!
WRN:TM_Begin() Exceed max TM array!
sdio lookup 3
SDIO1 open: switch to 48MHz
sdio lookup 4
funcs = 0x1
tpl_ptr = 0x0
tpl_ptr = 0x1000
tpl_ptr = 0x1000
tpl_code = 0x20
tpl_link = 0x04
tpl_data =
0x4c 0x02 0x79 0x81
i = 4, ARRAY_SIZE = 4
tpl_code = 0x21
tpl_link = 0x02
tpl_data =
0x0c 0x00
i = 2, ARRAY_SIZE = 4
tpl_code = 0x22
tpl_link = 0x04
tpl_data =
0x00 0x08 0x00 0x32
i = 4, ARRAY_SIZE = 4
tpl_code = 0xff
tpl_ptr = 0x0
tpl_ptr = 0x1100
tpl_ptr = 0x1100
tpl_code = 0x21
tpl_link = 0x02
tpl_data =
0x0c 0x00
i = 2, ARRAY_SIZE = 4
tpl_code = 0x22
tpl_link = 0x2a
tpl_data =
0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x02 0x00 0xff
0xff 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0xeb 0x00 0x6e 0x01 0x00 0x00
0x00 0x00
i = 42, ARRAY_SIZE = 4
tpl_code = 0xff
=====>>INSIDE rtl8192cd_init_one <<=====
=====>>EXIT rtl8192cd_init_one <<=====
[draw40]
ERR:TM_End() Exceed max TM array!
UINet_WifiInit(): wifi init succesful
UINet_WifiInit(): wlan0 efuse mac [cc:79:cf:a9:80:d5]
RtkWifi_CmdId_Config(ap wpa2-psk-aes PHILIPS_80d5 12345678)
WRN:TM_Begin() Exceed max TM array!
kick[f0]
[0]stillBlock = 1
available_chnl:[1][2][3][4][5][6][7][8][9][10][11][12][13]
[PHY_ConfigTXLmtWithParaFile_new][TXPWR_LMT_88E_new]
[PHY_IQCalibrate]
[PHY_IQCalibrate]
ERR:TM_End() Exceed max TM array!
UINet_WifiInit(): setip=192.168.1.254 -
WRN:TM_Begin() Exceed max TM array!
UINet_DHCP_Start(): isCli 0
[DHCPELIOS]ERR:dhcpd_set_lease_conf: lease_time 30 sec
tmpLen=11, 60-
UINet_DhcpSrvCBCliConn(): ::isConn=3,ip=0x0,mac= 0: 0: 0: 0: 0: 0
UINet_DhcpSrvCBCliConn(): ::isConn=4,ip=0x0,mac= 0: 0: 0: 0: 0: 0
UINet_DhcpSrvCBCliConn(): ::isConn=4,ip=0x0,mac= 0: 0: 0: 0: 0: 0
UINet_WifiInit(): Default IP=192.168.1.254
WRN:TM_Begin() Exceed max TM array!
system call
command=fsipc -open 12628672 369497624
system call
command=fsipc -mount /sdcard
ERR:TM_End() Exceed max TM system call
command=hfs -p 80 -l 443 -s 51200 -to 20 -t 20 -ma 19095776 -ms 71680 -n 6 -r /sdcard -c -put -q query_devinfo -u -d -v 0x16121309 &
hfs: listening on ports 80 (http) and 443 (https)
array!
ERR:TM_End() Exceed max TM array!
WRN:TM_Begin() Exceed max TM array!
system call
command=msdcnvt 0x00821E80 0x000000B8 &
MSDCNVT port=1968
#################FUNCTION = SetupExe_OnWifiStart, LINE = 840
BackgroundWiFiOn 0 result 0
FS[0] W=0xa7ccd460!s=0x100000,oft=0x340000,654ms!
kick[f0]
############### GET_SPK_Stay_Times():18
#################FUNCTION = UI_DetPwmLED, LINE = 937
Got ssid count 15
SSID BSSID ch prd cap bsc oper ss sq bd 40m
ROE 1c78390b7159 7 100 0431 000f 0fff 2e 64 0b 1
1212 da763f3b7772 11 100 0431 000f 0fff 2c 64 0b 0
NEXTBASE_612GW-C32 b0f1ec380c32 1 100 0411 000f 0fff 26 3b 0b 0
SAMOON_DQA 34bdf935b438 11 100 0011 000f 0fff 26 64 0b 1
yikuaiwu 003676313931 6 100 0431 000f 0fff 24 3f 0b 1
SAMOON_01 e4d3325b9db4 11 100 0431 000f 0fff 24 64 0b 1
LieBaoWiFi803 0013ef400bf9 10 100 0431 015f 0fff 24 64 0b 1
SAMOON-TPLINK2 a8154d1327b2 1 100 0031 000f 0fff 22 64 0b 1
<Not a string: 0x8FC28100> 96b7e26e6a5b 11 100 0431 000f 0fff 1e 0d 0b 0
<Not a string: 0x8FC28100> 008736309ada 1 100 0431 000f 0fff 1e 64 0b 1
WiFifa 08107713560a 1 100 0431 015f 0fff 1e 64 0b 1
NEXTBASE_612GW-F9E b0f1ec37df9e 6 100 0411 000f 0fff 1a 00 0b 0
SoftAP 30b49e0fd660 1 100 0431 015f 0fff 16 64 0b 1
TP-LINK_74B6 808917f674b6 6 100 0431 000f 0fff 0e 16 0b 1
SAMOON-03 f0b429374377 1 100 0431 000f 0fff 0c 00 0b 1
Auto channel choose ch:4
[draw85]
ERR:TM_End() Exceed max TM array!
AP ready, total period = 4302415 us
#endif
在wifi前或内部添加UINet_WifiInit()信息:
ect_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIApp/Setup/UISetup_Exe.c, FUNC = SetupExe_OnWifiStart, LINE = 817 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIApp/Network/UIAppNetwork.c, FUNC = UINet_WifiInit, LINE = 1241 .
手机连接记录仪wifi:(密码错误)
BIT(11) of 0xd2c = 1, 0xd2c = 0xcc979975
wlan0: WPA2-AES PSK authentication in progress...
4-1
UINet_StationStatus_CB(): wlan0: A client(D0:65:CA:90:20:A4) is associated
UINet_StationSta4-2
4-2: ERROR_MIC_FAIL
wlan0: Authentication failled! (4-2: MIC error)
tus_CB(): wlan0: A client(D0:65:CA:90:20:A4) is disassociated
UINet_StationSta4-2
4-2: ERROR_MIC_FAIL
wlan0: Authentication failled! (4-2: MIC error)
tus_CB(): wlan0: A client(D0:65:CA:90:20:A4) is disassociated
UINet_StationSta4-2
4-2: ERROR_MIC_FAIL
wlan0: Authentication failled! (4-2: MIC error)
tus_CB(): wlan0: A client(D0:65:CA:90:20:A4) is disassociated
disconnect sta[d065ca:9020a4]
wlan0: A STA is rejected by 802.1x daemon - D0:65:CA:90:20:A4
use 32 bits mdat atom
get 2=0x6d10000, 3=0x0
setfilesize2=0x6d10000
gSMRMdat_rollback1 [0]!!
[0] timeid=0x1ce45e49!
kick[f0]
[0]stillBlock = 2
#################FUNCTION = UIMovie_ImmProc, LINE = 322
EVENT 2: Delete file!
SMR_FSStrm_DeleteOld[fs0]-EE
连接上wifi:
UINet_StationStaBIT(11) of 0xd2c = 1, 0xd2c = 0xcc979975
wlan0: WPA2-AES PSK authentication in progress...
4-1
tus_CB(): wlan0: A client(D0:65:CA:90:20:A4) is associated
4-2
4-3
4-4
wlan0: Open and authenticated
WPA2: 4-way handshake done
UINet_DhcpSrvCBCliConn(): ::isConn=1,ip=0x2101a8c0,mac=d0:65:ca:90:20:a4
#################FUNCTION = UIMovie_ImmProc, LINE = 322
EVENT 2: Delete file!
SMR_FSStrm_DeleteOld[fs0]-EE
UINet_StationStatus_CB(): wlan0: A client(D0:65:CA:90:20:A4) is port authorized
UINet_StationStatus_CB(): ********** currentMacAddr d065ca9020a4
WifiCmd_ReceiveCmd(): WifiCmd_ReceiveCmd 1
断开wifi:
UINet_DhcpSrvCBCliConn(): ::isConn=1,ip=0x2101a8c0,mac=d0:65:ca:90:20:a4
UINet_StationStatus_CB(): wlan0: A client(D0:65:CA:90:20:A4) is disassociated
===========================APP连接记录仪WIFI===========================================================
UINet_StationStaBIT(11) of 0xd2c = 1, 0xd2c = 0xcc979975
wlan0: WPA2-AES PSK authentication in progress...
4-1
tus_CB(): wlan0: A client(D0:65:CA:90:20:A4) is associated
4-2
4-3
4-4
wlan0: Open and authenticated
WPA2: 4-way handshake done
UINet_StationStatus_CB(): wlan0: A client(D0:65:CA:90:20:A4) is port authorized
UINet_StationStatus_CB(): ********** currentMacAddr d065ca9020a4
WifiCmd_ReceiveCmd(): WifiCmd_ReceiveCmd 1
=============> UIMenuWndWiFiMobileLinkOK_Authorized_OK
#################### curStatus:1
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> WIFI Start Rec
live555 exit.
no file[0] to end
ERR:h264_close() H264Enc don't need to close, 1, 396
Call Stop callback 1
VidMin = 500KB
WRN:xRtspNvt_Wrn() -2
system call
command=live555MediaServer 07852230 00000800 &
live555 start.
SetEndChar not valid fstsk ID, overviewid = 1
CREATEFSSTRG111 ok [over0] fsk=0 !!
pObj 0 OK!
overid= 1, fstsk EMPTY!!
VidMin = 500KB
WRN:aud_openRx() audTs Obj RX already opened!
VidMin = 500KB
size = 0x17290, max = 0x1729
[0] videoMax=0xB34, audioMax=0xBF5
VidMin = 500KB
#0 ID #76 is starting ...
#1 ID #77 is starting ...
ERR:h264_setEncInitReg() H264Enc don't need to init, 2, 660
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> result is 0
ERR:h264_close() H264Enc don't need to close, 1, 396
ERR:h264_setEncInitReg() H264Enc don't need to init, 2, 660
SMR_FSStrm_DeleteOld[fs0]-EE
WifiCmd_Done(): flag 1 result 0
Total Lvl:10, CurLvl:10, UpBound:307200, LowBound:61440, TargetBitRate:307200
UINet_DhcpSrvCBCliConn(): ::isConn=1,ip=0x2101a8c0,mac=d0:65:ca:90:20:a4
[0] timeid=0x2e8326e!
kick[f0]
############### GET_SPK_Stay_Times():18
#################FUNCTION = UI_DetPwmLED, LINE = 937
WifiCmd_GetData(): Data2 path = , argument -> custom=1&cmd=3002, mimeType= , bufsize= 32768, segmentCount= 0
WifiCmd_Lock(): Lock
WifiCmd_DispatchCmd(): cmd:3002 evt:0 par:0 CB:801e65f8 wait:0
WifiCmd_DispatchCmd(): ret 0
WifiCmd_Unlock(): Unlock
WifiCmd_GetData(): Data2 path = , argument -> custom=1&cmd=3022, mimeType= , bufsize= 32768, segmentCount= 0
WifiCmd_Lock(): Lock
WifiCmd_DispatchCmd(): cmd:3022 evt:0 par:0 CB:801e4760 wait:0
WifiCmd_DispatchCmd(): ret 0
WifiCmd_Unlock(): Unlock
WifiCmd_GetData(): Data2 path = , argument -> custom=1&cmd=3016, mimeType= , bufsize= 32768, segmentCount= 0
WifiCmd_Lock(): Lock
WifiCmd_DispatchCmd(): cmd:3016 evt:0 par:0 CB:801e5788 wait:0
WifiCmd_DispatchCmd(): ret 0
WifiCmd_Unlock(): Unlock
WifiCmd_GetData(): Data2 path = /test.htm, argument -> custom=1&cmd=3031&str=8D4056E6, mimeType= , bufsize= 32768, segmentCount= 0
WifiCmd_Lock(): Lock
WifiCmd_DispatchCmd(): cmd:3031 evt:0 par:-1591515860 CB:801e59c0 wait:0
WifiCmd_DispatchCmd(): ret 0
WifiCmd_Unlock(): Unlock
WifiCmd_GetData(): Data2 path = , argument -> custom=1&cmd=3016, mimeType= , bufsize= 32768, segmentCount= 0
WifiCmd_Lock(): Lock
WifiCmd_DispatchCmd(): cmd:3016 evt:0 par:0 CB:801e5788 wait:0
WifiCmd_DispatchCmd(): ret 0
WifiCmd_Unlock(): Unlock
WifiCmd_GetData(): Data2 path = , argument -> custom=1&cmd=3016, mimeType= , bufsize= 32768, segmentCount= 0
WifiCmd_Lock(): Lock
WifiCmd_DispatchCmd(): cmd:3016 evt:0 par:0 CB:801e5788 wait:0
WifiCmd_DispatchCmd(): ret 0
WifiCmd_Unlock(): Unlock
===================================== sensor display [MASK=00000003]->[MASK=00000003]
1843200
===================================== sensor display [MASK=00000003]->[MASK=00000003]
===Movie Rec Set Vol = 100
2880
ERR:SMediaRec_SetEmergencyRecording() EMR cann't be set when recording!!!
2880
ERR:SMediaRec_SetEmergencyRecording() EMR cann't be set when recording!!!
#################FUNCTION = SysExeMenuSettingFuncs, LINE = 867
#################FUNCTION = SetupExe_OnWifiSetPassPhrase, LINE = 917
UINet_SetPASSPHRASE(): 12345678
############### GET_SPK_Stay_Times():10
#################FUNCTION = UI_DetPwmLED, LINE = 937
ERR: UIMenuWndWiFiMobileLinkOK_OnBackgroundDone event = 0xb, status=1
ERR: UIMenuWndWiFiMobileLinkOK_OnBackgroundDone:Unknown event 0xb
UINet_DhcpSrvCBCliConn(): ::isConn=1,ip=0x2101a8c0,mac=d0:65:ca:90:20:a4
==========> g_bRecordLock: 1
按下Reset键:
[text] RESET Key pressed
[text] RESET Key Released
ERR: Reser default setting
#################FUNCTION = SysResetFlag, LINE = 809
===================================== sensor display [MASK=00000003]->[MASK=00000003]
1843200
===================================== sensor display [MASK=00000003]->[MASK=00000003]
===Movie Rec Set Vol = 100
2880
ERR:SMediaRec_SetEmergencyRecording() EMR cann't be set when recording!!!
2880
ERR:SMediaRec_SetEmergencyRecording() EMR cann't be set when recording!!!
#################FUNCTION = SysExeMenuSettingFuncs, LINE = 867
#################FUNCTION = SetupExe_OnWifiSetPassPhrase, LINE = 917
UINet_SetPASSPHRASE(): 12345678
############### GET_SPK_Stay_Times():10
#################FUNCTION = UI_DetPwmLED, LINE = 937
==========> g_bRecordLock: 1
==========> g_bRecordLock: 1
ERR: UIMenuWndWiFiMobileLinkOK_OnBackgroundDone event = 0xb, status=1
ERR: UIMenuWndWiFiMobileLinkOK_OnBackgroundDone:Unknown event 0xb
UINet_DhcpSrvCBCliConn(): ::isConn=1,ip=0x2101a8c0,mac=d0:65:ca:90:20:a4
4.在UINet_SetPASSPHRASE前添加DEBUG_TEST
UINet_SetPASSPHRASE(): 12345678
ERR: Reser default setting
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIInfo/UIInfo.c, FUNC = Reset_MenuInfo, LINE = 409 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIWnd/SPORTCAM/UIInfo/UIInfo.c, FUNC = SysResetFlag, LINE = 696 .
#################FUNCTION = SysResetFlag, LINE = 815
===================================== sensor display [MASK=00000003]->[MASK=00000003]
1843200
===================================== sensor display [MASK=00000003]->[MASK=00000003]
===Movie Rec Set Vol = 100
2880
ERR:SMediaRec_SetEmergencyRecording() EMR cann't be set when recording!!!
2880
ERR:SMediaRec_SetEmergencyRecording() EMR cann't be set when recording!!!
#################FUNCTION = SysExeMenuSettingFuncs, LINE = 873
#################FUNCTION = SetupExe_OnWifiSetPassPhrase, LINE = 919
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIApp/Setup/UISetup_Exe.c, FUNC = SetupExe_OnWifiSetPassPhrase, LINE = 924 .
######## FILE = e:/Project_code/Philips_PanGu/Philips_PanGu_FW_20170119/Project/DemoKit/SrcCode/UIApp/Network/UIAppNetwork.c, FUNC = UINet_SetPASSPHRASE, LINE = 284 .