Simon Conway(deleted)
|
simple ping using bsp mx53 driver
|
Simon Conway(deleted)
05/30/2013 9:28 AM
post101876
|
simple ping using bsp mx53 driver
Hi,
I am attempting to do a simple ping between my PC and our platform running QNX 6.5.0 without any success.
After boot I am doing the following.....
#io-pkt-v4 -d mx53 mac=xxxxxxxxxxxx,verbose=10
#ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
inet 127.0.0.1 netmask 0xff000000
fec0: flags=8a02<BROADCAST,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
address: 00:04:9f:cc:9a:b5
media: Ethernet none
# ifconfig fec0 192.168.128.161
# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
inet 127.0.0.1 netmask 0xff000000
fec0: flags=8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
address: 00:04:9f:cc:9a:b5
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.128.161 netmask 0xffffff00 broadcast 192.168.128.255
# ping 192.168.128.1
PING 192.168.128.1 (192.168.128.1): 56 data bytes
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
----192.168.128.1 PING Statistics----
11 packets transmitted, 0 packets received, 100% packet loss
# nicinfo
fec0:
IMX 51 FEC Ethernet Controller
Physical Node ID ........................... 000000 000000
Current Physical Node ID ................... 00049F CC9AB5
Current Operation Rate ..................... 100.00 Mb/s full-duplex
Active Interface Type ...................... MII
Active PHY address ....................... 0
Maximum Transmittable data Unit ............ 1500
Maximum Receivable data Unit ............... 1500
Hardware Interrupt ......................... 0x57
Memory Aperture ............................ 0x9f00000000 - 0x63fecfff
Promiscuous Mode ........................... Off
Multicast Support .......................... Disabled
Packets Transmitted OK ..................... 6
Bytes Transmitted OK ....................... 384
Broadcast Packets Transmitted OK ........... 6
Multicast Packets Transmitted OK ........... 0
Memory Allocation Failures on Transmit ..... 0
Packets Received OK ........................ 8
Bytes Received OK .......................... 536
Broadcast Packets Received OK .............. 0
Multicast Packets Received OK .............. 0
Memory Allocation Failures on Receive ...... 0
Late Collision on Transmit errors .......... 0
Transmits aborted (excessive collisions) ... 0
Transmit Underruns ......................... 0
Receive Alignment errors ................... 0
Received packets with CRC errors ........... 2
Packets Dropped on receive ................. 0
Ethernet Header length field mismatches .... 0
Oversized Packets received ................. 0
Short packets .............................. 0
Invalid Symbol Errors ...................... 0
Total Frames experiencing Collison(s) ...... 0
As far as I can tell this all looks good apart from the CRC errors. Would this prevent a successful ping?
Packets are being sent and received according to nicinfo.
I also try from the PC side and get 100% packet loss as well.
Is there anything I have missed in the above or is there something else I could try?
Thanks
Simon
|
|
|