wiz-embed dded webserver user (ver. 1.1.0)...se ⑬ ex it ight 2007 wiz igital tempe icrochip’s t...

35
©2007 For mo WIZ WIZnet Inc ore informa Z-Em User c. All Rights ation, visit o mbed ’s Ma Reserved. our website dded anua . e at www.w Web al (Ver wiznet.co.k bServ r. 1.1.0) kr ver )

Upload: others

Post on 05-Apr-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

[텍스트

©2007 For mo

입력]

WIZ

WIZnet Incore informa

Z-EmUser

c. All Rightsation, visit o

mbed’s Ma

Reserved.our website

ddedanua

. e at www.w

Webal (Ver

wiznet.co.k

bServr. 1.1.0)

kr

ver )

Page 2: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

R

V

V

right 2007 WIZ

D

Revision

er. 1.0.0

er. 1.1.0

Znet Inc. All r

Docum

Dat

2008.

2013.

rights reserve

ment H

a

09. R

06.

Th

Fo

(w

M

re

d

History

Release with

he software

or more soft

www.wiznet.c

Modified the

emoved in th

WIZ-Embed

y Infor

De

WIZ-Embed

CD is not p

tware conten

co.kr)

table of con

he table of c

dded WebSe

matio

escription

dded WebSe

rovide anym

nts, please v

ntents in CH

contents.

erver User’s

n

rverlaunchin

more.

visit our web

H 1.3. Softwa

Manual

ng

site.

are CD is 2

Page 3: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

If y

on

an

right 2007 WIZ

WIZ

you have s

n Q&A Boar

nswer as so

Znet Inc. All r

Znet’s

something t

rd in WIZne

oon as poss

rights reserve

Onlin

to ask abou

et website (w

ible.

d

ne Tec

ut WIZnet P

www.wiznet.

WIZ-Embed

hnical

Products, W

co.kr). WIZn

dded WebSe

l Supp

Write down y

net Enginee

erver User’s

port

your questi

er will give

Manual

on

an

3

Page 4: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

1. Intr

1.1.

1.2.

1.3.

2. Blo

3. WIZ

4. Get

4.1.

4.1.

4.1.

4.1.

4.1.4

4.2.

4.2.

4.2.

5. Pro

5.1.

5.2.

5.3.

5.4.

6. WIZ

6.1.

6.2.

6.3.

6.3.

6.3.

6.3.

7. Wa

right 2007 WIZ

roduction ...

Main Funct

Specificatio

Contents (W

ck Diagram

Z-Embedded

tting Started

Configurati

1. Basic C

2. Firmwa

3. Webpa

4. Use of

Operation

1. Hardw

2. Testing

ogrammer’s

Memory M

WIZ-Embed

Compile .....

Downloadin

Z-Embedded

Parameters

Specificatio

Board Dime

1. Pin Ass

2. Size .....

3. Conne

rranty .........

Znet Inc. All r

.....................

tion .................

on ....................

WIZ-Embedd

....................

d WebServe

d ...................

ion Tool ........

Configuratio

are Upload ..

age Upload .

f Rom File M

Test ................

are Interface

g the Functio

Guide .........

Map ..................

dded WebS

.........................

ng ...................

d WebServe

s .......................

on ....................

ensions and

signment .....

.........................

ctor Specific

.....................

rights reserve

Table

.....................

........................

........................

ded WebServ

.....................

er Base Boar

.....................

........................

n .....................

........................

........................

Maker rev3.0 .

........................

e ......................

on of Web S

.....................

........................

Server Firm

........................

........................

er Hardware

........................

........................

Pin Assignm

........................

........................

cation .............

.....................

d

e of Con

.....................

........................

........................

ver) ................

.....................

rd ................

.....................

........................

........................

........................

........................

........................

........................

........................

Server .............

.....................

........................

mware.............

........................

........................

e Specificati

........................

........................

ment ..............

........................

........................

........................

.....................

WIZ-Embed

tents

.....................

.........................

.........................

.........................

.....................

.....................

.....................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.....................

.........................

.........................

.........................

.........................

on ................

.........................

.........................

.........................

.........................

.........................

.........................

.....................

dded WebSe

.....................

.........................

.........................

.........................

.....................

.....................

.....................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.....................

.........................

.........................

.........................

.........................

.....................

.........................

.........................

.........................

.........................

.........................

.........................

.....................

erver User’s

.....................

.........................

.........................

.........................

.....................

.....................

.....................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.....................

.........................

.........................

.........................

.........................

.....................

.........................

.........................

.........................

.........................

.........................

.........................

.....................

Manual

............ 7

...............7

...............8

...............8

............ 9

.......... 10

.......... 16

............ 16

............ 16

............ 17

............ 19

............ 20

............ 22

............ 22

............ 23

.......... 26

............ 26

............ 26

............ 28

............ 28

.......... 31

............ 31

............ 31

............ 31

............ 31

............ 32

............ 33

.......... 35

4

Page 5: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

right 2007 WIZ

Table 1. WI

Table 2. Co

Table 3. WI

Table 4. Exp

Table 5. WI

Table 6. WI

Table 7. WI

Znet Inc. All r

