WIZ105SR
R Userr’s Ma
anuall
(Ve
ersion 1.2
2.0)
©200
09 WIZnet C
Co., LTD. All Rights Resserved.
☞ For more
m
inform
mation, visitt our website at http:/
//www.wizznet.co.kr
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
1
WIZ
Znet’s Online
e Tech
hnical Suppo
ort
If yo
ou have som
mething to ask about WIZnet pro
oducts, wriite down yyour questio
on on
Q&A Board in WIZnet
W
webssite (www.w
wiznet.co.k
kr). WIZnet will give ann answer ass soon
as po
ossible.
CLICK
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
2
CO
OPYRIG
GHT NO
OTICE
Copyrright 2009 WIZnet Co., LT
TD. All Rights Reserved.
Techn
nical Supportt: support@wiznet.co.kr
Sales & Distributio
on: sales@wizznet.co.kr
For m
more informattion, visit our website at http://www..wiznet.co.krr
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
3
Contents
1.
2.
IIntroduction ............................................................................................... 7
1
1.1.
Key Features.................................................................................. 7
1
1.2.
odel) .......................................................... 8
Pro
oducts Conte
ents (EVB mo
1
1.3.
Pro
oducts Speciification ...................................................................... 10
G
Getting Startted .......................................................................................... 13
2
2.1.
Ha
ardware Insta
allation Proce
edure ......................................................... 13
2
2.2.
Co
onfiguration Tool
T ........................................................................... 14
3.
F
Firmware Up
pload ........................................................................................ 24
4.
S
Serial Config
guration .................................................................................... 26
5.
4
4.1.
Serial Comman
nd Format ................................................................... 26
4
4.2.
WIZ105SR Con
nfiguration w
with Serial Co
ommand ....................................... 29
H
Hardware Co
onfiguration ................................................................................ 31
5
5.1.
Fra
ame Format................................................................................ 31
5
5.2.
Ha
ardware Conffiguration Exxamples ...................................................... 33
6.
D
Demonstratio
on and Test ................................................................................ 34
7.
D
Dimensions .............................................................................................. 38
8.
R
Reference Schematic
S
.................................................................................. 39
9.
E
ETC ....................................................................................................... 40
9
9.1.
Wa
arranty ...................................................................................... 40
9
9.2.
Do
ocument Revision Historyy ............................................................... 41
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
4
F
Figures
FIGUR
RE 1. WIZ105
5SR CONNEC
CTOR PIN ASS
SIGNMENT AND
D DEFINITION ......................
.
............................ 11
FIGUR
RE 2. CONFIG
GURATION TOO
OL (NETWORK
K CONFIG) ............................................................................. 14
FIGUR
RE 3. PPPOE ACCESS PRO
OCESS ......................................................................................................... 15
FIGUR
RE 4. TCP SERVER
E
MODE...................................................................................................................... 16
FIGUR
RE 5. TCP CLIENT
L
MODE ....................................................................................................................... 17
FIGUR
RE 6. UDP MO
ODE ................................................................................................................................... 18
FIGUR
RE 7. CONFIG
GURATION TOO
OL (SERIAL CO
ONFIG.) ................................................................................. 20
FIGUR
RE 8. CONFIG
GURATION TOO
OL (OPTION C ONFIG.) ................................................................................ 21
FIGUR
RE 9. OPERAT
TION MODE FO
OR PASSWORD
D SETTING ............................................................................ 23
FIGUR
RE 10. BOARD
D SEARCH WINDOW ......................................................................................................... 24
FIGUR
RE 11. OPEN DIALOG
D
BOX FOR
F
UPLOADIN
NG ......................................................................................... 25
FIGUR
RE 12. FIRMW
WARE UPLOADING WINDOW ............................................................................................... 25
FIGUR
RE 13. COMPL
LETE UPLOAD
DING ............................................................................................................. 25
FIGUR
RE 14. SERIAL
L CONFIGURA
ATION ENABLE
E SETTING ............................................................................. 29
FIGUR
RE 15. SERIAL
L CONFIGURA
ATION CONSOL
LE DISPLAY ........................................................................... 30
FIGUR
RE 16. RESUL
LT WINDOW AF
FTER RUNNIN G “SETTING” ........................................................................ 35
FIGUR
RE 17. SERIAL
L TERMINAL PROGRAM CON
NFIGURATION ........................................................................ 35
FIGUR
RE 18. NETWO
ORK TERMINA
AL PROGRAM C
CONFIGURATION ................................................................... 36
FIGUR
RE 19. RECEIV
VED DATA BY NETWORK TE
ERMINAL PROGRAM .............................................................. 36
FIGUR
RE 20. DEVICE TERMINAL PROGRAM.................................................................................................... 37
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
5
T
Tabless
TABLE
E 1. PRODUCT
TS CONTENTS
S .................................................................................................................... 9
TABLE
E 2. WIZ105S
SR MODULE SPECIFICATIO
ON .......................................................................................... 10
TABLE
E 3. PIN ASSIG
GNMENT ............................................................................................................................ 11
TABLE
E 4. PIN DEFIN
NITION OF RJ-45 ............................................................................................................. 12
TABLE
E 5. SERIAL CONFIGURATIO
ON FRAME FOR
RMAT .................................................................................... 26
TABLE
E 6. SERIAL CONFIGURATIO
ON REPLY FRA
AME FORMAT ......................................................................... 26
TABLE
E 7. SERIAL CONFIGURATIO
ON STX & ETX
TX .......................................................................................... 26
TABLE
E 8. SERIAL CONFIGURATIO
ON REPLY COD
DE ......................................................................................... 26
TABLE
E 9. SERIAL CONFIGURATIO
ON COMMAND
D CODE .................................................................................. 28
TABLE
E 10. SERIAL CONFIGURATION TEST PRO
OCEDURE .............................................................................. 29
TABLE
E 11. HARDWA
ARE CONFIGU
URATION FRAM
ME FORMAT ........................................................................... 31
TABLE
E 12. HARDWA
ARE CONFIGU
URATION REPL
LY FRAME FOR
RMAT ............................................................... 31
TABLE
E 13. HARDWA
ARE CONFIGU
URATION COM
MMAND CODE......................................................................... 31
TABLE
E 14. HARDWA
ARE CONFIGU
URATION PARA
AMETER DESC
CRIPTIONS ........................................................ 32
TABLE
E 15. HARDWA
ARE CONFIGU
URATION ENTR
RANCE MESSA
AGE ................................................................. 32
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
6
1. Introduction
WIZ
Z105SR is a gateway mo
odule betwe
een serial de
evice and Ethernet. It caan transmit serial
datta to Ethern
net and vice versa. With
h WIZ105SR, you can connect your sserial device
e with
Eth
hernet via WIZ105SR
W
prov
vides interfaace quite eassier and shorrten your deevelopment period
p
to obtain more
e gains.
We
e also provide
e full functio
onal configu ration tools for WIZ105SR. You can seet WIZ105SR
R upon
you
ur needs by using serial configuratioon command when WIZ10
05SR is in seerial configuration
mo
ode or using
g provided configuration
n tool via Etthernet to make
m
WIZ1055SR embedd
ded in
you
ur products well.
w
1.1. Key Fea
atures
High speed
s
Serial-to-Ethernett gateway mo
odule with an
a RJ-45 jackk
High stability
s
and reliability EEthernet connection solu
ution
10/10
00Mbps Ethe
ernet interfaace supporte
ed with full hardwired T
TCP/IP stack
k chip
W5100
Up to 230Kbps serrial commun
nication interrface
Seriall configuratio
on command
ds support
-
Simple
e command frame
f
formaat
-
Comprrehensive & readable coommand set for
f network and serial seettings
-
On-sitte configurattion without PC
Powerful remote configuratioon tool
RoHS compliant
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
7
1.2. Products Conttents (EV
VB mode
el)
WIZ105SR M
Module
Tesst Board for WIZ105SR
(Se
erial to Etheernet EVB)
12pin Caable
(Connectt WIZ105SR w
with Test Board)
Serial Caable
(Conne
ect Serial Deevice with Te
est
Board)
LAN Cabble
(Conn
nect WIZ105SSR with Hostt)
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
8
Powe r
(DC 5V Adaaptor)
Table 1 . Products Contents
C
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
9
1.3. Products Spec
cification
n
1.3.1.
WIZ1
105SR Modu
ule
05SR uses a high performance 805 1 compatiblle microconttroller whichh feathers 62K
6
in
WIZ10
chip Flash, 16K in
i chip SRAM
M and 2K EE PROM. WIZ105SR feathe
ers our fast hardwired TCP/IP
T
stackk chip W5100
0 and most of
o TCP/IP prrotocols such as TCP, UD
DP, IP, ARP, IICMP, IGMP, PPPoE
and E
Ethernet MAC
C are all sup
pported. 10M
Mbps and 100
0Mbps Ethern
net are all ssupported an
nd one
stand
dard Etherne
et Jack is mo
ounted in W
WIZ105SR. On
ne serial port is providedd in WIZ105S
SR via
12-pin connectorr which feath
hers standarrd RS-232 spe
ecification. WIZ105SR caan be powerred by
a DC 3.3V powerr supply with
h at least 2000mA curren
nt supply. Th
he detailed specification
ns are
listed
d in Table 2.
Cate
egory
Specifica
ation
Prottocol
TCP, UD
DP, IP, ARP, IC
CMP, IGMP, MA
AC, DHCP, PPPPoE, DNS
Network Interface
10/100 Base-T Ethe
ernet (Auto detection)
d
Seria
al Port
1 RS-23 2 port (3.3V
V LVTTL)
CP
PU
8051 coompatible
Serial lin
ne format
8-N-1, 88-O-1, 8-E-1,, 7-O-1, 7-E-1
Serial flo
ow control
None, X
XON/XOFF, CTS/RTS
Serial signal
TXD, RX
XD, RTS, CTSS, GND
Softw
ware
Remote
e Download and
a Configuration
SSerial Transm
mission Speed
d
Mem
mory
Tempe
erature
Hum
midity
Pow
wer
Connector type
Size
1200bpss ~ 230Kbps
Internall Memory (62
2KB Flash Me
emory, 2KB EEPROM, 16KB
SRAM)
0’C ~ 700’C (Operating), -40~85
5’C (Storagee)
10~90%
3.3V, 2000mA
2x6, 2m
mm Pitch Pin header array
40mm x 62mm x 17mm
Table 2. WIZ10
05SR Module
e Specification
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
10
1.3.2.
Con
nnector Pin Assignmen t
WIZ10
05SR provide
es an extern
nal connectoor to connec
ct it with you
ur applicatioon board. Th
he pin
assign
nment and definition
d
of the connecttor are introd
duced in Figure.1 and thhe specificattion of
each pin is descriibed in Table
e 3.
1
/R
RESET
2
3.3V
3
3
RX
XD
4
3.3V
3
5
CT
TS
6
/FACTORY_RE
/
ESET
7
TX
XD
8
/HW_TRIGGE
/
ER
9
RT
TS
10
NC
N
11
GN
ND
12
GND
G
Fiigure 1. WIZ
Z105SR Conn
nector Pin Assignment
A
and
a Definitioon
Name
3.3V
Function
ns
I/O
Power
Low activ
ve reset
Minimum 1.2 usec is rrequired.
/RESET
Do NOT le
eave the inp
put pin(nRESE
ET) as floatin
ng.
I nput
If it is not in use, it m
must be pulled-up, otherwise the
module may
m not workk properly.
RXD
RS-232 Da
ata Input
I nput
CTS
RS-232 Cllear To Send
I nput
TXD
RS-232 Da
ata Output
O
Output
RTS
RS-232 Re
equest To Se nd
O
Output
/FACT
TORY_RESET
Pull Facto
ory Reset too low and if /RESET is activated,
a
the config
guration is cchanged to fa
actory defau
ult.
Op
ptional
Op
ptional
I nput
When pu
ulled low, en
nter the se
erial command mode
while WIIZ105SR is powered on
n or reset. (In S/W
/HW_T
TRIGGER
trigger method, this ssignal ignore
ed.)
When WIZ
Z105SR is boooted over, this pin willl indicate
I nput
//Output
the status of TCP/IP ssocket conne
ection.
Table 3. Pin Assig
gnment
e in 3.3V LVT
TTL.
☞ Alll signals are
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
11
1.3.3.
RJ-45 Pin Assignment
The pin assignm
ment of Eth
hernet Jack
k RJ-45 is described
d
in
n Figure 2, and descriiption
ach pin is in
ntroduced in Table 4.
of ea
Figure
e 1. Pin Assi gnment of RJ-45
R
in WIZ
Z105SR
Pin Numbe
er
Description
1
TX+
2
TX-
3
RX+
4
Unused
5
Unused
6
RX-
7
Unused
8
Unused
Table 4. P
Pin Definitio
on of RJ-45
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
12
2
2. Getting Sta
arted
This cchapter desccribes the co
onfiguration steps of WIZ105SR. The
e following llisted items which
are in
ncluded in yo
our WIZ105SR-EVB packaage will be re
equired in co
onfiguration .
Power Ad
dapter (inclu
uded in the W
WIZ105SR-EV
VB package)
Serial an
nd Ethernet Cable (includ
ded in the of WIZ105SR-EVB packagee)
A compu
uter with Nettwork Interfaace Card ( NIC)
N
and/or one
o RS232 seerial port
If you have prepared
p
tho
ose things, tthe configura
ation of WIZ105SR can bbe getting sta
arted.
The b
board connecction steps are
a introduce
ed in section
n 2.1.
2.1. Hardwa
are Installlation Procedure
e
T
The followin
ng steps are
e required w
while to set up the co
onfiguration environmen
nt for
WIZ10
05SR and the
e connection
n diagram is shown in Fig
gure 3.
Reset | PSEN
N | Factory Reset | HW Trigger
F
Figure
2. WIZ
Z105SR Conffiguration Environment
E
t Setting Diaagram
ST
TEP 1: Conne
ect the WIZ1
105SR modulle to the testt board by using the 12ppin cable.
ST
TEP 2: Conne
ect the 5V DC
D power line
e to the pow
wer jack of th
he test boardd.
ST
TEP 3: Use th
he RJ45 Ethe
ernet cable iin order to connect
c
the module
m
to ann Ethernet
netwo
ork.
ST
TEP 4: Use the serial datta cable to cconnect the test
t
board to
o a serial devvice.
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
13
2.2. Configu
uration Tool
T
2.2.1.
Netw
work Configu
uration
ⓐ
ⓑ
ⓓ
ⓔ
ⓕ
ⓖ
ⓒ
ⓗ
ⓘ
ⓚ
ⓙ
ⓛ
ⓜ
ⓝ
ⓞ
ⓟ
ⓠ
Figurre 2. Configu
uration Tool (Network Config)
C
ersion : Displays firmwarre version.
ⓐ Ve
nable Serial Debug Mod
de : If this m
mode is chec
cked, you ca
an monitor tthe status module
m
ⓑ En
and ssocket messa
age (listen OK,
O connect ffail etc.) thrrough serial terminal. If Debug mode
e is on,
debugg message can
c
cause ab
bnormal ope
eration of th
he serial dev
vice. Thereffore, just usse this
mode
e only for De
ebug mode.
oard List : Iff you click “Search” buttton, all the MAC addressses on a sam
me subnet, will
w be
ⓒ Bo
displa
ayed.
P Configurattion Method
d: Select IP setting mod
de, you can select onee of Static, DHCP,
ⓓ IP
PPPoE
E mode.
- Stattic: “Static”
” is option fo
or setting W
WIZ105SR IP with
w
static IP address. FFirstly, select MAC
addre
ess which yo
ou wanted to
t set as sttatic IP in the
t
‘board list’. Then ““Local IP, Su
ubnet,
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
14
Gatew
way box willl be enabled
d. Input Statiic IP addresss and click “setting” buttton. Then se
et the
IP add
dress as you wanted. (PP
PPoE ID, Passsword box iss disabled)
- DHC
CP: Set this option to usse DHCP mod
de. Firstly, check ‘DHCP’’ and click ‘SSetting’ buttton. If
dress is succcessfully acquired from D
IP add
DHCP server, the MAC address will bee displayed on
o the
configuration win
ndow. (It takes some tim e to acquire
e IP address from
f
DHCP seerver)
When
n a module on the boa
ard list is se
elected, IP address, Subnet mask aand Gatewa
ay are
displa
ayed. If mod
dule could not
n acquire network infformation frrom DHCP seerver, IP address,
Gatew
way Address and Subnet mask will be
e initialized to 0.0.0.0.
- PPP
PoE : WIZ105SR supports PPPoE ffor ADSL usser. When you
y
select PPPPoE at th
he “IP
Confiiguration Method”, PPPoE ID & Passw
word box is enabled.
e
1. To set PPPoE, connect PC to WIZ105SR
R directly an
nd execute Configuration
C
n Tool progra
am on
PC. (C
Configuratio
on Tool Versio
on should be
e 2.1 or abov
ve)
2. Select ‘PPPoE’ of the “IP Configuration
C
n Method” ta
ab and input ID & Passwoord.
3. Cliick “setting”
” button to apply.
a
4. Co
onnect Modulle to ADSL Line.
5. If “Enable Se
erial Debug Mode”
M
is se
elected, you
u can see PP
PPoE accesss status via serial
conso
ole.
WIZ105SR Ver. 03.06
6
-- PHASE
E 0. PPPoE(A
ADSL) setup process --- PHASE
E 1. PPPoE D
Discovery pro
ocess -- ok
-- PHASE
E 2. LCP proccess -- ok
-- PHASE
E 3. PPPoE(A
ADSL) Authen
ntication mo
ode -Authentiication proto
ocol : c223 00,
-- Waiting for PPPoE server's admission --ok
k
-- PHASE
E 4. IPCP pro
ocess --ok
Figure 3. P
PPPoE Accesss PrSocess
ⓔ Lo
ocal IP/Port : WIZ105SR’ss IP address aand Port num
mber for nettwork connecction
☞ Be
e sure to inp
put correct network infformation. If
I you inputt incorrect IP address, it can
cause
e network collision
c
or mal-function
m
n.
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
15
ⓕ Su
ubnet : WIZ105SR’s subne
et mask
ateway : WIZ
Z105SR’s Gatteway addre ss
ⓖ Ga
PPoE ID/Passsword : If you
y select ‘P
PPPoE’ mode
e, input ID/Password whhich you rec
ceived
ⓗ PP
from ISP companyy.
ⓘ Se
erver IP/Porrt : When WIZ105SR
W
is sset as “Clien
nt mode” orr Mixed modde”, server IP and
port sshould be se
et. WIZ105SR
R attempts too connect this IP addresss.
ⓙ Ne
etwork mode
e:
-
cliient/server/m
mixed : Thiss is to selectt the comm
munication method
m
baseed on TCP. TCP
T
is
th
he protocol to establish the conn
nection befo
ore data co
ommunicatio
on, but UDP
P just
prrocesses the data comm
munication w
without conne
ection estab
blishment.
Th
he Network mode of WIZ105SR
W
can
n be divided
d into TCP Server,
S
TCP Client and Mixed
mode accord
ding to the connection
n establishin
ng method.. At the TC
CP server mode,
m
W
WIZ105SR operates as server on the process of connection,
c
and waits fo
or the conne
ection
triial from the client. WIZ1
105SR operaates as client at the TCP
P Client mod
de on the prrocess
off connection
n, and tries to connect to the server’s IP and Port. Mixed
d modes sup
pports
bo
oth of Server and Client. The comm unication prrocess of eac
ch mode is aas below.
.
Figure 4
4. TCP Serve
er mode
At the TCP Servver mode, WIZ105SR
W
waiits for the co
onnection requests.
TCP Server mo
ode can be useful
u
when the monitorring center tries
t
to connnect to the device
d
(wh
here WIZ105
5SR is installed) in orde
er to check the status or
o provide tthe commands. In
norrmal time WIZ105SR
W
is on the waitin
ng status, and if there is any connecttion request (SYN)
fro
om the mo
onitoring center, the cconnection is establish
hed (ESTABBLISH), and data
com
mmunication
n is processed (Data Tran
nsanction). Finally
F
conne
ection is clossed (FIN).
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
16
In order to ope
erate this mode,
m
Local IP, Subnet, Gateway Address and Lo
Local Port Nu
umber
sho
ould be confiigured first.
As illustrated in
n the above figure, dataa transmission proceeds as
a follows,
1. T
The host con
nnects to the
e WIZ105SR w
which is configured as TC
CP Server moode.
2. As the connection is esttablished, daata can be transmitted
t
in both direections – from the
hosst to the WIZ
Z105SR, and from the WIIZ105SR to th
he host
Figure 5. TCP Clien
nt mode
If W
WIZ105SR is set
s as TCP Client, it trie s to establish connection
n to the servver.
To operate thiss mode, Loca
al IP, Subnet,, Gateway Address,
A
Serv
ver IP, and Seerver port nu
umber
sho
ould be set. If server IP had
h domain n
name, use DNS
D function..
In T
TCP Client mode,
m
WIZ10
05SR can acttively establlish a TCP co
onnection too a host com
mputer
when power is supplied.
n the above figure, dataa transmission proceeds as
a follows:
As illustrated in
1. A
As power is supplied,
s
WIIZ105SR boarrd operating as TCP clien
nt mode actiively establisshes a
con
nnection to the
t server.
2. If the conne
ection is com
mplete, data can be transsmitted in both directionns – from the
e host
to the WIZ105SSR and from WIZ105SR too the host
In this mode, WIZ105SR normally
n
ope
erates as TC
CP Server and
a
waits foor the conne
ection
req
quest from the
t
peer. Ho
owever, if W
WIZ105SR rec
ceives data from
f
the serrial device before
b
con
nnection is established,
e
it changes too the client mode and se
ends the datta to the serv
ver IP.
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
17
The
erefore, at the
t mixed mode, the serrver mode is operated prrior to the cllient mode.
As like TCP Serrver mode, the
t Mixed m ode is usefu
ul for the casse that the m
monitoring center
c
trie
es to connecct to the serial device (i n which WIZ
Z105SR is use
ed) to checkk device stattus. In
add
dition to this, if any em
mergency occcurs in the serial device
e, the moduule will chan
nge to
Clie
ent mode to
o establish th
he connectioon to the server and deliver the em
mergency status of
the
e device.
ⓚ Usse UDP mode
Figu
ure 6. UDP mode
m
At th
he UDP mode
e, the conne
ection estab
blishment is not defined. Just set thhe IP addresss and
port number of th
he peer and send the daata.
D function is needed, check this option
o
and in
nput the dom
main name of
o DNS
ⓛ Usse DNS : If DNS
serve
er. DNS(Doma
ain Name Sysstem) is the database sy
ystem having
g informationn about IP ad
ddress
and ccorrespondin
ng domain na
ame. When cconnecting to
o domain name, you cann use DNS fun
nction
of WIZ105SR. Inp
put IP addre
ess of DNS sserver provid
ded by ISP in DNS Serveer IP, and do
omain
name
e in the Servver (Domain)
If serrver has dyna
amic IP addrress, but dom
main name, if you use DNS
D function,, you do nott need
to co
onfigure server IP addresss whenever iit’s changed.
ⓜ Diirect IP Searrch
Direcct IP Search can
c be used for searchin g WIZ105SR not installed
d in the samee subnet.
If the
e Direct IP se
earch is chec
cked, the con
nfiguration tool
t
use the TCP instead UDP broadc
cast to
searcch modules. Therefore, network infformation off the module such as IPP address, subnet
s
maskk and gatewa
ay is required
d for the seaarch.
If you
u check Dire
ect IP search
h, the field i n which IP address
a
is input, will be activated. In
I this
field,, input IP add
dress of the module, and
d click “Searrch” button.
☞ If module doe
es not have
e valid netw
work informa
ation, Direc
ct IP search is not available.
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
18
Checck if module
e is connectted to the N
NAT or priva
ate network
k. If so, it i s not possib
ble to
connect to the module
m
from
m outside.
ⓝ Se
earch
The SSearch functtion is used to search aall modules existing on the same LA
AN. By using
g UDP
et will be se
broad
dcast, all mo
odules on the
e same subne
earched.
The ssearched mo
odule is displayed as MAC
C address in the
t “Board list”.
ⓞ Se
etting
This ffunction is to
o complete the
t configuraation change
e.
If you
u select the
e MAC address from the “Board list”
”, the defau
ult configuraation value of
o the
modu
ule will be displayed.
d
Change the cconfiguration
n and click “Setting”
“
buutton to com
mplete
the cconfiguration
n. The mod
dule will re--initialize with the changed configguration. Changed
value
e is saved in
n the EEPRO
OM of the m odule. Thuss, the value is not remooved even though
powe
er is disconne
ected.
The cconfiguration
n value can be
b changed iin below steps.
① Se
elect the ma
ac address off which conffiguration va
alue should be
b changed iin the “Boarrd list.
The vvalues config
gured will be
e displayed.
② Ch
hange the va
alue
③ Cliick “Setting”
” button. The configurattion change will
w be comp
plete.
④ Th
he module will be initialiized to the cchanged valu
ues (re-booting is processsed)
o check confiiguration ressult, click ‘Se
earch’ button.
⑤ To
ⓟ Up
pload
Firmw
ware will be uploaded th
hrough netwoork
☞ Affter uploadin
ng the firmw
ware, 20~30
0 seconds arre required for
f initializaation.
ⓠ Ex
xit : Close th
he configurattion tool pro gram.
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
19
2.2.2.
al configurattion
Seria
ⓡ
Figure 7. Configguration Too
ol (Serial Con
nfig.)
ⓡ Se
erial
Serial Configuratiion value of selected moodule is displlayed.
In ord
der to chang
ge the serial configuratioon of WIZ105
5SR, this men
nu can be useed.
☞ By
y clicking the
e “Setting” button, chaanged value can be applied.
.
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
20
2.2.3.
on configura
ation
Optio
ⓢ
ⓣ
ⓤ
ⓥ
Figurre 8. Config uration Tooll (Option Config.)
nactivity tim
me
ⓢ In
Afterr the connecction is estab
blished, if th
here is not data
d
transmission within the time de
efined
in Ina
activity time
e, the connec
ction is close
ed automatic
cally.
The d
default value
e is ‘0’. If ‘0
0’ is set, thiss function is not activate
ed. In this deefault setting, the
conne
ection is ma
aintained ev
ven though tthere is no data transm
mission. In oorder to closse the
conne
ection, the ‘Close’
‘
comm
mand should be given.
This function can be used for
f more thaan two or more
m
system
ms to connecct to a WIZ105SR
modu
ule. If one syystem holds the connecttion to the WIZ105SR,
W
other systemss can not co
onnect
to the
e module. Iff there is no data transm
mission durin
ng the time defined
d
in Innactivity time
e, the
conne
ection will be
b closed for other system
m to be conn
nected.
Inactivity Time also
a
can be useful
u
for th
he case when the serverr system is uunexpectedly
y shut
down
n. In this sta
atus, if there
e is not any data comm
munication du
uring the tim
me defined in
i the
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
21
Inactivity time, WIZ105SR
W
willl close the cconnection and
a enter intto waiting staatus.
ⓣ Da
ata Packing Condition
You ccan designate
e how the se
erial data can
n be packed to send to the
t Ethernett.
erial buffer and sends any
In de
efault mode, WIZ105SR checks
c
the se
a receivedd data to Eth
hernet
witho
out any standard. Therefore, the daata can be re
egarded as error
e
data duue to inconssistent
data lenth. In orrder to solve
e this proble
em, the data
a from serial can be paccked according to
the specified con
ndition beforre sending too Ethernet. The
T condition
n is as below
w.
Time
e: If there iss not any ne
ew data durring designatted time, alll data in thhe serial bufffer is
converted to Ethernett packet. If new data iss received, the
t time is re-calculate
ed and
the receive
ed data is sa
aved in the sserial buffer.. Time condition can be utilized whe
en the
serial data
a size is variiable and haas no ending
g character, but needs tto be delivered in
frame unitt. (If the valu
ue is ‘0’, opttion is not ussed)
Size: When data is collected as much as the defined size in the serial bufferr, it is transm
mitted
to Etherne
et (If the valu
ue is ‘0’, opttion is not ussed)
Chara
acter: The data
d
is collec
cted in the sserial buffer until specifiied characteer is received
d, and
transmitte
ed to Etherne
et. The charaacter can be
e specified in
n Hex formattion. (The va
alue is
‘0’, this op
ption is not used)
u
O
One of three
e conditions is
i satisfied, tthe data is transmitted
t
to
t the Ethernnet.
E
Ex) Delimiterr: Size=10, Char=0x0D
C
Serial da
ata : 0123456
6789abc
Ethernett data : 0123
3456789
☞ “abc” data remains in the se
erial buffer of
o module.
ⓤ Pa
assword
‘Passw
word’ functiion is for blo
ocking client’’s access which is not alllowed.
’Passw
word’ function can be operated on
nly in ‘TCP Server’
S
mode. When ‘paassword’ fun
nction
operrates, clients should inpu
ut password to access.
1
1. Execute Configuratio
on Tool proogram.(Confiiguration Tool version sshould be 2.1
2 or
above)
2
2. Select ‘SServer’ of “O
Operation Moode”.
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
22
Figure
e 9. Operati on Mode forr Password Setting
S
3.
A
As shown in
n Figure 10, select Opti on tab and check 'Enab
ble' combo bbox of "Passsword"
m
menu.
4.
IInput passwo
ord.
5.
C
Click "Setting" button to apply passw
word setting
6.
W
When any client accesse
es the modul e, client sho
ould send 'pa
assword' to seerver module first,
a
and then acccess will be allowed.
a
ⓥSerrial Configurration:
This function is for module configuratioon not throu
ugh network
k with Confiiguration too
ol but
throu
ugh serial communicati
c
on. When yyou want to
t set via serial
s
comm
munication, check
“enab
ble”. Please detail about serial conffiguration reffers to “4. Se
erial Configuuration”.
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
23
3
3. Firmw
ware Upload
U
① Run ‘WIZ10
00SR/WIZ105
5SR/WIZ110SSR Configura
ation Tool’ program, annd click “Se
earch”
butto
on.
ule is properrly connected
d to the netw
work, “Comp
plete Searchhing” messag
ge and
② If the modu
MA
AC address will
w be display
yed on the ““Board List” as shown be
elow Figure.
Figure 10. Board Searrch Window
① Select a mo
odule shown
n in “Board liist”, and clic
ck “Upload” button.
☞ Before uploading thro
ough Etherrnet, you sh
hould set the
t
networkk information of
WIZ105SR firstt by Configu
uration Tool program as shown abov
ve Fig 10. Byy using Ping
g test,
you can check
k if network is correctlyy configured
d.
② When the window as shown
s
below
w Figure is displayed,
d
se
elect file forr upload and
d click
“O
Open” button
n.
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
24
Fig
gure 11. Ope
en dialog bo
ox for upload
ding
☞ Do not uplo
oad any othe
er files exce
ept for WIZ1
105SR applic
cation firmw
ware file.
③ A dialogue box titled “P
Processing” w
will be displayed as belo
ow.
Figure 12. Firrmware uplo
oading window
④ When uplo
oading is co
omplete, a message box with “Complete Upploading” will
w
be
displayed as
a shown in Figure
F
14.
Figure 13
3. Complete Uploading
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
25
4
4. Seria
al Conffiguratiion
4.1. Serial Comman
C
d Forma
at
It is p
possible to configure WIZ
Z105SR by ussing serial co
ommand.
By inputting speccified 3 chara
acters you c an enter into the configuration modde. The chara
acters
can b
be defined att the Configu
uration Tool..
< Frrame Form
mat >
Comm
mand Frame
e format
Descriptor
STX
C
Command co
ode
Parameterr
ETX
E
Le
ength(bytes)
1
2
Variable
1
Tablle 5. Serial C
Configuratio
on Frame forrmat
Reply
y Frame form
mat
Descriptor
ST
TX
Reply code
e
Parameteer
ETX
Le
ength(bytes))
1
1
Variablee
1
Table 6.
6 Serial Con
nfiguration Reply
R
Frame
e format
STX & ETX
Setting
Comm
ments
STX
‘’ : He
ex = 3Eh
Ta
able 7. Seriaal Configurattion STX & ETX
E
Reply
y Code
R
Reply
Comm
ments
S
Comman
nd was succe
essful
F
Comman
nd failed
0
Invalid SSTX
1
Invalid ccommand
2
Invalid p
parameter
3
Invalid EETX
E
Enter Se
erial Comman
nd Mode
Tab
ble 8. Seriall Configuratiion Reply Co
ode
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
26
Comm
mand Code
Comm
mand
Parameter
Comm
ments
WI
xxx.x
xxx.xxx.xxx (eg. 192.1688.11.133)
Set Local
L
IP
WS
xxx.x
xxx.xxx.xxx (eg. 255.2555.255.0)
Set Subnet
S
mask
WG
xxx.x
xxx.xxx.xxx (eg. 192.1688.11.1)
Set Gateway
G
WP
0~65
5535
Set Local
L
IP’s porrt number
WD
0 : Static, 1 : DH
HCP, 2 : PPPooE
Set the IP configuuration meth
hod
WM
0 : TCP
T Client, 1 : TCP Mixed
d, 2 : TCP Se
erver
Set the TCP operration mode
WK
0 : TCP,
T
1 : UDP
Set Protocol(TCP
P
P or UDP)
XXXX
X
eg. [Baudrate]1:
[
115200, 2: 57600,
3: 38400, 4: 19200, 5: 9 600,
WB
6: 4800, 7: 2400,8:
2
12000
[data byte] 7 : 7bit, 8bitt
Set the
t
serial baaud rate, data, parity
and flow
f
control..
4byte
es:[Baud][daata byte][parrity][flow]
[parity] 0 : no
n parity, 1 : Odd, 2 :Eve
en
[Flow] 0 : no
o, 1 : Xon/Xooff, 2 :RTS/C
CTS
WT
0 : Disable,
D
1 : Enable
E
Set the serial com
mmand meth
hod
WU
0 : Not
N use 1 : Use
DNS Use or Not
WE
xxxx
xxx (eg. In he
ex format : 22B 2B 2B)
Set the commandd mode charracter
WX
xxx.x
xxx.xxx.xxx (eg. 192.1688.11.144)
Set server IP adddress
WN
0~65
5535
Set server port nnumber
WR
WV
WW
Resta
art
xxx.x
xxx.xxx.xxx (eg. 255.2555.255.0)
xxxx
xxxxxxxxxxxx
xxxxxxxxxxxxxxxxxx
(eg. wiznet.co.k
kr)
DNS IP Configurattion
Doma
ain Configuraation
WY
PPPo
oE ID
PPPo
oE ID Configuuration
WZ
PPPo
oE Password
PPPo
oE Password C
Configuratio
on
OC
XX
Set delimiter
d
chaaracter in he
ex
OS
0~25
55
Set delimiter
d
sizee
OT
0~65
5535
Set delimiter
d
tim
me
OI
0~65
5535
Set In
nactivity tim
mer value
RA
MAC Address
Get MAC
M Addresss
RU
0 : Not
N Use, 1 : Use
U
DNS Use or Not
RV
IP ad
ddress
DNS IP Check
RW
Domain
Doma
ain Check
RY
PPPo
oE ID
PPPo
oE ID Check
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
27
Comm
mand
Parameter
Comm
ments
RZ
PPPo
oE Password
PPPo
oE Password C
Check
RI
IP Ad
ddress
Get Local
L
IP
RS
Subn
net Mask
Get Subnet
S
maskk
RG
Gate
eway addresss
Get Gateway
G
RP
Loca
al Port Number
Get Local
L
IP’s poort number
RD
0 : Static, 1 : DH
HCP, 2 : PPPooE
Get the
t IP configguration metthod
RM
0 : TCP
T Client, 1 : TCP Mixed
d, 2 : TCP Se
erver
Get the
t operatioon mode
RK
0 : TCP,
T
1 : UDP
Get the
t Protocol
XXXX
X
eg. [Baudrate]1:
[
115200, 2: 57600,
3: 38400, 4: 19200, 5: 9 600,
6: 4800, 7: 2400,8:
2
12000
RB
Get the
t serial baaud rate
[data byte] 7 : 7bit, 8bitt
[parity] 0 : no
n parity, 1 : Odd, 2 :Eve
en
[Flow] 0 : no
o, 1 : Xon/Xooff, 2 :RTS/C
CTS
RT
0 : Disable,
D
1 : Enable
E
Get the
t serial coommand method
RE
xxxx
xxx (eg. In he
ex format : 22B 2B 2B)
Get the
t comman d mode charracter
RF
x.x (eg.
(
3.1)
Get the
t firmwaree version
RX
xxx.x
xxx.xxx.xxx (eg. 192.1688.11.144)
Get the
t server IPP address
RN
0~65
5535
Get the
t server poort number
QC
XX
Get delimiter
d
chaaracter in he
ex
QS
0~25
55
Get delimiter
d
sizze
QT
0~65
5535
Get delimiter
d
tim
me
QI
0~65
5535
Get Inactivity tim
mer value
Table
e 9. Serial C
Configuration
n Command Code
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
28
4.2. WIZ105SR Con
nfiguratio
on with Serial
S
Co
ommand
d
Figure 14. Serial Configuration Enable Setting
① Check WIZ105SR
W
Firm
mware Versioon. If Versio
on is lower, download
d
thhe latest firm
mware
from dow
wnload page of http://w
www.wiznet.c
co.kr
② At the de
efault statuss, the serial cconfiguration is disabled
d. So, click ‘eenable’ chec
ck box
of serial configuratio
on and click ‘setting’ buttton. The default value oof string is “+
+++”.
③ The testting can be processed as below. This
T
testing is checkingg module IP
P and
changing
g to another.
1
Input “+++”
Enter Serial Configuratioon mode
2
Ch
heck “” response
r
Successfully
y entered
3
Input “””
Change the IP address to 192.168.11
1.3
4
Ch
heck “” response
r
Successfully
y change thee IP address
5
Input “”
Check IP address of the module
6
Ch
heck “” response
Check chang
ged IP addreess
7
Input “”
Re-boot
8
Ch
heck “” response
r
Successfully
y re-booted
9
Mo
odule re-boo
oting
Table
e 10. Serial C
Configuratio
on Test Procedure
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
29
Above
e process is shown in the
e serial cons ole as below
w figure.
WIZ105SSR Ver. 03.06
6
> Config
g socket : ok
> Listen : Ok
WIZ105SSR Ver. 03.06
6
> Config
g socket : ok
> Listen : Ok
Figure
e 15. Serial Configuratio
on Console Display
D
Hardw
wired Internet Connectiv
vity Wizard ((WIZnet, Inc.)
30
5
5. Hard
dware Configu
C
uration
n
At the Serial Configuration, entering
e
seriial configura
ation mode iss processed by using spe
ecified
stringg. Hardware Configuratio
on enables yyou to enter into configuration modee by port con
ntrol.
If yo
ou supply th
he power orr reset the module by
y asserting low
l
8th pin of J1, hard
dware
configuration is allowed.
a
(You
u can also en
nter Hardware Configura
ation mode bby turning on
n SW5)
At the hardware configuration mode, nettworking is not
n possible. Therefore, aafter finishin
ng the
configuration, be
e sure to asse
ert high J1.88 for normal operation.
5.1. Frame Format
F
Comm
mand Frame
e format
De
escriptor
STX
Comm
mand code
Param
meter
ETX
Command
‘>’(0x3E
E)
R/W/X
Varia
able
‘CR’(0x0
0D)
Len
ngth(bytes)
1
1
Varia
able
1
Table 11.
1 Hardwarre Configura
ation Frame format
Reply
y Frame form
mat
D
Descriptor
STX
Rep
ply code
Param
meter
ETX
C
Command
‘