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.

tcp EVMC6678

Hi

I want make a project that have TCP connection and DSP work as client, after that I want use openmp in my code.

So at first I ran "C:\Program Files\Texas Instruments\mcsdk_2_01_02_05\demos\image_processing\openmp\evmc6678l" project, Next I modified it to have TCP connection via sockets.

I put TaskCreate() in NetworkOpen() and assigned a sample code from "SPRU523h.pdf, page:55, part:3.4 " to TaskCreate() function.

When I run the program, when program received to connect() function an error occurred and program jumped out!!

Does it have relation to my ndk version(compatibility between used packges)? (CCS:5.2, CGT: 74.0, omp:1_01_03_02, ndk:2_21_01_38, XDCtool:3_23_4_60)

Can you suggest a way to me?

Regards

  • Hi,
    Either you can copy the code from OpenMP project to client NDK example or NDK client code to OpenMP project and then modify the *.cfg file accordingly.

    Able to compile successfully after you combined those projects ?
  • Hi
    Yes, I can but as I mentioned when the program wants run the connect() function an error occure!
    Is it possible the version of my xdctools isn't compatible with ndk?(ndk:2_21_01_38, XDCtool:3_23_4_60)

    I tolled that because some weeks before when I build and run "image_process_omp" project when the programs wanted to run cfgnew() function, an error occurred but when I ran the client project this function worked in it, at end after several days I found out the solution. I chenged my CGT version and all the problem solved!!


    Regards
  • Hi,

    Is it possible the version of my xdctools isn't compatible with ndk?(ndk:2_21_01_38, XDCtool:3_23_4_60)

    I hope it should work since its compatible with "XDCtools 3.22.03.41" so it should compatible XDCtool:3_23_4_60 as well.
    Please check the release notes of NDK 2_21_01_38.
    C:\ti\ndk_2_21_01_38\ndk_2_21_01_38_ReleaseNotes.html

    I will also try the NDK 2_21_01_38 with XDCtool:3_23_4_60 and let me update.


    I tolled that because some weeks before when I build and run "image_process_omp" project when the programs wanted to run cfgnew() function, an error occurred but when I ran the client project this function worked in it, at end after several days I found out the solution. I chenged my CGT version and all the problem solved!!

    Your problem got solved ?