This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RLARM TCP : Switch Hub Halts

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

Parents
  • 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

Reply
  • 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

Children