We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I'm using the RL-ARM with the TCP rutines in my embedded project. My project works fine. The user read data using TCP and also can use HTTP to surf my web page.
But..after some times (can be days) the switch that connect to the network stop working and the user can't get to my unit. If I connect a laptop directlly to the unit it can get data - so its a switch (hub) problem.
Some network people told me that the today's switches can see if the data is from a pc and if not it disconnect the port for security reason. They also told me that a normal pc sends every few minutes an "alive" command (maybe ARP) and the switch can understand that the unit that is connected is a "real" unit.
Using the RLARM I can't force a wakeup ARP.
Any help?
Thanks, Doron
If you are using a network with a DHCP connection, the server may have a predefined timeout for the address allotted. Regardless of whether you ping or not is irrelevant. If, for example, the DHCP has a two day maximum for the address, you will be disconnected.
See more here: support.novell.com/.../anz20000301.html
I have tested it in different networks and it's always the same (with or without DHCP).
With TCPnet V3.80 it works fine, no problems! Problems started with TCPnet V4.0x!
Hi, I think the term for the problem that I have is : Gratuitous ARP.
I notice that Keil just release the RL-ARM 4.10 with this solution.
Doron
I've just ported my project to mdk04.10 and rl04.10. I'll do my tests and post my results.
I've enbled 'Send Notification on Address changes'. I still have the same problems. What about you Doron?
I still have the same problem. I think one of the option is to change evry few minures the IP (and return it to the original) just to force for the gratitues Arp. I'm going to check it...
I've just ported my project to mdk04.10 and rl04.11. I still have the problems. What about you Doron?
Hi, I Notice that the ping is working while the HTTP stop to response. I run the Init_TcpNet function and it solve the "halt" problem. So - I check in my software if I have HTTP working - and if it stops for 10 minutes I run the "Init_TcpNet" and it works for me for few days now..