I am trying to get data from a camera(-simulator) into the DRAM, using the ISIF/IPIPEIF on a DM365 processor. For that, I am using MontaVista Linux 5 (from dvsdk 2.10.01.18) and I am _not_ using the V4L VPFE drivers by TI, yet I am controlling the VPSS registers myself by mmapping /dev/mem. I managed to apply a 10 MHz signal to the PCLK pin and get the ISIF to generate VD and HD pulses in return.
Now I am applying a constant signal to the DATA lines (high for even data lines, low for odd ones), a high signal to the WEN pin, the same PCLK of 10 MHz as before and still having the ISIF generate the VD and HD pulses. I set the DRAM address to a physical address that I obtained by using the CMEM module.
In the beginning of my program, after CMEM allocates me my buffer, I wipe it with zeroes. I then set all the registers of the VPSS, including the (to my understanding) CADU and CADL ones. every keystroke I print out the contents of the memory buffer, and all I see are zeroes.
Shortly put, I do not manage to read out the data sent by my camera-simulator in the memory. I have tried several things, especially experimenting with the Write-Enable related registers.
I am out of ideas to fix or debug it, so I was hoping for some input here. If my explanation is unclear or missing important parts, I'm more than happy to share code/output or just clarify things.
Jasper