Hi,
I am porting the Linux Desktop to work on an ARM connected to a 6657 DSP EVM.
So far I could run the demo application in memcpy mode (using run_memcpytest.sh) without any problem (This uses DSP Region Mapped to BAR Regions). Which means that I can reset the DSP remotely, send the init code and the demo code and perform a file loopback test and the file result matched the one I sent. But it was not getting a very fast throughput.
Then I tried to run the DMA demo and I got many bus error so I gave up.
Finally I tried the test that uses the Host Mapping (using run_dspmaptest.sh) and it seemed to be successful since the test completed and it was a lot faster than the memcpy test but the resulting/output file was not matching the source. So I decided to troubleshoot it and went on the Emulator of Code Composer and started reading the PCIeData memory region to see what was wrong. I created a simple app on the Linux side that used the pciedrv API to create a Mapping. The problem is that sometimes the data is transfered sometimes it is not and even worst, sometimes the data appear in the emulator a few minutes after the fact.
Do you have any suggestion to make for me to fix this ?
Thank you