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.

Ethernet 6678 send data to pc by TCP protocol

Hi

I have one problem. I need do send data from DSP 6678 to my pc using TCP. I developed one app in Cbuilder to receive data using one IP and one port.

I´m trying to use the paExample in \pdk_C6678_1_1_2_6. So what i need to change to receive this package?

Nivaldo

  • Hi,
    Please download and install the MCSDK 02_01_02_06 package.
    software-dl.ti.com/.../index_FDS.html

    C:\ti\pdk_C6678_1_1_2_6\packages\ti\drv\exampleProjects\PA_simpleExample_exampleProject

    Change the code from loopback.
    cpswLpbkMode

    Int cpswLpbkMode = CPSW_LOOPBACK_NONE;
  • Hi Titus

    Thank´s to answer my question,

    In my ccs i have this version to MSCDK and i´m already using this example.

    Im my cbuilder RAD Studio XE6 i made two aplication to receive data (TCP and UDP) just to see what i can use.
    But i´m having problem i´m not receiving anything. I realy no what i doing wrong.

    in XE6 i have setup only IP like 127.0.0.1 and port 12000
    in ccs I have changed the pktMatch to

    pktMatch[] = {
    0x7f, 0x00, 0x00, 0x01, /* Source IP address 127. 0 .0.1*/
    0x2E, 0xE0, // , dest port 12000
    0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 /* 8 bytes of payload data
    }
    just to test.

    maybe my app is not working fine. Is there any app external to receive this data?

    Regards
    Nivaldo
  • Hi Titus

    Thank´s to answer my question,

    In my ccs i have this version to MSCDK and i´m already using this example.

    Im my cbuilder RAD Studio XE6 i made two aplication to receive data (TCP and UDP) just to see what i can use.
    But i´m having problem i´m not receiving anything. I realy no what i doing wrong.

    in XE6 i have setup only IP like 127.0.0.1 and port 12000
    in ccs I have changed the pktMatch to

    pktMatch[] = {
    0x7f, 0x00, 0x00, 0x01, /* Source IP address 127. 0 .0.1*/
    0x2E, 0xE0, // , dest port 12000
    0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 /* 8 bytes of payload data
    }
    just to test.

    maybe my app is not working fine. Is there any app external to receive this data?

    Regards
    Nivaldo