W5100E01-AVR WIZnet, W5100E01-AVR Datasheet - Page 39

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
Since EVB B/D is Little-Endian system, SYSTEM_ENDIAN should be defined _ENDIAN_LITTLE_ and used.
If the target system is Big-Endian, the defined items should be defined _ENDIAN_BIG_.
If W5100 is intended to be used as different mode other than Direct Bus Mode, use desired Bus Mode
defined as __DEF_IINCHIP_BUS__ instead of __DEF_IINCHIP_DIRECT_MODE__. If DEFINE OPTION of
W5100 is changed, the sources must Re-Build. To Re-Build project, do “make clean”, then “make”.
In case of SPI mode, be sure to change the configuration of JP3 in the W5100E01-AVR board. For more
detail, refer to
3.2.3.
For downloading the hex file, we use AVRStudio and AVRISP Cable.
Please refer to “AVR Tool Guide.pdf” for more information.
3.2.4.
If we take closer look at main(), for certain amount of time, we wait for Manage Program from RS232
Terminal after initialization of board with board reset. At this point, if RS232 terminal displays the Manage
Program entering command, EVB B/D environment such as network information and channel Information
can be set and ping request program can be run.
If Manage Program is done or there is no entering command from RS232 terminal, the application for each
of 4 channels of W5100 is executed and initialized using previously set network information.
<Fig 3.3> process procedure of EVB B/D main(). Refer to “main/main.c”
1) Connect AVRISP Cable to JP3 at the PM-A1.
2) Supply the power to EVB B/D.
3) Run AVRStudio.exe.
4) Select “ATmega128” in Device section.
5) Select the HEX file in FLASH section.
6) Click “Program” button.
EVB B/D’s main()
How to download
#define _ENDIAN_LITTLE_
#define _ENDIAN_BIG_
#define SYSTEM_ENDIAN
#define __DEF_IINCHIP_DIRECT_MODE__
#define __DEF_IINCHIP_INDIRECT_MODE__
#define __DEF_IINCHIP_SPI_MODE__
#define __DEF_IINCHIP_BUS__
//#define __DEF_IINCHIP_BUS__ __DEF_IINCHIP_INDIRECT_MODE__
//# define __DEF_IINCHIP_BUS__ __DEF_IINCHIP_SPI_MODE__
Chapter 2.1.1 EVB B/D Layout &
© Copyright 2007 WIZnet Co., Inc. All rights reserved.
< Table 3-14 : W5100’s DEFINE Option (types.h) >
Configuration.
0
1
_ENDIAN_LITTLE_
__DEF_IINCHIP_DIRECT_MODE__
3
1
2
29

Related parts for W5100E01-AVR