I am using adv212 daughter card with the spartan 3 board. I need to access the compressed video data through the host interface HDATA without DMA. At the moment I am transferring data from encoder to decoder through DMA.
You'd need to modify the program for the embedded microblaze using the EDK to not use the DMA engine and instead use Direct Reads.
I am using the EDK. But the problem that I am getting is that which address of JPEG encoder do I have to read for getting compressed video stream.
I am using the program that's been placed at ftp://ftp.analog.com/pub/Digital_Imaging/ADV212_Eval_P160SD_FPGA_SYSTEM/projects/rev19/
To obtain digital video stream, I have tried to modify the Destination Address offset to an array instead of ADV202_Decode_ptr + Code_Reg. But still I am unable to obtain the digital video in buffer.
That program (and tool) is extremely old,it hasn't been sold for some time, and there isn't much detailed support we can offer for it.
What code in what function are you modifying?
I created an array and tried to pass the address of the array as destination address(XDMC_DA_OFFSET) during the DMA initialization (init_DMA()) but still the array consists of only zeros and the compressed video data isn't transferred to the array.
Is that the correct way or there is any other method?
No, that won't work. That DMA writes to the same address over and over so it would not work to a memory array-- the initial address would just be written to and the rest of the array ignored.
That means the program won't work for me and I have to develop the program from scratch instead of modifying it. Is that so?
No, it's like I said above. You need to modify the function that calls that DMA to remove the DMA calls and add your own function that writes the data to your memory buffer. That would be a lot easier than starting from scratch.
I've tried a lot but couldn't modify the code successfully. Are there any other firmwares available for the board? I've searched the ftp but didn't find any.
Nope, no other software is available for that board. We haven't sold it for a while.
Retrieving data ...