Wiznet WIZ-Embedded WebServer User manual

[텍스트 입력]
WIZ-Embedded WebServer
User’s Manual (Ver. 1.1.0)
© 2007 WIZnet Co., Ltd. All Rights Reserved.
For more information, visit our website at www.wiznet.co.kr

WIZ-Embedded WebServer User’s Manual
© Copyright 2007 WIZnet Co., Ltd. All rights reserved
2
TOP
W
WI
IZ
Z8
8
1
10
0M
M
J
J
D
Da
at
ta
a
s
sh
he
ee
e
t
t
Document History Information
Revision
Data
Description
Ver. 1.0.0
2008. 09.
Release with WIZ-Embedded WebServerlaunching
Ver. 1.1.0
2013. 06.
The software CD is not provide anymore.
For more software contents, please visit our website.
(www.wiznet.co.kr)
Modified the table of contents in CH 1.3. Software CD is
removed in the table of contents.

WIZ-Embedded WebServer User’s Manual
© Copyright 2007 WIZnet Co., Ltd. All rights reserved
3
TOP
W
WI
IZ
Z8
8
1
10
0M
M
J
J
D
Da
at
ta
a
s
sh
he
ee
e
t
t
WIZnet’s Online Technical Support
If you have something to ask about WIZnet Products, Write down your question
on Q&A Board in WIZnet website (www.wiznet.co.kr). WIZnet Engineer will give an
answer as soon as possible.

WIZ-Embedded WebServer User’s Manual
© Copyright 2007 WIZnet Co., Ltd. All rights reserved
4
TOP
W
WI
IZ
Z8
8
1
10
0M
M
J
J
D
Da
at
ta
a
s
sh
he
ee
e
t
t
Table of Contents
1. Introduction ......................................................................................................................................... 7
1.1. Main Function.............................................................................................................................................................7
1.2. Specification ................................................................................................................................................................8
1.3. Contents (WIZ-Embedded WebServer) ..........................................................................................................8
2. Block Diagram ..................................................................................................................................... 9
3. WIZ-Embedded WebServer Base Board ....................................................................................... 10
4. Getting Started.................................................................................................................................. 16
4.1. Configuration Tool................................................................................................................................................. 16
4.1.1. Basic Configuration...................................................................................................................................... 16
4.1.2. Firmware Upload........................................................................................................................................... 17
4.1.3. Webpage Upload.......................................................................................................................................... 19
4.1.4. Use of Rom File Maker rev3.0 ................................................................................................................ 20
4.2. Operation Test......................................................................................................................................................... 22
4.2.1. Hardware Interface....................................................................................................................................... 22
4.2.2. Testing the Function of Web Server.................................................................................................... 23
5. Programmer’s Guide ........................................................................................................................ 26
5.1. Memory Map........................................................................................................................................................... 26
5.2. WIZ-Embedded WebServer Firmware.................................................................................................... 26
5.3. Compile ...................................................................................................................................................................... 28
5.4. Downloading............................................................................................................................................................ 28
6. WIZ-Embedded WebServer Hardware Specification.................................................................. 31
6.1. Parameters ................................................................................................................................................................ 31
6.2. Specification ............................................................................................................................................................. 31
6.3. Board Dimensions and Pin Assignment...................................................................................................... 31
6.3.1. Pin Assignment.............................................................................................................................................. 31
6.3.2. Size ...................................................................................................................................................................... 32
6.3.3. Connector Specification............................................................................................................................. 33
7. Warranty ............................................................................................................................................. 35

WIZ-Embedded WebServer User’s Manual
© Copyright 2007 WIZnet Co., Ltd. All rights reserved
5
TOP
W
WI
IZ
Z8
8
1
10
0M
M
J
J
D
Da
at
ta
a
s
sh
he
ee
e
t
t
Tables
Table 1. WIZ-Embedded WebServer Specification....................................................................................8
Table 2. Contents of WIZ-Embedded WebServer......................................................................................9
Table 3. WIZ-Embedded WebServer PIN MAP ........................................................................................ 12
Table 4. Expansion Connector.......................................................................................................................... 15
Table 5. WIZ-Embedded WebServer Testing Environment................................................................. 22
Table 6. WIZ-Embedded WebServer Main Source ................................................................................. 27
Table 7. WIZ-Embedded WebServer PINMAP.......................................................................................... 31

