Testing ENC28J60 on NuttX

ABCDF
netdev_register: Registered MAC: 00:00:00:00:00:00 as dev: eth0
arm_netinitialize: Bound SPI port 1 to ENC28J60 device 0
nsh_telnetstart: Starting the Telnet daemon
netdev_ifr_ioctl: cmd: 1813
netdev_ifr_ioctl: cmd: 1794
netdev_ifr_ioctl: cmd: 1796
netdev_ifr_ioctl: cmd: 1800
netdev_ifr_ioctl: cmd: 1818
enc_ifup: Bringing up: 192.168.0.16
enc_reset: WARNING: Reset
enc_reset: Rev ID: 06
enc_pwrfull: Clear PWRSV
Nutelnetd_daemon: Accepting connections on port 23
ttShell (NSH) NuttX-10.4.0
nsh> enc_irqworker: EIR: 10
nsh> ifconfig
netdev_ifr_ioctl: cmd: 1819
netdev_ifr_ioctl: cmd: 1819
netdev_ifr_ioctl: cmd: 1819
netdev_ifr_ioctl: cmd: 1819
eth0 Link encap:Ethernet HWaddr 00:e0:de:ad:be:ef at UP
inet addr:192.168.0.16 DRaddr:192.168.0.1 Mask:255.255.255.0
         IPv4   TCP   UDP  ICMP