IZ-Embedde

ontents of W

IZ-Embedde

pansion Con

IZ-Embedde

IZ-Embedde

IZ-Embedde

rights reserve

d WebServe

WIZ-Embedde

d WebServe

nnector ..........

d WebServe

d WebServe

d WebServe

d

Tableser Specificati

ed WebServe

er PIN MAP .

........................

er Testing En

er Main Sour

er PINMAP ...

WIZ-Embed

on ...................

er .....................

.........................

.........................

vironment ...

rce ...................

.........................

dded WebSe

.........................

.........................

.........................

.........................

.........................

.........................

.........................

erver User’s

.........................

.........................

.........................

.........................

.........................

.........................

.........................

Manual

...............8

...............9

............ 12

............ 15

............ 22

............ 27

............ 31

5

Page 6: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

right 2007 WIZ

Figure 1. B

Figure 2. W

Figure 3. AV

Figure 4. AV

Figure 5. W

Figure 6. W

Figure 7. W

Figure 8. W

Figure 9. W

Figure 10. W

Figure 11. C

Figure 12.

Figure 13. O

Figure 14.

Figure 15. C

Figure 16.

Figure 17.

Figure 18.

Figure 19. W

Figure 20. W

Figure 21. W

Figure 22. W

Figure 23. W

Figure 24. W

Figure 25. A

Figure 26. A

Figure 27. W

Figure 28. W

Figure 29. W

Figure 30. W

Figure 31. R

Figure 32. R

Figure 34. R

Znet Inc. All r

lock Diagram

WIZ-Embedde

VR JTAG Co

VR ISP Conn

WIZ-Embedde

WIZ-Embedde

WIZ-Embedde

WIZ-Embedde

WIZ-Embedde

WIZ-Embedd

Configuratio

Board Searc

Open dialog

Firmware up

Complete U

Flash Rom Im

ROM File M

ROM Image

WIZ-Embedd

WIZ-Embedd

WIZ-Embedd

WIZ-Embedd

WIZ-Embedd

WIZ-Embedd

AVR Studio .

ATmega128

WIZ-Embedd

WIZ-Embedd

WIZ-Embedd

WIZ-Embedd

RJ-45 PIN A

RJ-45 PIN A

RS-232 PIN

rights reserve

m .....................

ed WebServ

nnector.........

nector ............

ed WebServ

ed WebServ

ed WebServ

ed WebServ

ed WebServ

ded WebSer

on Tool ..........

h Window ...

g box for up

ploading win

ploading ......

mage File .....

aker ...............

File Make ...

ded WebSer

ded WebSer

ded WebSer

ded WebSer

ded WebSer

ded WebSer

........................

ISP .................

ded WebSer

ded WebSer

ded WebSer

ded WebSer

ssignment ...

ssignment ...

Assignment

d

Figures

........................

ver Base Boa

........................

........................

ver PIN MAP

ver LED ..........

ver Switch .....

ver 16x2 LCD

ver VR ............

rver Tempera

........................

........................

loading ........

ndow ..............

........................

........................

........................

........................

rver External

rver index pa

rver Digital O

rver Digital I

rver Analog

rver Memory

........................

........................

rver Boot Lo

rver Pin Map

rver Module

rver Base Bo

........................

........................

........................

WIZ-Embed

.........................

rd Layout .....

.........................

.........................

P ........................

.........................

.........................

D .......................

.........................

ature Sensor

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

Interface .....

age .................

Output Page

Input Page ...

Input Page ..

y Map ............

.........................

.........................

ader Progra

p .......................

Dimension .

oard Size ........

.........................

.........................

.........................

dded WebSe

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

r .......................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

e .......................

.........................

.........................

.........................

.........................

.........................

m ....................

.........................

.........................

.........................

.........................

.........................

.........................

erver User’s

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

.........................

Manual

...............9

............ 10

............ 11

............ 11

............ 11

............ 12

............ 13

............ 13

............ 14

............ 14

............ 16

............ 18

............ 19

............ 19

............ 19

............ 20

............ 21

............ 21

............ 22

............ 23

............ 24

............ 24

............ 25

............ 26

............ 28

............ 29

............ 30

............ 31

............ 32

............ 33

............ 33

............ 34

............ 34

6

Page 7: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

1. IntWIZ-Em

digital o

stored in

1.1

right 2007 WIZ

troductiobedded We

output or m

n the serial f

. Main FOperates a

Guarantee

Provides Co

Supports 1

RoHS Com

Znet Inc. All r

on bServer pro

monitors dig

flash memo

Function s HTTP Serv

system stab

onfiguration

10/100 Mbps

pliant

rights reserve

vides the tin

gital and an

ry of the bo

ver

bility and reli

Tool Progra

s Ethernet

d

ny web serve

nalogue inp

oard, and can

ability by us

am for easy

WIZ-Embed

er operating

ut through

n be updated

sing W5300,

control and

dded WebSe

g on low-spe

web brows

d through n

the hardwir

confiuration

erver User’s

eed MCU. It

ser. The web

network.

red chip

n

Manual

controls

bpage is

7

Page 8: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

1.2

1.3

right 2007 WIZ

