Other Parts Discussed in Thread: C2000WARE, TMS320F28388D
Hi
I am new to TMDSCNCD28388D . Please help me how can i run the ethernet example ?
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.
Hi
I am new to TMDSCNCD28388D . Please help me how can i run the ethernet example ?
Hi,
There are multiple types of ethernet examples. Please refer to the document C2000Ware_3_04_00_00\libraries\communications\Ethernet\docs\Ethernet_Examples_Guide.pdf in C2000Ware.
You would have to first load the C28x CPU with cm_common_config project and then any of those ethernet examples can be run on CM(Cortex M).
Regards,
Yashwant
I have studied the cm-common config.c but after when i run any other project then the common project.c will close.
how can I run both projects at the same time?
Also, till now I have only used C2000family processors, How to run those examples in cm(cortex m).
You would have to open a debug session for 1 project (lets say for cm_common_config). After the binary is loaded into C28x Core.
Right click on the cm4 and click connect.
After connecting to CM right click on it and select load and select the CM4 binary that you would want to load on the cortex m4.
This way both the cores must be having a binary loaded.
If I connect according to your mentioned procedure then enet_lwip.out (in flash) file is displayed while loading the project and I'm able to run it.
But when i connect the basic MAC loopback project [in CM_RAM active] , the .out file is missing in load and not able to connect and run this project.
Make sure the project is built first.
Only after that the binary file can be selected in the load dialog box.
To configure ethernet ip address please refer to stack based examples such as enet_lwip example at <C2000Ware>/libraries\communications\Ethernet\third_party\lwip\examples
While connecting that example with Hercules software I need a port address with the ip address and not able to find that port address.
can you tell me from where I get that port address?
And also the ip address which is mentioned in that example is not visible in cmd window.
The device ip address is configured to 192.168.0.4. please refer to the readme.txt provided for enet_lwip example.
While running the program , ping time out has been appeared and connectivity is not made properly.
The error is shown below
C:\Users\DELL>ping 192.168.0.4
Pinging 192.168.0.4 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.0.4:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\Users\DELL>ping 192.168.00.04
Pinging 192.168.0.4 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.0.4:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
May I ask what might happen?
Has the ip address of your laptop configured to same sub network. 192.168.0.3
Can you clarify on what port number are you referring to? Example uses default http port.
Hi all,
Our company is working on ethernet module on TMS320f28388d microcontroller. We are trying to use enet lwip module to send and receive the data between the controller and application in pc. For reference following are the steps taken so far in the process: -
Step 1. We have taken two example projects: - Ethernet_c28_config project and enet_lwip project.
Step 2. We first debug cm_common_config file and then the other one.
Step 3. By using cmd window and Hercules.exe tool we were able to ping and establish the connection.
Step 4. The same is also verified by using http webserver.
Step 5. Now we want to send and receive the data, but we don’t know in which buffer we can write or read the data from. Also, we can see some random data coming in watch window in ethernet_rx_buffer.
Step 6. To try out communication we try to use IPC send command in cm_common_config file and tried its communication with ethernet_ipc_ex1_basic_cm, the pass flag variable is raised, confirming that IPC is acknowledging, but we are unable to see any data we have send in both watch window and Hercules app.
Kindly rectify the problem and guide us how to start data transmission between controller and app and which buffers we need to modify, and how to see our data in watch window.
Also tell us , how to do socket programming through enet_lwip.
Thanks & Regards