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.

Who can explain the data flow of demo_filetest in linux desktop sdk?

Hi,all:

As I know,demo_filetest explain a example that PC linux host transfer data to DDR in

6678EVM ,then c6678 receive the data from pc linux host ,then 6678 transfer data from

DDR to pc linux host.

Simple to say,it include two main steps :

  1. pc to dsp

how pc transfer data to dsp ddr? what'are the details?

Does it use outbound address translate or inbound address as to pc RC side?

I believe it belongs to outbound address translation from pc side.True?

How pc x86 linux host transfer data via pcie from user space buffer to the place or DDR

where DSP 6678 can access ?

Does it like this:

1. copy data from linux user space buffer to kernel space buffer

2.copy data from linux kernel space buffer to pcie data space(from 0x6000 0000)

3.if 1,2 success,the data will be ready in the ddr of c6678.

     2.dsp to pc

The same questions like above.what's the details?

Does it use inbound address translation or outbound address translation as to DSP ?

I believe it belongs to outbound address translation from the view of DSP.true?

How DSP transfer data via pcie from 6678's DDR to the place where pc linux host can

access?

Please ti experts to reply my question one by one.

I just know that pc and dsp communicate with each other or transfer data from/to

each other via pcie,but I need more details to explain how pcie works? what's the role of

pcie? I just have read the source code in linux desktop sdk,but I don't understand quite very

well.

Any help will be appreciated.

Thanks!