Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Getting LinkStatus by emac_pool() in 6657

$
0
0

Hi,
In EVMC6657, I want get Ethernet Link Status.
I call emac_poll(0, &link_info) from my task 1000msec interval (for printf logging, I extend interval from 100msec)

but
1. link_info.link_status_change is not zero every call.
2. link_info.link_status sometimes "0" although cable is connected.
    once about 10~20times.
    (I 've try change other hubs)
3. emac_pool sometimes returns nonzero(-9)
ping from host is echobacked everytime.

I can't understand this phenomenon.
the reason why I want know link status is, Once Link is down , networks stack stops echo back pings.
so, I intend to restart NC_NetStart() triggerd by link status.

Wold you mind giving me a help?
Thankyou.

Kazunori.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>