. Specifi

ITEM

MCU

Protoc

Network In

Input Vo

Power Cons

Tempera

Humid

. Conten

Znet Inc. All r

ication

M

U

ols

nterface

ltage

umption

ature

dity Table 1

nts (WIZ-

rights reserve

ATmega128

(having int

32K SRAM

TCP/IP - W

UDP – Con

HTTP Serve

DHCP

10/100 Mb

DC 5V

Under 180

0C ~ 80C

10 ~ 90%1. WIZ-Embe

-Embedd

d

8

ternal 128K

, 512K Seria

W5300 (Ether

nfiguration

er

bps Auto-sen

0mA

C (Operation

edded WebS

ded Web

WIZ

WIZ-

WIZ-Embed

Descriptio

Flash, 4K SR

l Flash)

rnet MAC &

nsing, RJ-45

n), -40C ~ 8

erver Specif

Server)

Z-Embedded

Embedded W

dded WebSe

on

RAM, 4K EEP

PHY Embed

Connector

85C (Storag

fication

d WebServer

WebServer B

erver User’s

PROM, exter

dded)

e)

r Module

Base Board

Manual

nal

8

Page 9: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

☞ If a

☞ The

2. Bl

The mai

by W53

browser,

right 2007 WIZ

any missing

e software i

ock Diag

in MCU of W

00, the hard

r, the webpa

Znet Inc. All r

Table

item is foun

s available o

gram

WIZ-Embedd

dwired TCP/I

age in the

rights reserve

2. Contents

nd, contact

on the WIZn

Figure

ded WebServ

P chip. Whe

serial flash

d

s of WIZ-Emb

to the shop

net website.

e 1. Block Di

ver is 8 bit A

en connected

memory is

WIZ-Embed

LA

5V Pow

bedded Web

you purcha

Please visit

iagram

AVR (ATmega

d to the IP a

transmitted

dded WebSe

N Cable

wer Adaptor

bServer

ased.

our website

a128). The E

address of th

d and displa

erver User’s

r

e. (www.wizn

Ethernet is p

he board at

ayed. Each w

Manual

et.co.kr)

rocessed

the web

webpage

9

Page 10: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

enables

3. WIWIZ-Em

right 2007 WIZ

control of d

IZ-Embebedded We

Znet Inc. All r

digital input

dded WebServer mod

Figure 2. W

rights reserve

& output, a

ebServerdule can be

WIZ-Embedd

d

analogue inp

r Base Btested by u

ded WebSer

WIZ-Embed

put and netw

Board sing base bo

ver Base Bo

dded WebSe

work configu

oard.

ard Layout

erver User’s

uration on th

Manual

he web.

10

Page 11: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

① Po

Th

ad

② AT

③ AT

④ W

The co

right 2007 WIZ

ower

he power ca

daptor.

Tmega128 JT

Tmega128 IS

WIZ-Embedde

onnector ha

3.3V

GND

Znet Inc. All r

an be contro

TAG Connec

SP Connecto

ed WebServ

s below pin

Figur

J3

3.3V

GN

rights reserve

olled by usi

ctor

Figure 3.

or

Figure 4

ver Module C

map.

re 5. WIZ-Em

V

D

d

ing power s

. AVR JTAG C

4. AVR ISP Co

Connector

mbedded We

WIZ-Embed

switch after

Connector

onnector

ebServer PIN

ADC0/PF0

ADC2/PF2

dded WebSe

connecting

N MAP

J2

ADC1/

ADC3/

erver User’s

the DC 5V

/PF1

/PF3

Manual

(500mA)

11

Page 12: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

⑤ Se

Th

de

⑥ Se

Th

de

⑦ LE

4

.

⑧ Sy

⑨ Sw

Sw

right 2007 WIZ

erial Connec

he debuggi

evelopment.

erial Connec

he debuggi

evelopment.

ED

LEDs are ins

ystem Reset

witch

witch is conn

SCL/INT0/

RXD1/INT

ICP1/PD4

T1/PD6

SS/PB0

MOSI/PB2

RXD0/PE0

GND

Znet Inc. All r

ctor(UART0)

ing informa

.

ctor(UART1)

ing informa

.

stalled in the

Fig

Switch

nected to PO

/PD0 SDA

T2/PD2 TXD

4 XCK

T2/

SCK

2 MIS

0 TXD

GN

Tab

rights reserve

ation is tran

ation is tran

e WebServe

gure 6. WIZ-

ORTE.5~6. It

A/INT0/PD1

D1/INT3/PD3

K1/PD5

PD7

K/PB1

SO/PB3

D0/PE1

D

ble 3. WIZ-E

d

nsmitted th

nsmitted th

r Base Board

-Embedded W

is the slide

Embedded W

WIZ-Embed

rough Seria

rough Seria

d, and conne

WebServer L

switch.

ADC4/PF4

ADC6/PF6

AREF

PB5

PB7

PE5

PE3

/RESET

WebServer P

dded WebSe

al connecto

al connecto

ected to POR

LED

ADC5/

ADC7/

PB4

PB6

PE7

PE6

PE4

PE2

IN MAP

erver User’s

or when pro

or when pro

