W5100E01-AVR WIZnet, W5100E01-AVR Datasheet - Page 53

no-image

W5100E01-AVR

Manufacturer Part Number
W5100E01-AVR
Description
Development Boards & Kits - AVR W5100 EVAL BOARD BASED ON AVR
Manufacturer
WIZnet
Datasheet

Specifications of W5100E01-AVR

Rohs
yes
Product
Development Boards
Tool Is For Evaluation Of
ATMEGA128
Core
AVR8
Interface Type
LAN, RS-232
Operating Supply Voltage
5 V
Data Bus Width
8 bit
Data field size of PINGMSG is of ‘PINGBUF_LEN’ Byte. PINGBUF_LEN is defined as ‘32’. However, data
field max size may be ‘1472’. This is because the sending MTU of W5100 is 1480 bytes, and the sum of
Code, CheckSum, ID, and SeqNum Field Size is 8 Bytes. If we subtract 8 from 1480 we get 1472. Hence,
the size is 1472 bytes.
The results from ping() are saved in Data Type defined in <Table 3-22>.
The saved Ping log can be output with RS232 terminal through DisplayPingStatistics() function. <Fig 3.12>
shows the process procedures of DisplayPingStatistics().
CheckSumErr field is incremented by 1 whenever the checksum of Ping Reply from peer is not correctly
received.
Unreachable MSG field and TimeExceedMSG field are incremented by 1 in case of receiving Unreachable
Message or Time Exceeded Message from peer or gateway.
UnknownMSG field is incremented by 1 when the unknown message is received.
typedef struct _PINGMSG
{
}PINGMSG;
char
char
u_short CheckSum;
u_short
u_short SeqNum;
char
© Copyright 2007 WIZnet Co., Inc. All rights reserved.
<Table 3-20: PINGMSG Data Type Definition>
<Table 3-21: PINGLOG Data Type Definition>
typedef struct __PINGLOG
{
}PINGLOG;
Type;
Code;
ID;
Data[PINGBUF_LEN];
u_short CheckSumErr;
u_short UnreachableMSG;
u_short TimeExceedMSG;
u_short UnknownMSG;
u_short ARPErr;
u_short PingRequest;
u_short PingReply
u_short Loss;
// 0 - Ping Reply, 8 - Ping Request
// Always 0
// Check sum
// Identification
// Sequence Number
// Ping Data
;
43

Related parts for W5100E01-AVR