Tool/software: TI-RTOS
Currently we observe an issue where ISSCapture is not sending the images to other links.
The issue is occurring in ISSCapture because, IssCaptureLink_drvPutEmptyBuffers is not called after sometime due to which ISS is not sending SYSTEM_CMD_NEW_DATA next links. Basically images from camera is not passed further because Fvid2_deque fails with status -7 in IssCaptureLink_drvProcessData.
Further analysis from SV reveals that, ISP link is stalled hence we observe the issue.
We can confirm ISP stall using semaphore with timeout. Refer below code highlighted in Yellow.
We see the print “ISP Stall” when the issue is observed
links_fw\src\rtos\links_ipu\iss_m2misp\issM2mIspLink_drv_process_frame.c
Function: Int32 IssM2mIspLink_drvProcessFrame
Vision SDK: 3.03
// Check for ISP Stall #if 0 BspOsal_semWait(pObj->semProcessCall, BSP_OSAL_WAIT_FOREVER); #else { Bool ret; ret = BspOsal_semWait(pObj->semProcessCall, 1000); if (!ret) { //to see load and bandwidth ChainsCommon_PrintStatistics(); { static int loop = 1; Vps_printf("ISP stalled\n"); while (loop) { BspOsal_sleep(200); } } } UTILS_assert(ret); } #endif