Creating Ethernet socket in RTCS stack

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Creating Ethernet socket in RTCS stack

1,209 Views
ashigupta
Contributor I


Hello,

I am using MCF54415 with MQX version 4.2 for my project. MCF54415 supports two hardware ethernet ports, however i want to have one more ethernet port for some specific reqirement. For this i am using external ethernet controller connected on SPI bus with MCF54415. To use RTCS stack for this port also i have done some modifications in BSP to use sento and recvfrom command same as used for ethernet 1 and 2. With these modification i am able to transmit and receive UDP packets on my Ethernet 3 port using RTCS stack. My requirement is to communicate to a PC based application on Ethernet. On Ethernet 3 which i have created using some modifications in BSP, i am able to connect my PC based application but as soon as i open port via application it starts sending ARP message rather than UDP message. When i connect same application on Ethernet 1 and 2, it works well. This shows that PC based application is working fine but as soon as i connect it to Ethernet 3 it doesnt work.

Did any one tried creating extra port in RTCS stack ?? Any suggestions for this issue ??

Labels (1)
Tags (2)
0 Kudos
Reply
1 Reply

928 Views
isaacavila
NXP Employee
NXP Employee

Hello,

Please note that BSP modifications are beyond the free support scope. The reason is that it is hard for us to find the root cause of these kind of problems if we cannot reproduce the issue on our own boards.

In your case it looks like you have made changes in RTCS transport layer (TCP/UDP), however, there could be something else that must be modified in lower layers that is causing the ARP mesagges to be received on your PC application, so basically, as ARP is a Data Link layer protocol you will need to debug the stack on lower layers.

Regards,

Isaac

0 Kudos
Reply