Hi:
I am trying to make a FPGA(with SRIO IP core) and DSP (C6455 DSK board) connection.
After successful initializaiton, FPGA is using NWRITE to write 8 bytes to DSP at the location 0x00900100. However, on DSP side, I could never see the data I expect.
DSP is with ID as 0002.
In the following is a brief description of the package format sent by FPGA.
Here is the Header/Payload data FPGA will be sending to the DSP.
PRIO = 2
TT = 1
FTYPE = 5
destID = 2
sourceID = 1
trans = 0
size = Bh
TID = 0
Ext address = 0
Address = 900100h
wrPtr = 0
xamsbs = 0
payload = 91B54CB2 13A886AAh
The IO_logical.pdf from the SRIO website explains how to figure out the wrsize and wrptr based on how many bytes are in the packet. Based on a payload of 8 bytes, the table says wrsize = 0b1011 and wdptr = 0b0, so that is what I am using in this packet.
On the DSP side, I checked the Port Error and Status CSR after FPGA issued the transmit and I found bit 2 (PORT_ERROR) was set to be 1.[Input or output port has encountered an error from which hardware was unable to recover. Once set, remains set until written with a logic 1 to clear.] In the Logical/Transport Layer Error Detect CSR, I also found 27 (ILL_TRANS_DEC) was set to be 1. [Received illegal fields in the request/response packet for a supported transaction (IO/MSG/GSM ODE logical) (switch or endpoint device). Write 0 to clear.]
I am wondering if it is because there is some incorrect setting for the above package. Or is there any other informaiton or method which can help me to diagnose why the data transmiting fails.
Thank you very much,