Hi,
I am using the RL-TCPNet library for TCP/IP implementation and I am having a few problems as mentioned below.
1. TCP/IP using Cross over Ethernet Cable- When I use the Cross over ethernet cable I am having no problems communicating with my board from the PC. (PC-Client, Board-Server). The board is configured as a Server with keep alive timeout of 120 seconds. This works just fine with no problems at all.
When I use a straight cable including a Hub, I notice that the board does not respond to any requests. At times I am able to connect to the board but immediately the board stops responding. The only change that I have done is
1. Replaced the cross over with a cable from PC to hub and hub to to the board. Is there any configuration change that I need to make?
I have DHCP and DNS disabled, because I am using static IP and no names.
Thanks!
Kailash
Sounds like a typical PHY configuration problem.
Hi IB Shy,
Thank you for your response. I am thinking it could be a PHY configuration issue as well. I ran a straight cable between the PC and the board without the hub and it still would not work. It almost looks like the Auto MDI/MDIX is not working properly.
I appreciate your prompt response.
Does your chip have auto detect for straight or cross-over cable?
You didn't specifically say if you used a cross-over or straight cable when you used the hub.
A cross-over cable between PC and target should not require any auto-detect. And a straight cable when connecting to a switch shouldn't require any auto-detect.