Hi,
I have three questions about this demo. (EVM6446, Fedora 8)
1) I found that if I skip the process of Codec Engine Initialization, I could not convert virtual memory address to physical address properly by using Memory_getPhysicalAddress(Ptr virtualAddress);
I don't know whether it is necessary to init Codec Engine if I do not need to encode or decode any video signal. Here I just want to capture something using CCD camera and then write these video signal to then DDR memory, finally to show the signal on LCD screen without encoding or decoding.
2) In ti/sdo/ce/osal/Memory.h, this file tells me that Memory_getPhysicalAddress() is deprecated, so I decide to change this function to Memory_getBufferPhysicalAddress() without revising any other code. But when I'm running this code on target$ , it tells me "Bus error", and if I change the function back, everything is running properly. So, could you tell me why? Do I need to Memory_init() before Memory_getBufferPhysicalAddress()?
3) Does it necessary to begin "Display" thread before "Capture" thread? I try to change the order, and find that everything is running well but "DSP CPU load", it's always 99%. Before changing the order, I find that DSP is not so "busy". Actually, the code sounds not related with DSP's running.
thank you.