WIZ-Embedded WebServer User’s Manual
© Copyright 2007 WIZnet Co., Ltd. All rights reserved
6
TOP
W
WI
IZ
Z8
8
1
10
0M
M
J
J
D
Da
at
ta
a
s
sh
he
ee
e
t
t
Figures
Figure 1. Block Diagram ........................................................................................................................................9
Figure 2. WIZ-Embedded WebServer Base Board Layout .................................................................. 10
Figure 3. AVR JTAG Connector ........................................................................................................................ 11
Figure 4. AVR ISP Connector ............................................................................................................................ 11
Figure 5. WIZ-Embedded WebServer PIN MAP ...................................................................................... 11
Figure 6. WIZ-Embedded WebServer LED ................................................................................................. 12
Figure 7. WIZ-Embedded WebServer Switch............................................................................................ 13
Figure 8. WIZ-Embedded WebServer 16x2 LCD ..................................................................................... 13
Figure 9. WIZ-Embedded WebServer VR ................................................................................................... 14
Figure 10. WIZ-Embedded WebServer Temperature Sensor............................................................. 14
Figure 11. Configuration Tool .......................................................................................................................... 16
Figure 12. Board Search Window................................................................................................................... 18
Figure 13. Open dialog box for uploading................................................................................................ 19
Figure 14. Firmware uploading window...................................................................................................... 19
Figure 15. Complete Uploading...................................................................................................................... 19
Figure 16. Flash Rom Image File .................................................................................................................... 20
Figure 17. ROM File Maker ............................................................................................................................... 21
Figure 18. ROM Image File Make .................................................................................................................. 21
Figure 19. WIZ-Embedded WebServer External Interface .................................................................. 22
Figure 20. WIZ-Embedded WebServer index page ............................................................................... 23
Figure 21. WIZ-Embedded WebServer Digital Output Page............................................................. 24
Figure 22. WIZ-Embedded WebServer Digital Input Page................................................................. 24
Figure 23. WIZ-Embedded WebServer Analog Input Page ............................................................... 25
Figure 24. WIZ-Embedded WebServer Memory Map.......................................................................... 26
Figure 25. AVR Studio.......................................................................................................................................... 28
Figure 26. ATmega128 ISP ................................................................................................................................. 29
Figure 27. WIZ-Embedded WebServer Boot Loader Program ......................................................... 30
Figure 28. WIZ-Embedded WebServer Pin Map ..................................................................................... 31
Figure 29. WIZ-Embedded WebServer Module Dimension............................................................... 32
Figure 30. WIZ-Embedded WebServer Base Board Size ..................................................................... 33
Figure 31. RJ-45 PIN Assignment................................................................................................................... 33
Figure 32. RJ-45 PIN Assignment................................................................................................................... 34
Figure 34. RS-232 PIN Assignment ............................................................................................................... 34

WIZ-Embedded WebServer User’s Manual
© Copyright 2007 WIZnet Co., Ltd. All rights reserved
7
TOP
W
WI
IZ
Z8
8
1
10
0M
M
J
J
D
Da
at
ta
a
s
sh
he
ee
e
t
t
1. Introduction
WIZ-Embedded WebServer provides the tiny web server operating on low-speed MCU. It controls
digital output or monitors digital and analogue input through web browser. The webpage is
stored in the serial flash memory of the board, and can be updated through network.
1.1. Main Function
Operates as HTTP Server
Guarantee system stability and reliability by using W5300, the hardwired chip
Provides Configuration Tool Program for easy control and confiuration
Supports 10/100 Mbps Ethernet
RoHS Compliant