RTB.4~7.

/PF5

/PF7

Manual

oceeding

oceeding

12

Page 13: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

⑩ 16

16

PO

⑪ Va

In

of

right 2007 WIZ

6X2 characte

6x2 LCD is

ORTE.

ariable Resis

n order to te

f analog var

Znet Inc. All r

Figu

er LCD

controlled w

Figure

stor

est the analo

iable. Variab

rights reserve

ure 7. WIZ-Em

with the me

e 8. WIZ-Em

og data easi

ble resistor is

d

mbedded W

ethod of 4

mbedded We

ly, you can u

s connected

WIZ-Embed

WebServer Sw

bit control

bServer 16x

use variable

to ADC0 ch

dded WebSe

witch

It is connec

x2 LCD

resistor and

annel.

erver User’s

cted to PO

d get the inp

Manual

RTD and

put value

13

Page 14: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

⑫ D

M

se

⑬ Ex

It

right 2007 WIZ

Digital Tempe

Microchip’s T

ensor can be

xtension Con

is the conn

N

Znet Inc. All r

Fig

erature Sens

TC77 having

e controlled

Figure 10. W

nnector

ector (J12) t

NO FUNCT

1 NC

3 NC

5 SCL/IN

7 SDA/IN

9 RXD1/I

11 TXD1/I

13 ICP1/P

15 XCK1/P

17 T1/PD6

19 T2/PD7

21 SS/PB0

rights reserve

gure 9. WIZ-

or

g 12bit reso

by SPI and

WIZ-Embedd

o extend to

TION

NT0/PD0

NT0/PD1

INT2/PD2

INT3/PD3

D4

PD5

6

7

0

d

-Embedded

olutions is u

selected thr

ded WebServ

GPIO and t

NO

2

4

6

8

10

12

14

16

18

20

22

WIZ-Embed

WebServer

used for te

rough PB0.

ver Tempera

he function

O FUNCTIO

5V

GND

ADC0/PF

ADC1/PF

ADC2/PF

ADC3/PF

ADC4/PF4

ADC5/PF

ADC6/PF

ADC7/PF

AREF

dded WebSe

VR

mperature s

ature Sensor

pins of ATm

ON

0

1

2

3

4

5

6

7

erver User’s

sensor. Tem

r

mega128

Manual

mperature

14

Page 15: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

right 2007 WIZZnet Inc. All r

23 SCK/PB

25 MOSI/

27 MISO/

29 PB4

31 PB5

33 PB6

35 PB7

37 PE1/TX

39 PE0/RX

rights reserve

B1

PB2

PB3

XD0

XD0 Table 4.

d

24

26

28

30

32

34

36

38

40Expansion C

WIZ-Embed

PE7

PB6

PE5

PE4

PE3

PE2

/RESET

NC

NC Connector

dded WebSeerver User’s Manual

15

Page 16: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

4. Ge

4.1

4

ⓐ Versi

ⓑ Boa

displaye

ⓒ Loca

ⓓ Subn

ⓔ Gate

ⓕ Web

WIZ-Em

ⓖ Enab

right 2007 WIZ

etting Sta

. Config

4.1.1. Basic

ion : It displa

ard List : If “

ed in the Boa

l IP/Port : IP

net : Subnet

eway : WIZ-E

Page Uploa

bedded We

ble DHCP M

Znet Inc. All r

arted

guration T

c Configura

ays Firmware

“Search” but

ard List.

P Address of

Mask of WI

Embedded W

ad : It is po

bServer. For

ode : It is t

rights reserve

Tool

ation

Figure 1

e version.

tton is clicke

WIZ-Embed

Z-Embedded

WebServer의

ossible to up

the detail, r

the option f

d

1. Configura

ed, all MAC

dded WebSe

d WebServe

Gateway Ad

pload ROM

refer to “4.1.

for DHCP m

WIZ-Embed

ation Tool

address of

erver

er

ddress

Image file t

.3. Webpage

ode. Select

dded WebSe

WIZ-Embed

to the intern

e Upload”.

a MAC Add

erver User’s

dded WebSe

nal flash me

dress to be

Manual

erver are

emory of

used for

16

Page 17: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

‘Enable

Subnet

After ac

button

Address

acquired

ⓗ Searc

on the s

the “Boa

ⓘ Setti

This fun

changin

this, the

of modu

The pro

ⓙ Uplo

Firmwar

Firmwar

☞ The i

ⓚ Exit :

4① Execu

② If the

‘Board li

right 2007 WIZ

DHCP mod

Mask by us

cquiring net

again, you

s, Subnet M

d due to any

ch : “Search

same subne

ard List”.

ng

nction is use

g any config

e values can

ule.

cess is as be

Select a M

displayed in

Change the

If you click

The module

In order to

oad

re is uploade

re upload pr

nitialization

: It closes Co

4.1.2. Firmute “WIZ-Em

e module is

ist’.

Znet Inc. All r

e’ at the ‘b

