I use the examle of previewer_on_the_fly interfaced cmos sensor MT9P001
But the LCD dusplay is all black...........
And I find that the problem is here:
for(i = 0; i < NumOfIterations; i++)
{
if (IOM_COMPLETED != FVID_exchange(ccdcHandle, &FBAddr))
{
PREV_APP_PRINT("VPSS: Error in CCDC Exchange\r\n");
}
if (IOM_COMPLETED != FVID_exchange(vid0Handle, &FBAddr))
{
PREV_APP_PRINT("VPSS: Error in Video 0 Exchange\r\n");
}
}
It means FVID_exchange() error here.
But I am sure the PrevHandle, ccdhandle, vencHandle and vid0Handle are all created .
Does anyone have the same problem ?