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 PCIe to PC interface confusion

Other Parts Discussed in Thread: TMDXEVMPCI

Hello all,

I had the following conversation with a DSP suport member from Advantech but didn't work (and made no sense!)...any comments?

########################################################################################################

Hello all,

we are trying to get Xilinx Spartan6 EVM (SP605) to communicate with C6678 EVM (with TMDXEVMPCI (http://www.ti.com/tool/TMDXEVMPCI)) but no luck. so plan B is to try to connect each individually to PC. We successfully connect SP605 to a pc running Windows XP and used a program called "pcitree" on the pc side to communicate with the Xilinx board. We would like to do the same thing between the C6678 EVM and a pc. I tried the pcie example that comes with the MCSDK as a RC and EP, but never passed the "link is up"

/* Wait for link to be up */
pcieWaitLinkUp(handle);

System_printf ("Link is up.\n");

What do I need to get this running and what PC side program should I use to test the connection?

Regards,
Murad

DSP Tech Support
Hi Murad,
Did you power cycle the PC to have 6678EVM re-enumerated? If you reboot the PC, Link Training will be disconnected.
Please note that you should use pcie mode to boot the EVM, and configure 6678EVM as EP and PC as RC to run pcie_example.

Regards.
Yves


MQahwash
Thank you Yves for your reply. I am not trying to boot from PCIe. The pcie example uses AMC to PCIe adaptor to connect 2 C6678 EVMs and uses the emulatorto download the code to the 2 EVMs. I need to do the same experiment but by plugging the EVM to a PC. So I am using emulator to download the code (EMIF/NO boot). can I do so on PC with windows 7 and what program to run on the PC to monitor the PCIe?

Regards,
Murad


DSP Tech Support
Hi Murad,

Do you use AMC to PCIe Adapter Card like this:http://www.ti.com/tool/tmdxevmpci
You should use pcie mode to boot the EVM since you insert the EVM into PCIe slot. The program can be downloaded via emulator when you use pcie mode.
If you use NO boot mode, the pcie link training will never connect to PC.
Please let me know if I still misunderstanding.

MQahwash
Good morning Yves,
Yes I am using this pcie adaptor. Before I try booting from pcie I have a question: if I have to boot from pcie for the link, how can I load my SW from external EEBROM. I am ONLY using the pcie to interface with the FPGA

Regards,
Murad Qahwash, PhD, MBA, SIEEE


________________________________________


DSP Tech Support
Hi Murad,

>>if I have to boot from pcie for the link, how can I load my SW from external EEBROM
You should load the program via CCS and emulator since your platform is windows system.

1. Set the board to boot form PCIE boot mode
2. Connect on-borad emulator to your host
3. Power-on the EVM
4. Connect target core 1 and load pcie_example program
5. Resume the program and you will see the message "Link is up" on console

In Linux, TI provides Desktop Linux SDK to load the program via pcie interface.

In addition, you should install EVM6678L/LE with AMC to PCIe Adapter Card on PCIe slot.

Regards.
Yves