SUPPORT

  •  

Home > Technical > Q&A

Q&A

SUBJECT CONNECT stage
NAME WIZnet DATE 2013-10-02 HIT 3183

Dear customer.

Thanks for your interest in W5100.


SIPR is W5100 IP address. 

If W5100 didn't get IP from DHCP server or router which doesn't support NAT, you cannot connect PC to W5100 between router. Private IP need to change to public IP.

I thinkg you set IP address of W5100 as private IP.

Please, try to ping from PC to W5100. If cannot ping, you need to get public IP or get private IP from DHCP server or change router which support NAT.


Thanks.

WIZnet.

Hi,


I don't understand how I dont't set IP W5100 directly. The register SIPR not is the IP W5100?


Thank you!




Dear customer.

Thanks for your interest in W5100.


If W5100 didn't get IP from DHCP server or router doesn't support NAT or you set IP of w5100 directly, you cannot connect PC to W5100.

Private IP need to change to public IP.

Check this please,


Thanks.

WIZnet.


P.S. : We open WIZwiki forum.

http://wizwiki.net/forum/index.php

We take care of it a lot.

So, use it a lot, please.


Hi,

I´m using a W5100 like TCP CLIENT mode. I´m do a OPEN stage and CONNECT stage but the socket not stabilizes. When I read the register Sn_CR, socket 0, the value is 0x03 (this value not appear in datasheet).

Any suggestion?

In W5100 initialization I define:

    unsigned char mac_addr[] = {0x00, 0x22, 0x15, 0x2A, 0xB5, 0x1F};
    unsigned char ip_addr[] = {192, 168, 1, 13};
    unsigned char sub_mask[] = {255, 255, 255, 0};
    unsigned char gtw_addr[] = {192, 168, 1, 1}; //IP do router

In socket registers:

source port: 0x07

server IP: 192.168.1.2

server port: 0x07

Any definition wrong? (I´m using a router between laptop and W5100).


Thank you!




reset arduino after connect 2013-10-02
LIST

Name
REPLE

 

 

 

QUICK MENU

 

WIZnet
Museum

 

WizWiki

 

Forum

 

Online Store