sing DHCP. (

twork inform

can check c

Mask and Ga

y problem, IP

” function is

t are search

ed for chang

guration val

be saved in

elow.

MAC address

n each field.

e value of ea

“Setting” bu

e is initialize

check chang

ed through n

ocess is des

takes about

onfiguration

ware Uplombedded We

s correctly

rights reserve

oard list’. If

By acquiring

mation from

changed va

ateway info

P, Subnet an

s used for s

ed by using

ging the co

ue, “Setting”

n the EEPRO

at the “Boa

ach field.

utton, the co

d with the c

ged value, se

network.

cribed in de

t 20~30 seco

tool progra

oad ebServer Con

connected t

d

you click “

g IP address

DHCP, re-b

lues. If you

ormation are

nd Gateway A

searching mo

g UDP broad

onfiguration

” button sho

M and main

rd list”. The

onfiguration

changed con

earch the m

etail at the “4

onds after u

am.

nfigTool.exe”

to the netw

WIZ-Embed

Setting” but

s from DHCP

booting is p

click MAC

e displayed.

Address are

odule on th

dcast, their M

values of W

ould be click

ntained even

configuratio

is complete

nfiguration. (

odule with “

4.1.2 Firmwa

ploading the

” and click ‘S

work, its MA

dded WebSe

tton, the bo

P server, it c

processed. If

Address on

If network

initialized to

e same LAN

MAC address

WIZ-Embedde

ked for appl

n after shutti

on values of

d.

automaticall

“Search” but

are Upload”

e firmware.

Search’ butto

AC address

erver User’s

oard acquire

can take som

f you click

n the ‘Board

k informatio

o 0.0.0.0.

N. If all the

ses are disp

ed WebServ

ying the val

ing down th

selected mo

ly re-booted

tton.

on.

is displayed

Manual

s IP and

me time)

“Search”

d list’, IP

n is not

modules

layed on

ver. After

lue. With

he power

odule are

d)

d on the

17

Page 18: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

③ Se

☞ Be

netwo

appro

④ As

right 2007 WIZ

elect the boa

efore upload

ork commu

opriate for n

s below dial

Znet Inc. All r

ard at the ‘B

ding throug

unication. B

network com

og box is sh

rights reserve

Figure 12.

Board list’ an

gh Ethernet

By using P

mmunicatio

hown, select

d

Board Sear

nd click ‘Uplo

t, the netwo

PING test,

on.

the Binary f

WIZ-Embed

rch Window

oad’ button.

ork informa

it is possib

file and click

dded WebSe

tion should

ble to che

k ‘OPEN’ but

erver User’s

d be set for

eck if the

tton.

Manual

r correct

value is

18

Page 19: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

☞ Be

⑤ Yo

⑥ If

4

① Exe

② If th

right 2007 WIZ

sure to use

ou can see b

the file is up

4.1.3. Web

cute “WIZ-E

he module

Znet Inc. All r

Fig

e the firmwar

below status

Fi

ploaded, ‘Co

page Uploa

mbedded W

is correctly

rights reserve

gure 13. Ope

re only for W

window sho

gure 14. Fir

omplete Uplo

Figure 15

ad

WebServer Co

connected

d

en dialog bo

WIZ-Embedd

owing ‘Proce

rmware uplo

oading’ mes

5. Complete

onfigTool.exe

to the netw

WIZ-Embed

ox for upload

ded WebServ

essing’.

oading wind

ssage is disp

Uploading

e” and click

work, its MA

dded WebSe

ding

ver.

ow

layed.

‘Search’ but

AC address

erver User’s

tton.

is displayed

Manual

d on the

19

Page 20: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

‘Boa

③ Sele

☞ Be

netwo

for ne

④ As

button.

☞ The

detail, re

⑤ If th

4Rom Fil

stored in

Select th

☞ There

simultan

right 2007 WIZ

ard list’.

ect the boar

efore upload

ork commun

etwork comm

below dialog

Flash Rom F

efer to “4.1.4

he file is upl

4.1.4. Use oe Maker rev

n the Flash m

he webpage

e is limitatio

neously). If t

Znet Inc. All r

d at the ‘Bo

ding throug

nication. By

munication.

g box is sho

File System

4. Use of Ro

oaded, ‘Com

of Rom Filv3.0 is the

memory.

by using ‘A

on of file num

here are mo

rights reserve

ard list’ and

gh Ethernet,

using PING

own, select t

Figure 16.

should be c

m File Make

mplete Uploa

e Maker retool for cre

dd Files’ but

mber in sele

ore files, use

d

click ‘web p

, the netwo

test, it is p

the Flash Ro

. Flash Rom

created by u

er rev3.0”

ading’ messa

ev3.0 eating ROM

tton.

ecting at a ti

“Add Files”

WIZ-Embed

page Upload

ork informat

possible to c

om File Syst

Image File

using “Rom

age is displa

Image whic

ime. (Norma

button for t

dded WebSe

d’ button.

tion should

heck if the

em (*.rom) f

File Maker T

yed.

ch enables

ally, max 15

he several ti

erver User’s

be set for

value is app

file and clic

Tool rev3.0”

the webpag

files can be

imes.

Manual

r correct

propriate

k ‘OPEN’

. For the

ge to be

selected

20

Page 21: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

Select ‘R

right 2007 WIZ

Rom Image

Znet Inc. All r

File’ option.

rights reserve

Figure

If you click

Figure 18.

d

17. ROM Fil

‘Make Imag

. ROM Image

WIZ-Embed

e Maker

e’ button, ‘*

e File Make

dded WebSe

.rom’ file can

erver User’s

n be created

Manual

d.

21

Page 22: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

4.2In this c

The hard

Hard

Softw

4

Hardwar

STEP 1:

right 2007 WIZ

. Operatchapter, we

dware and s

dware

1) LA

