SUPPORT

  •  

Home > Technical > Q&A

Q&A

SUBJECT CONNECT stage
NAME Ricardo Pedro DATE 2013-10-01 HIT 2833

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
How to use Serial Command to setup WizFi630's DMZ 2013-09-30
LIST

Name
REPLE

 

 

 

QUICK MENU

 

WIZnet
Museum

 

WizWiki

 

Forum

 

Online Store