Creating Ethernet socket in RTCS stack

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Creating Ethernet socket in RTCS stack

1,212 次查看
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 ??

标签 (1)
标记 (2)
0 项奖励
回复
1 回复

931 次查看
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 项奖励
回复