ware 1) Co

2) W

4.2.1. Hard

re installatio

By using RJ

LAN Cabl

Znet Inc. All r

tion Testwill show ho

software req

AN Port

onfiguration

Web Browser

Table 5. W

dware Inte

Figure 19.

on process is

J45 Ethernet

le

rights reserve

t ow WIZ-Emb

uirements fo

PC

Tool Progra

WIZ-Embedde

rface

WIZ-Embed

as below.

cable, conn

d

bedded We

or testing is

am

ed WebServe

dded WebSer

nect the boa

WIZ-Embed

bServer ope

as below.

WIZ-E

1) WIZ-Em

2) LAN Cab

3) DC5V Po

er Testing En

rver Externa

rd to the ne

dded WebSe

erates throug

Embedded W

bedded Web

ble

ower Adapto

nvironment

al Interface

twork.

Serial Ca

erver User’s

gh a sample

WebServer

bServer Boa

or

able

Pow

Manual

e testing.

rd

er

22

Page 23: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

STEP 2:

4

STEP1: S

STEP2: C

STEP3:E

the web

STEP4: I

STEP5:

the WIZ

right 2007 WIZ

Connect 5V

4.2.2. Testi

Supply the p

Configure th

Execute the w

bpage.

If connection

Click ‘Digita

Z-Embedded

Znet Inc. All r

V DC adapto

ing the Fu

power to WI

he board by

web browse

n is appropr

Figure

l Ouput’ me

WebServer

rights reserve

r to WIZ-Em

nction of W

IZ-Embedded

using Confi

er and input

riately proce

20. WIZ-Em

enu at the w

Base Board.

d

mbedded We

Web Serve

d WebServe

guration Too

the IP addr

ssed, ‘index.

mbedded We

web browser

.

WIZ-Embed

ebserver boa

r

er board.

ol.

ress of the W

.html’ page

bServer inde

r, and contro

dded WebSe

ard.

WIZ-Embedd

is displayed

ex page

ol the LED a

erver User’s

ded board t

on the web

and LCD inst

Manual

to access

b browser.

talled on

23

Page 24: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

STEP6:

WebServ

right 2007 WIZ

Click ‘Digita

ver Base Boa

Znet Inc. All r

Figure 21.

l Input’ men

ard. Switch s

Figure 22.

rights reserve

WIZ-Embedd

nu, and chec

status is upd

WIZ-Embed

d

ded WebSer

ck the statu

dated every

dded WebSe

WIZ-Embed

rver Digital O

s of switch

one second

erver Digital

dded WebSe

Output Page

installed on

.

Input Page

erver User’s

e

the WIZ-Em

Manual

mbedded

24

Page 25: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

STEP7:

which is

second.

STEP8: sensor, T

right 2007 WIZ

Click ‘Analog

s installed o

Click “ TempTC77 installe

Znet Inc. All r

g Input’ me

on the WIZ-

Figure 23.

perature Reaed on the WI

rights reserve

enu and che

-Embedded

WIZ-Embed

ad” menu anZ-Embedded

d

eck the volta

WebServer

dded WebSe

nd check curd WebServer

WIZ-Embed

age level ac

Base Board

rver Analog

rrent tempe Base Board.

dded WebSe

cording to V

. The VR is

Input Page

rature by us

erver User’s

Variable Res

updated ev

sing the tem

Manual

sistor(VR)

very one

perature

25

Page 26: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

5. Pr

5.1The me

64Kbyte

4Kbyte

Below fi

5.2The firm

ProcessW

the web

related c

ITEM(F

main

right 2007 WIZ

rogramm

. Memoremory map

e data memo

EEPROM is b

igure shows

. WIZ-Emmware perfor

WebServer()

b page in t

configuratio

Folder name)

Znet Inc. All r

mer’s Gui

ry Map of WIZ-Emb

ory. The dat

built in AVR.

the system

Figure 2

mbeddedrms ProcessW

operates a

the Flash m

n. ProcessDh

) F

main.c

config_ta

dhcp_tas

rights reserve

de

bedded We

ta memory i

Environmen

memory ma

24. WIZ-Emb

d WebSWebServer, P

s webserver

emory, and

hcp() functio

ile

W

ask.c

sk.c

d

bServer is c

is composed

nt variables

ap of the tes

bedded Web

Server FProcessDhcp

r. It processe

sends it. P

on does DHC

WIZ-Embed

Net Configu

DHCP Client

WIZ-Embed

composed o

d of internal

of the board

st board.

bServer Mem

Firmwarep and Proces

es HTTP pro

ProcessConfi

CP related fu

F

ded WebSer

uration Task

t Manageme

dded WebSe

of 128Kbyte