WIZ-Embedded WebServer User’s Manual
© Copyright 2007 WIZnet Co., Ltd. All rights reserved
8
TOP
W
WI
IZ
Z8
8
1
10
0M
M
J
J
D
Da
at
ta
a
s
sh
he
ee
e
t
t
1.2. Specification
ITEM
Description
MCU
ATmega128
(having internal 128K Flash, 4K SRAM, 4K EEPROM, external
32K SRAM, 512K Serial Flash)
Protocols
TCP/IP - W5300 (Ethernet MAC & PHY Embedded)
UDP –Configuration
HTTP Server
DHCP
Network Interface
10/100 Mbps Auto-sensing, RJ-45 Connector
Input Voltage
DC 5V
Power Consumption
Under 180mA
Temperature
0C ~ 80C (Operation), -40C ~ 85C (Storage)
Humidity
10 ~ 90%
Table 1. WIZ-Embedded WebServer Specification
1.3. Contents (WIZ-Embedded WebServer)
WIZ-Embedded WebServer Module
WIZ-Embedded WebServer Base Board

WIZ-Embedded WebServer User’s Manual
© Copyright 2007 WIZnet Co., Ltd. All rights reserved
9
TOP
W
WI
IZ
Z8
8
1
10
0M
M
J
J
D
Da
at
ta
a
s
sh
he
ee
e
t
t
LAN Cable
5V Power Adaptor
Table 2. Contents of WIZ-Embedded WebServer
☞ If any missing item is found, contact to the shop you purchased.
☞The software is available on the WIZnet website. Please visit our website. (www.wiznet.co.kr)
2. Block Diagram
Figure 1. Block Diagram
The main MCU of WIZ-Embedded WebServer is 8 bit AVR (ATmega128). The Ethernet is processed
by W5300, the hardwired TCP/IP chip. When connected to the IP address of the board at the web
browser, the webpage in the serial flash memory is transmitted and displayed. Each webpage

WIZ-Embedded WebServer User’s Manual
© Copyright 2007 WIZnet Co., Ltd. All rights reserved
10
TOP
W
WI
IZ
Z8
8
1
10
0M
M
J
J
D
Da
at
ta
a
s
sh
he
ee
e
t
t
enables control of digital input & output, analogue input and network configuration on the web.
3. WIZ-Embedded WebServer Base Board
WIZ-Embedded WebServer module can be tested by using base board.
Figure 2. WIZ-Embedded WebServer Base Board Layout

WIZ-Embedded WebServer User’s Manual
© Copyright 2007 WIZnet Co., Ltd. All rights reserved
11
TOP
W
WI
IZ
Z8
8
1
10
0M
M
J
J
D
Da
at
ta
a
s
sh
he
ee
e
t
t
①Power
The power can be controlled by using power switch after connecting the DC 5V (500mA)
adaptor.
②ATmega128 JTAG Connector
Figure 3. AVR JTAG Connector
③ATmega128 ISP Connector
Figure 4. AVR ISP Connector
④WIZ-Embedded WebServer Module Connector
The connector has below pin map.
Figure 5. WIZ-Embedded WebServer PIN MAP
J3
J2
3.3V
3.3V
ADC0/PF0
ADC1/PF1
GND
GND
ADC2/PF2
ADC3/PF3

WIZ-Embedded WebServer User’s Manual
© Copyright 2007 WIZnet Co., Ltd. All rights reserved
12
TOP
W
WI
IZ
Z8
8
1
10
0M
M
J
J
D
Da
at
ta
a
s
sh
he
ee
e
t
t
⑤Serial Connector(UART0)
The debugging information is transmitted through Serial connector when proceeding
development.
⑥Serial Connector(UART1)
The debugging information is transmitted through Serial connector when proceeding
development.
⑦LED
4 LEDs are installed in the WebServer Base Board, and connected to PORTB.4~7.
.
Figure 6. WIZ-Embedded WebServer LED
⑧System Reset Switch
⑨Switch
Switch is connected to PORTE.5~6. It is the slide switch.
SCL/INT0/PD0
SDA/INT0/PD1
ADC4/PF4
ADC5/PF5
RXD1/INT2/PD2
TXD1/INT3/PD3
ADC6/PF6
ADC7/PF7
ICP1/PD4
XCK1/PD5
AREF
PB4
T1/PD6
T2/PD7
PB5
PB6
SS/PB0
SCK/PB1
PB7
PE7
MOSI/PB2
MISO/PB3
PE5
PE6
RXD0/PE0
TXD0/PE1
PE3
PE4
GND
GND
/RESET
PE2
Table 3. WIZ-Embedded WebServer PIN MAP

