---
title: "Write error to change ip address for wiz107sr"
url: "https://maker.wiznet.io/forum/12880"
markdown_url: "https://maker.wiznet.io/forum/12880/md"
type: "Forum topic"
category: "Serial-to-Ethernet & ConfigTool"
author: "NewUser"
created: "2018-04-26T09:05:36+09:00"
last_activity: "2018-05-15T04:35:25+09:00"
language: "en"
views: 982
replies: 5
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# Write error to change ip address for wiz107sr

## Question

Asked by NewUser on 2018-04-26 in Serial-to-Ethernet & ConfigTool.

Hello . Trying to change ip address for wiz107sr but got error feedback ? Attached is serial terminal and logic analyzer captured sent serial for "LI192.168.11.8 " and in hex → “4C493139322E3136382E31312E380D0A”.

[![wiz107_write](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/e/ebdf71d135cd488a3801f6b41e680465f2803013.png) wiz107_write4296×3344 236 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/e/ebdf71d135cd488a3801f6b41e680465f2803013.png)

## Replies

### Reply 1 by rena, 2018-05-11

Hi, [@NewUser](https://maker.wiznet.io/u/newuser).
I’m sorry for the late reply.

First, please let me know which firmware version you are using and detail test procedure for setting IP address. (program information, used command, etc)

Thank you.

### Reply 2 by NewUser, 2018-05-14 (in reply to reply 1)

Hello rena. the firmware version for wiz107sr is 4.06. We use FPGA with 8051 hdl core with peripheral design. Writing 8051 C code firmware to use uart to program cmd “LI\r\n” (4C490D0A in hex) to serial wiz107sr. Use logic analyzer to capture wiz107sr pin 3 “RXD” and pin 7 “TXD” serial communication. FPGA uart TXD sent “4C490D0A” to wiz107sr RXD pin. From logic analyzer could see log debug cmd respond given by wiz107sr TXD to FPGA uart RXD.

[![wiz_ver](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/2/200017c777a0be7854cc7859cd3a0a0b8d9300d3.png) wiz_ver4296×3344 65 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/2/200017c777a0be7854cc7859cd3a0a0b8d9300d3.png)

### Reply 3 by rena, 2018-05-14

Hi, Please check the following.

1. Is the device operating in serial command mode? (status: ATMODE)

2. If only “LI\r\n” is sended without parameters, is there any response?

### Reply 4 by NewUser, 2018-05-15

Hello rena. (1) Initial power-up/startup the device status is open. (2) Sent “LI\r\n” only , got two respond cmd :=> (a) LGWIZ107SR:VER4:06:STARTED1310 (b) LGHWSWITCHOKLGMAC:00.08.DC.53.2B.C8LGGW:192.168.11.11310LGSN:255.255.255.01310LGIP:192.8.8.21310
LGSEGCP:TCP:STARTED1310LGSEGCP:UDP:STARTED1310 . Later check , status became ATMODE.

Below snapshot logic analyzer captured :

[![0001](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/f/f3210f2681db69aab12d1fcc454f73d3f154bd95.png) 00011403×992 100 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/f/f3210f2681db69aab12d1fcc454f73d3f154bd95.png)

[![0002](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/6/6ba9b738b4cfa440d276aa29629b813a4d489680.png) 00021403×992 83.7 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/6/6ba9b738b4cfa440d276aa29629b813a4d489680.png)

### Reply 5 by rena, 2018-05-15

As shown in the manual, if you send the ‘LI’ command to the device, it will respond with LI+IP information. for example, “LI192.168.11.2”.

Like below image.
(‘$0d$0a’ is ‘\r\n’)

[![%EA%B7%B8%EB%A6%BC1](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/b/b5a35bb623387d42fc8801d88e80948d18fd6633.png) %EA%B7%B8%EB%A6%BC11476×714 259 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/b/b5a35bb623387d42fc8801d88e80948d18fd6633.png)

Did you test the device with other test programs?
If not, you should check the device operation with the test program first.

The program can be downloaded from the link below.

- [Hercules test program](http://www.hw-group.com/products/hercules/index_en.html)

Thank you.

---

Source: https://maker.wiznet.io/forum/12880
