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.

c6678 linux sdk filetest demo edma error

Hello, 

I am trying to develop a system involving TI C6678 multicore processor connected to linux PC via PCIe. I came across an example called 'filetest demo' provided in desktop linux sdk. However, system freezes when I try to do DMA from DSP -> linux PC. When system freezes, nothing works and we need to reboot the system. 

I found out that reading file in linux PC and transfer to DSP / writing file in linux PC that gets data from DSP uses same function which is do_dsp_dma. It is pretty strange when DMA to DSP works fine but DMA from DSP to linux PC, the PC freezes.  When I disable DMA from DSP to linux PC, linux PC does not freeze.  

I have been trying to debug this phenomenon over a week now however I got no clue at all. 

Anybody has a clue or a solution to the problem I have? 

Yours Truly, 

Peter