WIZ-Embedded WebServer User’s Manual
© Copyright 2007 WIZnet Co., Ltd. All rights reserved
13
TOP
W
WI
IZ
Z8
8
1
10
0M
M
J
J
D
Da
at
ta
a
s
sh
he
ee
e
t
t
Figure 7. WIZ-Embedded WebServer Switch
⑩16X2 character LCD
16x2 LCD is controlled with the method of 4 bit control It is connected to PORTD and
PORTE.
Figure 8. WIZ-Embedded WebServer 16x2 LCD
⑪Variable Resistor
In order to test the analog data easily, you can use variable resistor and get the input value
of analog variable. Variable resistor is connected to ADC0 channel.

WIZ-Embedded WebServer User’s Manual
© Copyright 2007 WIZnet Co., Ltd. All rights reserved
14
TOP
W
WI
IZ
Z8
8
1
10
0M
M
J
J
D
Da
at
ta
a
s
sh
he
ee
e
t
t
Figure 9. WIZ-Embedded WebServer VR
⑫Digital Temperature Sensor
Microchip’s TC77 having 12bit resolutions is used for temperature sensor. Temperature
sensor can be controlled by SPI and selected through PB0.
Figure 10. WIZ-Embedded WebServer Temperature Sensor
⑬Extension Connector
It is the connector (J12) to extend to GPIO and the function pins of ATmega128
NO
FUNCTION
NO
FUNCTION
1
NC
2
5V
3
NC
4
GND
5
SCL/INT0/PD0
6
ADC0/PF0
7
SDA/INT0/PD1
8
ADC1/PF1
9
RXD1/INT2/PD2
10
ADC2/PF2
11
TXD1/INT3/PD3
12
ADC3/PF3
13
ICP1/PD4
14
ADC4/PF4
15
XCK1/PD5
16
ADC5/PF5
17
T1/PD6
18
ADC6/PF6
19
T2/PD7
20
ADC7/PF7
21
SS/PB0
22
AREF

WIZ-Embedded WebServer User’s Manual
© Copyright 2007 WIZnet Co., Ltd. All rights reserved
15
TOP
W
WI
IZ
Z8
8
1
10
0M
M
J
J
D
Da
at
ta
a
s
sh
he
ee
e
t
t
23
SCK/PB1
24
PE7
25
MOSI/PB2
26
PB6
27
MISO/PB3
28
PE5
29
PB4
30
PE4
31
PB5
32
PE3
33
PB6
34
PE2
35
PB7
36
/RESET
37
PE1/TXD0
38
NC
39
PE0/RXD0
40
NC
Table 4. Expansion Connector

WIZ-Embedded WebServer User’s Manual
© Copyright 2007 WIZnet Co., Ltd. All rights reserved
16
TOP
W
WI
IZ
Z8
8
1
10
0M
M
J
J
D
Da
at
ta
a
s
sh
he
ee
e
t
t
4. Getting Started
4.1. Configuration Tool
4.1.1. Basic Configuration
Figure 11. Configuration Tool
ⓐVersion : It displays Firmware version.
ⓑBoard List : If “Search”button is clicked, all MAC address of WIZ-Embedded WebServer are
displayed in the Board List.
ⓒLocal IP/Port : IP Address of WIZ-Embedded WebServer
ⓓSubnet : Subnet Mask of WIZ-Embedded WebServer
ⓔGateway : WIZ-Embedded WebServer의Gateway Address
ⓕWeb Page Upload : It is possible to upload ROM Image file to the internal flash memory of
WIZ-Embedded WebServer. For the detail, refer to “4.1.3. Webpage Upload”.
ⓖEnable DHCP Mode : It is the option for DHCP mode. Select a MAC Address to be used for

