Other Parts Discussed in Thread: TVP5150, SYSBIOS, DRA71
Team
We are developing our custom RVC app based on Ti provided Vision SDK 02.12.0.0+RobustRVC 4.0 sources
We have a custom 7" display and use TV5150 as video input.
We are having several abnormal program termination
Ocurrence 1: Calling Bsp_deviceInit(&deviceInitPrms)
If
initPrms->isI2cInitReq = (UInt32) TRUE;
initPrms->isI2cProbingReq = etiher (FALSE or TRUE);
Abort happens calling
bsp_osal.c
ln814:
Hwi_construct(&(gBspOsalHwiObj[i].hwiStruct),
(Int32) intNum,
(Hwi_FuncPtr) fxn,
&hwiParams,
0U);
We test with initPrms->isI2cInitReq = (UInt32) FALSE; to continue with the development but the following abort happens
Ocurrence 2: Calling chains_main_robust_rvc.c->chains_main_robust_rvc.c->chains_vipSingleRvcCamCrc_Display(&gChains_usecaseCfg);
gChains_usecaseCfg values
gChains_usecaseCfg.algProcId = SYSTEM_PROC_DSP1;
gChains_usecaseCfg.displayType = CHAINS_DISPLAY_TYPE_LCD_7_INCH;
gChains_usecaseCfg.captureSrc = CHAINS_CAPTURE_SRC_VIDDEC_TVP5150;
else if(captureSrc == CHAINS_CAPTURE_SRC_VIDDEC_TVP5150)
{
pInstPrm->videoIfMode = SYSTEM_VIFM_SCH_ES;
pInstPrm->videoIfWidth = SYSTEM_VIFW_8BIT;
pInstPrm->bufCaptMode = SYSTEM_CAPT_BCM_FRM_DROP;
pInstPrm->numStream = 1;
pInprms->width = captureInWidth;
pInprms->height = captureInHeight/2;
pInprms->dataFormat = SYSTEM_DF_YUV422P;
pInprms->scanFormat = SYSTEM_SF_INTERLACED;
}
At the end of calling chains, we see that abort happens in heap memory alloc
chains_vipSingleRvcCamCrc_Display.c
/*Read by JTAG
pUcObj->CapturePrm.memAllocInfo.memSize = 2592000*/
ln387
pUcObj->CapturePrm.memAllocInfo.memAddr =
(UInt32)Utils_memAlloc(
UTILS_HEAPID_DDR_CACHED_SR,
pUcObj->CapturePrm.memAllocInfo.memSize,
128
);
/*Read by JTAG size=2592000, align=512*/
block = Memory_HeapProxy_alloc(heap ? heap : Memory_defaultHeapInstance,
size, align, eb);
/*Last function before aborting*/
Ptr HeapMem_alloc(HeapMem_Object *obj, SizeT reqSize,
SizeT reqAlign, Error_Block *eb)
Aborting function called
void abort(void)
{
loader_exit();
for (;;); /* SPINS FOREVER */
}
Could you help with that?
Thanks in advance