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.

pcie interface in 6670

Hi,

  As per the link
>http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/155435.aspx?pi267198=1  I have used pcie init code provided. I am able to do enumeration but unable to do data transfer in the setup where I connected two 6670 evms connected using breakout connector. I am able to see the link up. I am getting vendor id and device id. But unable to do data transfer. In line 1231, I am unable to write data to pciebase.   Also I have uncommented the line 1002              epcfg [5]=0x70000000;(outbound address of rc=0x70000000). But when I read the memory address 0x21802014, I am getting 70000008? (I am accessing ep bar 1 from rc side ). Why is it so? Is it the latest code or I have to do some modifications for the data transfer between two EVMS. According to the link,I guess you are able to do data transfers between two EVMs. Please help me out.

Thanks and regards,

Nithin B

  • Hi Nithin, 

    You were referring to very old thread.

    Please download and use the latest MCSDK released for C6670. Please refer the PCIe driver and example available in the PDK directory. 

    PATH: ..\pdk_C6670_1_1_2_6\packages\ti\drv\pcie\example\sample

    I hope this helps. Please post us for further followup.

    MCSDK: http://software-dl.ti.com/sdoemb/sdoemb_public_sw/bios_mcsdk/latest/index_FDS.html

    Thanks.

  • Hi,

    Thanks for the reply. First,I used the latest pdk_C6670_1_1_2_6\pcie example project. I was able to do data transfer. But there is no enumeration concept there. The pcie_init code provided in the link has enumeration. I want to make data transfer using pcie_init code (enumeration concept).  Please provide the latest code having enumeration.

     

    Thanks

  • We don't have code for enumeration. The PCIE example project configure the RC and EP seperatedly.

    Regards, Eric

  • Hi Eric,

         Thanks for the reply.  The link provided here http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/155435.aspx?pi267198=1 has pcie_init code which is having enumeration. According to that post they are able to do data transfer between two evms after enumeration. I am able to do enumeration but unable to do data transfer. I am able to see the link up. I am getting vendor id and device id. But unable to do data transfer. In line 1231, I am unable to write data to pciebase.   Also I have uncommented the line 1002              epcfg [5]=0x70000000;(outbound address of rc=0x70000000). But when I read the memory address 0x21802014, I am getting 70000008? (I am accessing ep bar 1 from rc side ). Why is it so? Is it the latest code or I have to do some modifications for the data transfer between two EVMS. According to the link,I guess you are able to do data transfers between two EVMs. Please help me.

    Thanks and Regards,

    Nithin B

    Thanks and regards,

    Nithin B