WIZ-Embedded WebServer User’s Manual
© Copyright 2007 WIZnet Co., Ltd. All rights reserved
17
TOP
W
WI
IZ
Z8
8
1
10
0M
M
J
J
D
Da
at
ta
a
s
sh
he
ee
e
t
t
‘Enable DHCP mode’at the ‘board list’. If you click “Setting”button, the board acquires IP and
Subnet Mask by using DHCP. (By acquiring IP address from DHCP server, it can take some time)
After acquiring network information from DHCP, re-booting is processed. If you click “Search”
button again, you can check changed values. If you click MAC Address on the ‘Board list’, IP
Address, Subnet Mask and Gateway information are displayed. If network information is not
acquired due to any problem, IP, Subnet and Gateway Address are initialized to 0.0.0.0.
ⓗSearch : “Search”function is used for searching module on the same LAN. If all the modules
on the same subnet are searched by using UDP broadcast, their MAC addresses are displayed on
the “Board List”.
ⓘSetting
This function is used for changing the configuration values of WIZ-Embedded WebServer. After
changing any configuration value, “Setting”button should be clicked for applying the value. With
this, the values can be saved in the EEPROM and maintained even after shutting down the power
of module.
The process is as below.
①Select a MAC address at the “Board list”. The configuration values of selected module are
displayed in each field.
②Change the value of each field.
③If you click “Setting”button, the configuration is completed.
④The module is initialized with the changed configuration. (automatically re-booted)
⑤In order to check changed value, search the module with “Search”button.
ⓙUpload
Firmware is uploaded through network.
Firmware upload process is described in detail at the “4.1.2 Firmware Upload”
☞ The initialization takes about 20~30 seconds after uploading the firmware.
ⓚExit : It closes Configuration tool program.
4.1.2. Firmware Upload
①Execute “WIZ-Embedded WebServer ConfigTool.exe”and click ‘Search’button.
②If the module is correctly connected to the network, its MAC address is displayed on the
‘Board list’.

WIZ-Embedded WebServer User’s Manual
© Copyright 2007 WIZnet Co., Ltd. All rights reserved
18
TOP
W
WI
IZ
Z8
8
1
10
0M
M
J
J
D
Da
at
ta
a
s
sh
he
ee
e
t
t
Figure 12. Board Search Window
③Select the board at the ‘Board list’and click ‘Upload’button.
☞ Before uploading through Ethernet, the network information should be set for correct
network communication. By using PING test, it is possible to check if the value is
appropriate for network communication.
④As below dialog box is shown, select the Binary file and click ‘OPEN’button.

WIZ-Embedded WebServer User’s Manual
© Copyright 2007 WIZnet Co., Ltd. All rights reserved
19
TOP
W
WI
IZ
Z8
8
1
10
0M
M
J
J
D
Da
at
ta
a
s
sh
he
ee
e
t
t
Figure 13. Open dialog box for uploading
☞ Be sure to use the firmware only for WIZ-Embedded WebServer.
⑤You can see below status window showing ‘Processing’.
Figure 14. Firmware uploading window
⑥If the file is uploaded, ‘Complete Uploading’message is displayed.
Figure 15. Complete Uploading
4.1.3. Webpage Upload
①Execute “WIZ-Embedded WebServer ConfigTool.exe”and click ‘Search’button.
②If the module is correctly connected to the network, its MAC address is displayed on the

WIZ-Embedded WebServer User’s Manual
© Copyright 2007 WIZnet Co., Ltd. All rights reserved
20
TOP
W
WI
IZ
Z8
8
1
10
0M
M
J
J
D
Da
at
ta
a
s
sh
he
ee
e
t
t
‘Board list’.
③Select the board at the ‘Board list’and click ‘web page Upload’button.
☞ Before uploading through Ethernet, the network information should be set for correct
network communication. By using PING test, it is possible to check if the value is appropriate
for network communication.
④As below dialog box is shown, select the Flash Rom File System (*.rom) file and click ‘OPEN’
button.
Figure 16. Flash Rom Image File
☞ The Flash Rom File System should be created by using “Rom File Maker Tool rev3.0”. For the
detail, refer to “4.1.4. Use of Rom File Maker rev3.0”
⑤If the file is uploaded, ‘Complete Uploading’ message is displayed.
4.1.4. Use of Rom File Maker rev3.0
Rom File Maker rev3.0 is the tool for creating ROM Image which enables the webpage to be
stored in the Flash memory.
Select the webpage by using ‘Add Files’button.
☞There is limitation of file number in selecting at a time. (Normally, max 15 files can be selected
simultaneously). If there are more files, use “Add Files”button for the several times.
Table of contents