dear all
Rencently,I create a project to realize video sample and h.264 encode and decode. So I
build a project upon the example given by ti, named video_encdec,however,I found there is a
problem,when I debug My programm, it stops at
CcdcHandle = FVID_create("/VPFE0",IOM_INOUT,NULL,&feinitParams,&gioAttrs);
I create this handle with follow steps,
1 in the .tcf file,I wrote :
bios.UDEV.create("VPFE0");
bios.UDEV.instance("VPFE0").fxnTableType = "IOM_Fxns";
bios.UDEV.instance("VPFE0").fxnTable = prog.extern("VPFEMD_FXNS");
2,in the program,
feinitParams.id = PSP_VPFE_CCDC;
feinitParams.params = (PSP_VPFECcdcConfigParams*)&ccdcParams;
CcdcHandle = FVID_create("/VPFE0",IOM_INOUT,NULL,&feinitParams,&gioAttrs);
if(NULL == CcdcHandle)
{
return;
}
when I click run the program, there is no reponse,so I step into this program,I find when
it go to a function named hwi_disable1,and then it jump back,and ccdchandle=0,I don't know
what's the problem.
by the way,there is another problem,when I click debug->go main,it doesn't go to the main
funciton,it seems there is no response,but when i click stop,from the disassembly windown,i
can see it always stops at hwi15+addr.
some times,if I click go main for several times,it jumps out a message box:can't set a
breakpoint to gel_go()(almost this mean),I am puzzeled by these problem,I am waiting for
your help,thanks.