I used the psp drive for my development. I opened the project at "pspdrivers\system\dm648\bios\evmDM648\video\sample\build\raw_capture_loopback" and build it, when I download the *.out file to my customized board, the DSP hangs at the following line in vportcap.c:
while (port->vportBase->VP_CTL & CSL_VPORT_VP_CTL_VPRST_MASK);
It seems that the video port could not be reset successfully. While I searched in google and I found some people also met this problem, however there were not solutions.
On my customized board all five video ports are connected to FPGA directly, and the FPGA also provided 30MHz clock on the video capture port CLK0 pin, other pins are all gound at beginning. So what would the cause be which make the capture port reset failure?
I also test some other sample projects using capture port or display port or both. None of these video ports could be successfully reset, and the DSP hangs at mdBindDev() function forever. Is this a software issue or hardware issue?