EVB-PIC24 WIZnet, EVB-PIC24 Datasheet - Page 52
![no-image](/images/no-image-200.jpg)
EVB-PIC24
Manufacturer Part Number
EVB-PIC24
Description
Development Boards & Kits - PIC / DSPIC W3150A+EVAL BOARD BASED ON PIC24
Manufacturer
WIZnet
Datasheet
1.EVB-PIC24.pdf
(111 pages)
Specifications of EVB-PIC24
Rohs
yes
Product
Development Kits
Interface Type
RS-232
Data Bus Width
16 bit
Dimensions
50 mm x 40 mm
- Current page: 52 of 111
- Download datasheet (2Mb)
Display Loss
bLoop = 0 , RemainTime =0 , IsReceived = 0
Ping Reply
Local Variable Declare & Init
PingRequest . id =
long peerip = inet _ aton ( addr )
PingRequest
PingRequest
PingRequest
PingRequest
setSn_PROTO( s , IPPROTO_ ICMP)
SOCKET s =
PINGMSG PingReply
PINGMSG PingRequest
Fill in PingReqeust
Open s Socket For IP _ RAW Mode
socket(s , Sn_MR_IPRAW
. type = 8
. code = 0
. checksum = 0
. seqnum = Random Integer Number
Verify the Arguments
Unreachable
PingLog .ChecksumErr ++
.
Expired
Display
Send a Ping -Reply to a peer
TTL
ping ()
IsReceived = 1
Error
Random Integer Number
PingLog .Loss ++
addr == received
data with a to w alphabet
_
peer addr
Checksum
Error
Call SendPingReply ()
Display
Y
© Copyright 2006 WIZnet Co., Inc. All rights reserved.
PingLog . TimeExceedMSG++
IsReceived = 1
)
PingLog . UnreachableErr++
IsReceived = 1
N
Y
IsReceived = 0
N
<Fig 3.11: ping()>
Send PingRequest to the specified peer
Calculate Checksum of PingRequest
Calculate Check Sum of PingReply
Receive PingReply from a peer
Update PingRequest
N
Y
Y
PingRequest . seqnum++
Y
PingRequest . checksum = 0
N
RemainTime = time / 2
IsReceived = 0
PingLog.PingRequest++
PingLog .UnkonwMSG++
Successed to Send ?
Check Sum Error ?
PingReply . type == 0
PingReply . type == 3
PingReply . type == 8
RemainTime -- > 0
PingReply . type == 11
Received Size > 0
bLoop == 1
recvfrom ()
Unknown
Message
Display
Wait 2 ms
sendto ()
N
Y
N
N
N
Y
Y
Y
. checksum
Y
N
Y
N
N
PingLog . UnkonwMSG ++
PingRequest .seqnum - 1
PingLog . PingReply++
IsReceived = 1
received peer addr
count > 0
PingReply.Seqnum
count --
PingRequest .id
Ping Reply OK
PingLog . ARPErr ++
PingReply . id
Display
Display
Unknown
s Socket Status ==
addr
Y
SOCK _ CLOSED
Peer
N
==
Y
Y
Y
==
==
setSn_PROTO(s,IPPROTO_ICMP)
Y
N
N
socket (s)
N
Reopen Socket
close (s)
setSn_PROTO(s,0)
N
Close Socket
Is Pressed
CTRL - C?
close (s)
N
Y
END
42
Related parts for EVB-PIC24
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![EVB-USB3343](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Daughter Cards & OEM Boards
Manufacturer:
Microchip Technology
![EVB-LAN89303](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Daughter Cards & OEM Boards
Manufacturer:
Microchip Technology
![EVB-LAN9313P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Daughter Cards & OEM Boards
Manufacturer:
Microchip Technology
![EVB-LAN9220-MINI](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Daughter Cards & OEM Boards
Manufacturer:
Microchip Technology
![EVB-LAN89530-MII](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Daughter Cards & OEM Boards
Manufacturer:
Microchip Technology
![EVB-LAN9221-MINI](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Daughter Cards & OEM Boards
Manufacturer:
Microchip Technology
![EVB-USB3330](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Daughter Cards & OEM Boards
Manufacturer:
Microchip Technology
![EVB-USB3740](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Daughter Cards & OEM Boards
Manufacturer:
Microchip Technology
![EVB-B1+](/images/no-image3.png)
Part Number:
Description:
Development Boards & Kits - ARM W3150A+EVAL BOARD BASED ON AVR
Manufacturer:
WIZnet
Datasheet:
![EVB-USB3750](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Daughter Cards & OEM Boards
Manufacturer:
Microchip Technology
![EVB-EMC1043](/photos/9/20/92015/evb-emc1043_tmb.jpg)
Part Number:
Description:
BOARD EVALUATION FOR EMC1043
Manufacturer:
SMSC
Datasheet:
![EVB-USB2514Q36-BAS](/photos/9/7/90706/evb-usb2514q36-bas_tmb.jpg)
Part Number:
Description:
BOARD EVAL FOR USB2514/USB2514I
Manufacturer:
SMSC
Datasheet:
![EVB-USB3311-CP](/images/manufacturer_photos/0/6/617/smsc_tmb.jpg)
Part Number:
Description:
EVALUATION BOARD FOR USB3311C
Manufacturer:
SMSC
Datasheet:
![EVB-USB3317-CP](/images/manufacturer_photos/0/6/617/smsc_tmb.jpg)
Part Number:
Description:
EVALUATION BOARD FOR USB3317C
Manufacturer:
SMSC
Datasheet:
![EVB-USB2512Q36-BAS](/photos/9/10/91014/evb-usb2512q36-bas_tmb.jpg)
Part Number:
Description:
BOARD EVAL FOR USB2512/USB2512I
Manufacturer:
SMSC
Datasheet: