Hi,
I'm user of TI 6670. I tried to run "SRIO_LoopbackDioIsrexampleproject" in pdk_C6670_1_0_0_17 folder. It works well onL2SRAM but once I change L2 to DDR3 it doesn't work.
/* Populate the DIO Address Information where the data is to be sent. */
to.dio.rapidIOMSB = 0x0;
to.dio.rapidIOLSB = (uint32_t)&dstDataBufPtr[srcDstBufIdx][0];
to.dio.dstID = DEVICE_ID4_16BIT;
to.dio.ttype = dio_ttype;
to.dio.ftype = dio_ftype;
/* Send the DIO Information. */
if (Srio_sockSend_DIO (srioSocket[sockIdx], srcDataBufPtr[srcDstBufIdx], SIZE_DIO_PACKET, (Srio_SockAddrInfo*)&to) < 0)
{
System_printf ("Debug(Core %d): DIO Socket Example Failed\n", coreNum);
return -1;
}
When dio_ttype is "Srio_Ftype_WRITE" there is no problem for DDR3. but when dio_ttype is "Srio_Ftype_REQUEST", all contents of dstDataBufPtr are always 0s.
I read previous Q&A (http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/215645.aspx) similar to this problem. but I want to know how to solve this problem in detail.
Thanks,
Youngjo