SRAM and

d are saved i

mory Map

e ssConfig in t

otocol from

g() function

unctions.

Function

rver F/W ma

ent

erver User’s

code mem

W5300. In

in this EEPRO

the main() Fu

web brows

n processes

ain()

Manual

mory and

addition,

OM.

unction

er, reads

network

26

Page 27: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

iinchip

inet

mcu

util

evb

right 2007 WIZZnet Inc. All r

iinchip_c

w5300.c

socket.c

dhcp.c

httpd.c

delay.c

serial.c

timer.c

types.h

sockutil.c

util.c

config.c

dataflash

evb.c

lcd.c

spi.c

romfile.c Table 6

rights reserve

onf.h S

w

w

T

A

c S

h.c

S

6. WIZ-Embe

d

System Dep

w5300 I/O F

w5300 Sock

Processing D

Processing H

Processing t

UART relate

Timer interru

AVR Data Ty

Socket relat

Utility Funct

Function to

Function to

Function to

Switch & LC

Function to

Function to

Function to edded WebS

WIZ-Embed

endant Defi

Function

ket API

DHCP Client

HTTP Protoc

the delay of

d Function

upt Process

ype & Globa

ed Utility Fu

tion

configure n

process Ser

control devi

CD

process LCD

process SPI

process ROServer Main

dded WebSe

nition of W5

Protocol

ol

ATmega128

Function

al Definition

nction

etwork relat

ial Flash

ices on the b

D

M File Syste Source

erver User’s

5300

8

ted informat

board such

em

Manual

ion

as LED,

27

Page 28: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

5.3The sou

The firm

Install th

file "~/m

Check c

‘AVR Stu

The firm

can be a

When c

program

5.4For the

right 2007 WIZ

. Compirces mentio

mware compi

he WINAVR

main/ex03_w

compile setti

udio User Gu

mware provid

abnormal.

ompile is co

mmed to ATm

. DownloHex file dow

Znet Inc. All r

le ned in the C

ile can be pe

and AVRST

webserver/wi

ing of Confi

uide’.

ded by WIZ

ompleted, he

mega128.

oading wnloading, u

rights reserve

Chapter 5.2,

erformed by

TUDIO in the

z-web.aps” t

guration op

Znet is based

Figur

ex file is cre

use AVR Stud

d

are compile

y using WINA

e PC. For th

through AVR

ption of ‘Proj

d on AVR-G

re 25. AVR S

eated in the

dio and AVR

WIZ-Embed

ed by alignin

AVR and AV

he easy work

RSTUDIO pro

ject’ menu.

GCC 3.4.6. In

Studio

folder that

R ISP cable.

dded WebSe

g in the SRC

RSTUDIO.

king, open t

oject file.

For the setti

another ve

user define

erver User’s

C.

the firmware

ing method,

ersion, the o

ed before. Th

Manual

e project

, refer to

operation

his file is

28

Page 29: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

1)

2)

3)

4)

5)

6)

For mor

In order

Bootload

the Atm

Device B

right 2007 WIZ

Connect the

Connect the

Execute AVR

Select Atme

Select HEX

Click Progra

re detail, refe

r to update t

der is writte

mega128 and

Before Progr

Znet Inc. All r

e AVRISP ca

e power ada

RStudio.exe

ega128 at th

file at the F

am button.

er to ‘AVR To

the firmware

en to be inp

d program t

ramming” fo

rights reserve

ble to J9 of

aptor and tu

he Device se

LASH sectio

ool Guide.pd

Figure

e through ne

put at 0x1E0

the ‘Boot.hex

or not remov

d

the Base Bo

rn on the sw

ection

n

df’.

26. ATmega

etwork, the b

000. For the

x’ file. At th

ving the boo

WIZ-Embed

oard.

witch.

a128 ISP

bootloader s

re-program

his time, do

otloader.

dded WebSe

should be pr

mming the fi

not check t

erver User’s

rogrammed

irmware file,

the option o

Manual

first.

, remove

of “Erase

29

Page 30: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

right 2007 WIZ

F

Znet Inc. All r

Figure 27. W

rights reserve

WIZ-Embedd

d

ded WebServ

WIZ-Embed

ver Boot Loa

dded WebSe

ader Program

erver User’s

m

Manual

30

Page 31: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

6. WI6.1

6.2

6.36

right 2007 WIZ

IZ-Embe. ParamPower

Dimension

Temperatur

Ethernet

. SpecifiMCU

FLASH

SRAM

EEPROM

. Board 6.3.1. Pin A

3.3V

GND

SCL/INT0

RXD1/INT

ICP1/PD4

T1/PD6

SS/PB0

MOSI/PB

RXD0/PE

GND

Znet Inc. All r

dded Weeters

5V D

60 x 4

re Oper

10/10

ication ATme

128K

4KByt

4KByt

DimensiAssignment

Figur

J3

3.3V

GN

0/PD0 SDA

T2/PD2 TXD

4 XCK

T2/

SCK

2 MIS

E0 TXD

GND

Tabl

rights reserve

ebServer

C, 3.3V

