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.

RTOS/TM4C1294NCPDT: tcpEcho example ETHERNET

Part Number: TM4C1294NCPDT

Tool/software: TI-RTOS

Respected sir,

I am trying to implement tcpEcho_TivaTM4C1294NCPDT for TI-RTOS. I am getting the following message in console and i am stuck here. I dont know what to do next.

ss in flash
Starting the TCP Echo example
System provider is set to SysMin. Halt the target to view any SysMin contents in ROV.
Service Status: DHCPC    : Enabled  :          : 000
Service Status: DHCPC    : Enabled  : Running  : 000

1. So please tell me how to proceed.

2 Also please explain how to use <tirtos_install_dir>\packages\examples\tools\tcpSendReceive for data transmission and reception ??

regards,

digvijay

  • Did you connect your board to the LAN? It is supposed to acquire a DHCP IP address from your DHCP server on your network. You should see something like below printed on the console. Your DHCP server will lease you an IP address. Note your IP address may not be the same as mine. 

    System provider is set to SysMin. Halt the target to view any SysMin contents in ROV.
    Service Status: DHCPC : Enabled : : 000
    Service Status: DHCPC : Enabled : Running : 000
    Network Added: If-1:10.219.15.9
    Service Status: DHCPC : Enabled : Running : 017

    Once you know the IP address then you will go to your PC command window and type 

    >tcpSendReceive 10.219.15.9 1000 1 -s100

    and you will see messages such as the following begin to appear on the terminal window when a TCP packet has been echoed back.

  • Respected sir,

    i have connected my board to PC through ethernet. Is it necessary to connect it to LAN network??

    regards ,

    digvijay

  • Hi,
    Do you mean you connect the board directly to your PC?

    You need to connect both your PC and the board to the same network. If you are working from home then you should have some type of router and the back of the router will normally have a few ethernet ports. You need to connect your PC and the board to those ethernet ports on the back.