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.

Question regarding UDP

Hi,

Thanks to your support, I have implemented HWI interrupts, clock and timers.

I think I have too much questions. But your help save me a lot of time.

I need your understanding. I can't get help from FAE.

I want to explain my project.

I am using ADC to read data from some sensors. And then I want to send ADC data to server using UDP.

I don't need any more protocols. I just open socket and send UDP to server.

Now, I am working on client_evmc6678l and helloworld_evmc6678l projects provided by MCSDK.

On E2E, I read that client_evmc6678l is using linux not sys/bios. Is it correct?

I want to use SYS/BIOS and send UDP not using linux.

When I checked client_evmc6678l project, configuration show that only NDK global is enabled.

Here is the capture for NDK Core Stack-System Overview,

For client_evmc6678l, there are functions, like TCP, UDP, ICMP.

But the above picture doesn't show green mark. Does it mean that all functions is enabled using C code not SYS/BIOS?

And is there simple project just for UDP?

Thanks in advance.

Baeyoung

  • Hi,

    On E2E, I read that client_evmc6678l is using linux not sys/bios. Is it correct?

    I want to use SYS/BIOS and send UDP not using linux.

    No, all the MCSDK examples are using SYS/BIOS and do not use any linux stuff.


    But the above picture doesn't show green mark. Does it mean that all functions is enabled using C code not SYS/BIOS?

    And is there simple project just for UDP?

    You can use that NDK "client" and "hello world" example SYS/BIOS code.

    You can send the either TCP or UDP packets. through ethernet MAC.

    You can use the following "windows apps" to test the UDP/TCP packets to/from send/receive, echo etc.,

    C:\ti\ndk_2_24_01_18\packages\ti\ndk\winapps

    Please refer to the spru523i.pdf document in "C:\ti\ndk_2_24_01_18\docs"

    Chapter 2.3.4.2, page no 32.
  • Dear Titus,
    I appreciate your prompt answer.
    Yes, I am working on client and hello world project.
    By the way, would you explain windows applications "send", "recv" and "testudp" located in winapp directory?
    There is no explanation how to use these application.
    on client project, I am using telnet connection.
    On EVM board, there is "echo" command. And this command is not working correctly.
    Do I need setup for "echo" command?
    Thanks in advance.
    Baeyoung
  • Hi,

    You have to use windows "command prompt" terminal to execute those apps with IP address which you got EVM board.

    Ex:

    <app> <EVM's IP address>

    helloWorld.exe 10.100.1.20

    send.exe 10.100.1.20

    recv.exe 10.100.1.20

    echoc.exe 10.100.1.20

  • Dear Titusrathinaraj,

    Thanks for your update.

    Already I did the same thing as you did. I opened dos command and excuted the command.

    I will delve into the codes. And if i have more quetion, I will come again.

    Thanks,

    Baeyoung