This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

D3-3P-TDA2X-DK: EVE Programming

Part Number: D3-3P-TDA2X-DK

Dear,

I am trying to implement an algorithm on EVE of TDX2x.

With JTAG, I am debugging my EVE routines with observing values in the input/output buffers, and with setting breakpoints.

If the breakpoint is set at input EDMA trigger, it seems the input data is copied to EVE internal memory well.

But if the breakpoint is set at output EDMA trigger, the output memory is cleared with all zero values.

 

Please kindly help to debug the EVE programming.

  • Hi,

       I am assuming you are using buffer aliasing feature of EVE. If yes then when the buffer switch happens, the memory which is owned by VCOP will show all zeros in CCS memory window even when physically it may contain different memory. Can you cross check this?

    Regards,

    Anshu

  • Anshu,

    When VCOP has access right to the internal memory, the input and output buffer in the internal memory values are all zeros as you explained.

    When System has access right to the internal memory, the input buffer in the internal memory values are valid with my inputs, but output buffer buffer is all zero.

    Although CCS cannot show the internal memory value correctly, I expect some valid output is copied to the output buffer in external memory through EDMA.

    But the values of external memory is all zero, too.

    Could you explain about the buffer aliasing feature?

    It is not a familiar concept to me.

    Or do you mean owner switch between System and VCOP?

    It seems my Kernel C implementation has some bugs.

    If you want I can show the Kernel C, but I don't know how I can upload it on E2E page.

    Please let me know your email address then I will send the source to you.

  • Hi,

       Alias view is a special mode which allows EDMA or VCOP to access image buffer A or B through the same address space 0x4005 0000h – 0x4005 7FFFh. Which image buffer is accessed is controlled by the static buffer switch EVE_MSW_CTL.

       Can you first run your kernel in host emulation mode ( i.e. on PC) and see if it is generating the correct output?

    Regards,

    Anshu