Received 0000 0000 0000 0000
Dropped 0000 0000 0000 0000
IPv4 VHL: 0000 Frg: 0000
Checksum 0000 0000 0000 ----
TCP ACK: 0000 SYN: 0000
RST: 0000 0000
Type 0000 ---- ---- 0000
Sent 0000 0000 0000 0000
Rexmit ---- 0000 ---- ----
nsh> ping 192.168.0.1
PIsendto_eventhandler: flags: 4000
sendto_eventhandler: Send ICMP request
sendto_request: Outgoing ICMP packet length: 84 (84)
sendto_eventhandler: Resuming
enc_txpoll: Poll result: d_len=84
arp_out: ARP request for IP 0100a8c0
enc_transmit: Sending packet, pktlen: 42
NGenc_irqworker: EIR: 08
enc_txpoll: Poll result: d_len=0
1enc_irqworker: EPKTCNT: 01
9enc_pktif: Receiving packet, nextpkt: 0046 pktlen: 64 rxstat: 00c0
2enc_rxdispatch: ARP packet received (608)
arp_arpin: ARP reply for IP .1000a8c0
168.0.1 56 bytes of data
Nosendto_eventhandler: flags: 4000
sendto_eventhandler: Send ICMP request
sendto_request: Outgoing ICMP packet length: 84 (84)
sendto_eventhandler: Resuming
enc_txpoll: Poll result: d_len=84
enc_transmit: Sending packet, pktlen: 98
reenc_irqworker: EIR: 08
senc_txpoll: Poll result: d_len=0
penc_irqworker: EPKTCNT: 01
oenc_pktif: Receiving packet, nextpkt: 00b2 pktlen: 102 rxstat: 00c0
nsenc_rxdispatch: IPv4 frame
eicmp_poll_eventhandler: flags: 0002
icmp_datahandler: Buffered 81 bytes
ficmp_readahead: Received 64 bytes (of 81)
rom 192.168.0.1: icmp_seq=0 time=1000 ms
56 bytes from 192.168.0.1: icmp_seq=1 time=40.0 ms
sendto_eventhandler: flags: 4000
sendto_eventhandler: Send ICMP request
sendto_request: Outgoing ICMP packet length: 84 (84)
sendto_eventhandler: Resuming
enc_txpoll: Poll result: d_len=84
enc_transmit: Sending packet, pktlen: 98
enc_irqworker: EIR: 08
enc_txpoll: Poll result: d_len=0
enc_irqworker: EPKTCNT: 01
enc_pktif: Receiving packet, nextpkt: 011e pktlen: 102 rxstat: 00c0
enc_rxdispatch: IPv4 frame
icmp_poll_eventhandler: flags: 0002
icmp_datahandler: Buffered 81 bytes
icmp_readahead: Received 64 bytes (of 81)
56 bytes from 192.168.0.1: icmp_seq=2 time=40.0 ms
sendto_eventhandler: flags: 4000
sendto_eventhandler: Send ICMP request
sendto_request: Outgoing ICMP packet length: 84 (84)
sendto_eventhandler: Resuming
enc_txpoll: Poll result: d_len=84
enc_transmit: Sending packet, pktlen: 98
enc_irqworker: EIR: 08
enc_txpoll: Poll result: d_len=0
enc_irqworker: EPKTCNT: 01
enc_pktif: Receiving packet, nextpkt: 018a pktlen: 102 rxstat: 00c0
enc_rxdispatch: IPv4 frame
icmp_poll_eventhandler: flags: 0002
icmp_datahandler: Buffered 81 bytes
icmp_readahead: Received 64 bytes (of 81)
56 bytes from 192.168.0.1: icmp_seq=3 time=40.0 ms
sendto_eventhandler: flags: 4000
sendto_eventhandler: Send ICMP request
sendto_request: Outgoing ICMP packet length: 84 (84)
sendto_eventhandler: Resuming
enc_txpoll: Poll result: d_len=84
enc_transmit: Sending packet, pktlen: 98
enc_irqworker: EIR: 08
enc_txpoll: Poll result: d_len=0
enc_irqworker: EPKTCNT: 01
enc_pktif: Receiving packet, nextpkt: 01f6 pktlen: 102 rxstat: 00c0
enc_rxdispatch: IPv4 frame
icmp_poll_eventhandler: flags: 0002
icmp_datahandler: Buffered 81 bytes
icmp_readahead: Received 64 bytes (of 81)
56 bytes from 192.168.0.1: icmp_seq=4 time=40.0 ms
sendto_eventhandler: flags: 4000
sendto_eventhandler: Send ICMP request
sendto_request: Outgoing ICMP packet length: 84 (84)
sendto_eventhandler: Resuming
enc_txpoll: Poll result: d_len=84
enc_transmit: Sending packet, pktlen: 98
enc_irqworker: EIR: 08
enc_txpoll: Poll result: d_len=0
enc_irqworker: EPKTCNT: 01
enc_pktif: Receiving packet, nextpkt: 0262 pktlen: 102 rxstat: 00c0
enc_rxdispatch: IPv4 frame
icmp_poll_eventhandler: flags: 0002
icmp_datahandler: Buffered 81 bytes
icmp_readahead: Received 64 bytes (of 81)
56 bytes from 192.168.0.1: icmp_seq=5 time=40.0 ms
sendto_eventhandler: flags: 4000
sendto_eventhandler: Send ICMP request
sendto_request: Outgoing ICMP packet length: 84 (84)
sendto_eventhandler: Resuming
enc_txpoll: Poll result: d_len=84
enc_transmit: Sending packet, pktlen: 98
enc_irqworker: EIR: 08
enc_txpoll: Poll result: d_len=0
enc_irqworker: EPKTCNT: 01
enc_pktif: Receiving packet, nextpkt: 02ce pktlen: 102 rxstat: 00c0
enc_rxdispatch: IPv4 frame
icmp_poll_eventhandler: flags: 0002
icmp_datahandler: Buffered 81 bytes
icmp_readahead: Received 64 bytes (of 81)
56 bytes from 192.168.0.1: icmp_seq=6 time=40.0 ms
enc_irqworker: EIR: 40
enc_irqworker: EPKTCNT: 01
enc_pktif: Receiving packet, nextpkt: 0314 pktlen: 64 rxstat: 00c0
enc_rxdispatch: ARP packet received (608)
arp_arpin: ARP request for IP 1000a8c0
enc_transmit: Sending packet, pktlen: 42
enc_irqworker: EIR: 08
enc_txpoll: Poll result: d_len=0
sendto_eventhandler: flags: 4000
sendto_eventhandler: Send ICMP request
sendto_request: Outgoing ICMP packet length: 84 (84)
sendto_eventhandler: Resuming
enc_txpoll: Poll result: d_len=84
enc_transmit: Sending packet, pktlen: 98
enc_irqworker: EIR: 08
enc_txpoll: Poll result: d_len=0
enc_irqworker: EPKTCNT: 01
enc_pktif: Receiving packet, nextpkt: 0380 pktlen: 102 rxstat: 00c0
enc_rxdispatch: IPv4 frame
icmp_poll_eventhandler: flags: 0002
icmp_datahandler: Buffered 81 bytes
icmp_readahead: Received 64 bytes (of 81)
56 bytes from 192.168.0.1: icmp_seq=7 time=40.0 ms
sendto_eventhandler: flags: 4000
sendto_eventhandler: Send ICMP request
sendto_request: Outgoing ICMP packet length: 84 (84)
sendto_eventhandler: Resuming
enc_txpoll: Poll result: d_len=84
enc_transmit: Sending packet, pktlen: 98
enc_irqworker: EIR: 08
enc_txpoll: Poll result: d_len=0
enc_irqworker: EPKTCNT: 01
enc_pktif: Receiving packet, nextpkt: 03ec pktlen: 102 rxstat: 00c0
enc_rxdispatch: IPv4 frame
icmp_poll_eventhandler: flags: 0002
icmp_datahandler: Buffered 81 bytes
icmp_readahead: Received 64 bytes (of 81)
56 bytes from 192.168.0.1: icmp_seq=8 time=40.0 ms
sendto_eventhandler: flags: 4000
sendto_eventhandler: Send ICMP request
sendto_request: Outgoing ICMP packet length: 84 (84)
sendto_eventhandler: Resuming
enc_txpoll: Poll result: d_len=84
enc_transmit: Sending packet, pktlen: 98
enc_irqworker: EIR: 08
enc_txpoll: Poll result: d_len=0
enc_irqworker: EPKTCNT: 01
enc_pktif: Receiving packet, nextpkt: 0458 pktlen: 102 rxstat: 00c0
enc_rxdispatch: IPv4 frame
icmp_poll_eventhandler: flags: 0002
icmp_datahandler: Buffered 81 bytes
icmp_readahead: Received 64 bytes (of 81)
56 bytes from 192.168.0.1: icmp_seq=9 time=40.0 ms
10 packets transmitted, 9 received, 10% packet loss, time 10110 ms
rtt min/avg/max/mdev = 40.000/40.000/40.000/0.000 ms
nsh>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s