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.

Testing Ethernet on AM437x SDK

Other Parts Discussed in Thread: SYSBIOS

Hi,

I want to test ethernet test application provided with AM437x SDK. For this, I loaded tcp echo application in CCS.

On hyperterminal,I can see that application performs phy configuration and IP acquisition and also an ip address is announced.

Now i want to run the enet client code from Windows PC.

The path for enet client code is mentioned below.

C:\ti\am437x_sysbios_ind_sdk_2.0.0.1\sdk\starterware\tools\enet_client

On the SDK user manual, it is mentioend to follow instructions under host_apps/enet_client. in that path on the readme text the following instructions were mentioned.

1. Copy client.c and data.txt to the linux host machine.

2. Compile the client program                $gcc client.c -o client

3. Run the executable                $./client  <ip-address-announced-by-the-server>

In the above mentioned steps, what is data.txt file?

Also how can we run this application from a windows PC?

 

 

  • Jinu,

    I don't think you need the data.txt file to compile the executable. The requirement for data.txt in the readme is misleading, so I will take it up internally to remove this. Might have been an artifact from a previous version.

    Thank you for bringing this to our attention.

    You should be able to compile the project using:

    $ gcc client.c -o client

    and run:

    $./client <ip address>

    Below is what I observed on wireshark.

    In order to get this to work on windows, you may have to use Cygwin. Files such as sys/socket.h seem to be Unix/Linux related so you will have to include the Windows equivalent of these files and modify the program to run on windows instead.

    Lali