Hi Andrey,
It's been over a month I have the same problem between 2 DSP C6678 usign a Switch IDT, but I have not found the solution to read data.
Please if you can give me more detailed about solusion.
Thanks,
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.
Hello all.
I'm having problem with PCIe Read Memory Request.
My configuration setting:
C6678 is Root Complex and FPGA (Virtex-6) is End Point;
Reference clock frequency 100MHz;
Number of lanes x1;
BAR[1:0] - 64 bit, 2 Kbytes;
BAR[2] - 32 bit, prefetchable, 2 Kbytes;
Outbound translation is enable;
I'm just trying to Write/Read 1 dword to/from FPGA by C6678.
1. I'm writing data (0xFACEFACE) to Addr:0x60000004 - OK (I saw this transaction on FPGA endpoint interface);
2.Then, I am reading data from Addr:0x6000004 and the result is wrong.
But I saw on FPGA PIPE_TX interface completion header with data I expect:
FB 00 7A
4A 00 80 01 (Fmt | Type = 4A - Completion with data, Lenght = 1 dword)
00 00 00 04 (Completion ID = 00, Byte count = 4)
00 00 1A 04 (Request ID = 00, Tag = 1A, Lower Address = 04)
FA CE FA CE (data)
What kind of thing will cause problem ?
How can I verify, that C6678 receive this completion header and where can I find return data for my request?
Tnank You,
Andrey B.
Hi Andrey,
Are you using TI provide MCSDK PCIe example project or customized code?
In TI PCIe example code flow:
- RC sends data to EP
- EP waits to receive all the data
- EP sends the data back to RC
- RC waits to receive all the data
you follow the same flow in your FPGA code.
Thanks,
I resolved my problem.
http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/155435.aspx
Hi Andrey,
It's been over a month I have the same problem between 2 DSP C6678 usign a Switch IDT, but I have not found the solution to read data.
Please if you can give me more detailed about solusion.
Thanks,
Regards,
Zakaria