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
Hi Doron
I have that problem too. Connection over tcp is not stable. I have tested it in different networks and it's always the same.
I'm using: - ARM ATSAM7x256 as server - PHY DM9161A - TCPnet - RTX - TCP with one port - PC as client (xp, vista, win7...)
When I connect my PC with the ARM over network the connection stops, sometimes after a few seconds and sometimes after a long time. After that I'm able to reconnect my PC with ARM.
When I connect my PC with the ARM without a network it works fine.
With network sniffer I'm able to see: The connection problems appears together with multicast telegram from any network devices (router, switch...).
That fore I deactivated multicast capability in den EMAC_SAM7X.c and now it works fine.
What if I need the multicast capability?
I'm waiting for help from Keil.
Stefan
Note that this is not the place to request help from Keil!
See: http://www.keil.com/forum/ - specifically, the 1st bullet point under Note:
I've started a technical support request two weeks ago.
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..