42 x 14 (L x

ating : 0 ~ 8

00 Base-T Et

ega128

Byte (MCU I

te (MCU Inte

te (MCU Inte

ions andt

e 28. WIZ-E

V

D

A/INT0/PD1

D1/INT3/PD3

K1/PD5

PD7

K/PB1

SO/PB3

D0/PE1

D

le 7. WIZ-Em

d

r Hardwa

W x H)

80 ℃

thernet (Auto

Internal) + 5

ernal) + 32K

ernal)

d Pin Ass

mbedded W

mbedded We

WIZ-Embed

are Spec

o detection)

512Kbyte(Ext

Kbyte (Extern

signment

WebServer Pi

ADC0/PF0

ADC2/PF2

ADC4/PF4

ADC6/PF6

AREF

PB5

PB7

PE5

PE3

/RESET

ebServer PIN

dded WebSe

cification

ernal Serial

nal)

t

n Map

J2

ADC1

ADC3

ADC5

ADC7

PB4

PB6

PE7

PE6

PE4

PE2

NMAP

erver User’s

n

Flash)

/PF1

3/PF3

5/PF5

7/PF7

Manual

31

Page 32: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

6

right 2007 WIZ

6.3.2. Size

Znet Inc. All r

Figure 29.

rights reserve

WIZ-Embed

d

dded WebSer

WIZ-Embed

rver Module

dded WebSe

e Dimension

erver User’s

Manual

32

Page 33: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

6

R

right 2007 WIZ

6.3.3. Conn

RJ45 : Ethe

Znet Inc. All r

Figure 30

nector Spe

ernet Port

rights reserve

0. WIZ-Embe

cification

t Pinouts

Figure 31

d

edded WebSe

1. RJ-45 PIN

WIZ-Embed

erver Base B

N Assignment

dded WebSe

Board Size

t

erver User’s Manual

33

Page 34: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

R

right 2007 WIZ

RS-232

Znet Inc. All r

Pin N

rights reserve

Pin

1

2

3

6

Figure 32.

umber S

1 N

2 Rx

3 Tx

4 N

5 G

6 N

7 N

8 N

9 NFigure 33.

d

. RJ-45 PIN A

6 87

21 43

Signal

C No

xD Re

xD Tra

C No

ND Gr

C No

C No

C No

C No RS-232 PIN

WIZ-Embed

Signal

TX+

TX-

RX+

RX-

Assignment

9

4 5

De

ot Connected

eceive Data

ansmit Data

ot Connected

round

ot Connected

ot Connected

ot Connected

ot Connected Assignment

dded WebSe

scription

d

d

d

d

d

d

erver User’s

Manual

34

Page 35: WIZ-Embed dded WebServer User (Ver. 1.1.0)...se ⑬ Ex It ight 2007 WIZ igital Tempe icrochip’s T nsor can be tension Con is the conn N net Inc. All r Fig rature Sens C77 having

© Copyr

7. Wa

WIZnet

This offe

WIZnet

normal

labor wa

replace

Warrant

The war

1.

2.

Procedu

1.

2.

3.

right 2007 WIZ

arranty

Co., Ltd off

er is non-tra

warrants ou

use for per

arranty after

a defective

ty Condition

rranty applie

The warrant

Warranty.

The warrant

to damage

installation

to product

mishandling

occurring in

surge.

ure for Obta

Contact an

Merchandis

Send the p

request for

original pac

Any service

Znet Inc. All r

fers the follo

ansferable.

ur products

riod of stan

r the date o

products or

ns:

es only to pr

ty applies o

ty applies o

to products

or service b

ts or parts

g, misapplica

n shipment o

aining Warr

authorized

se Authorizat

products to

rm. All prod

cking materi

e issue, pleas

rights reserve

owing limite

and its part

dard ONE(1

of original re

part free of

oducts distr

nly to defect

nly to defec

s or parts w

by anyone ot

s caused b

ation, or use

or any dama

anty Service

distributors

tion) reques

the distrib

ducts return

als.

se contact to

d

ed warrantie

ts against d

1) YEAR for

etail purchas

f charge.

ibuted by W

ts in materia

cts which occ

hich results

ther than so

by accident

ed in violatio

age caused

e

or dealer o

t form withi

butors or d

ed for warr

o sales@wizn

WIZ-Embed

s applicable

efects in ma

the WIZ-Em

se. During th

WIZnet or ou

al or workm

cur during n

from alterna

omeone auth

t, abuse, o

on of instruc

by an act of

f WIZnet Inc

n the applic

ealers toge

ranty must

net.co.kr

dded WebSe

e only to the

aterials and

mbedded We

his period, W

r official dist

anship as m

normal use a

ation, repair,

horized by W

or misuse,

ctions furnis

f God, such

c. for obtain

able warrant

ther with th

be carefully

erver User’s

e original p

workmansh

WebServer bo

WIZnet will

tributors.

mentioned ab

and does no

r, modificatio

WIZnet Inc. ;

poor main

shed by us ;

as lightenin

ning an RMA

ty period.

he complet

y repackage

Manual

urchaser.

ip under

oard and

repair or

bove in 7.

ot extend

on, faulty

damage

ntenance,

damage

g or line

A (Return

ed RMA

d in the

35