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.

Something about the PCIE module on C6678 DSP used to communicate with a host PC

Hello everyone,

          I am a newbie and am starting out from scratch just trying to run and test a custom board on which there is one C6678 DSP(PG1.0). And the board is connected to a PC host whose operation system is windows 7. The  DSP is set as End-point mode,then the host serves as the RC role.

         In order to realize the communication between  DSP and PC via PCIE, I selected the PCIE example which is located in pdk_c6678_1_1_2_6 folder. After the program is loaded in DSP, I needs to restart the PC for enumerating the device.  Then by software WinDriver on PC side I can see the memory space PC distributes to DSP is as follows.

  Here are my questions:

1.In the PDK PCIE example, the BAR1 value is 0x70000000. From the above image, we can see that the value of BAR1 is the same as the one in the program. I think it means the PC does not allocate its PCIE bus address for  DSP. Is this right? Because after the translation steps are finished, I can not find the data in the translation address.Why? Can you give the detailed translation process or result? In the case, the IB_addr(HI) =0, IB_addr(LO)=0x70000000 ,the Offset=0x10820200.

2. If my guess is right in Questions 1, How to configure PCIE to let PC allocate correct PCIE bus address for DSP?

3.If not, that means PCIE  configuration process is right,  WinDriver has error, is another driver needed?

The library version I use is mcsdk_2_01_02_06, CCS 5.3 .

Hope someone helps. Thank you in advance.

Linc

Best Regards