Friday, February 26, 2010

Socket Register Part 2

Hi,

This week we will finish off with the final sections of the Socket Registers.
Below is a list of socket registers:

0x415 - The IP Type of service field specifies the protocol number in the IP header. This is used for IP RAW mode

0x416 - The Time to Live register specifies the datagram’s life time in the IP header

0x420~0x421 - The Transfer Free Size registers allows the user to determine the amount of free space remaining in the transfer buffer. You should check if this register is free or not before
sending packets.

0x422 ~0x423 - The read pointer register indicates the current read position of the transfer buffer. This register is used in our driver to determine which data is being read.

0x424~0x425 - The write pointer register indicates the current write position of the transfer buffer. This register is also used in our driver to determine if there is any new data being written.

0x426~0x427 - The Received Size Register indicates the amount of byte received in the RX buffer. You should check this register to know if there is any new data received from the network.

0x428~0x429 - The read pointer register indicates the current read position of the receive buffer. This is used in the driver to determine if there are any unread data in the buffer.

As you can see, there are some essential registers which you might use from this list, but one thing I would like to highlight is that the 0x426~0x427 - The Received Size Register is important. You should use it to check for any new data received or you can use the interrupt PIN and Sn_IR register as an alternative method to check for new data.

Thank you! We will continue next week.

WIZnet HK

Friday, February 19, 2010

Smart Meter Success Story

WIZnet’s Germany distributor, DacomWest, has successfully applied the WIZ120SR into the smart metering application. Meters with GPIO, UART, or SPI interfaces can use the WIZ120SR to enable Ethernet connectivity.

The diagram below shows the implementation of the Smart metering application.


The WIZ120SR is applied at the client side of the application. The meter will periodically send data via Ethernet to the server which stores all the records.

Wednesday, February 10, 2010

Virtual serial port program (WIZ VSP) official

WIZnet officially launches the virtual serial port program (WIZ VSP). This free software allows PC programs and networking devices to communicate with each other. The WIZ VSP redirects serial data from a local/virtual serial port to a remote networking device with serial port.

As a result, when users use WIZnet’s Serial to Ethernet products to enable network connectivity, they do not need to make changes to their existing serial software.

For more information,, please visit this website.
http://www.wiznet.co.kr/rg4_board/list.php?&bbs_code=en_pds

To learn more about our WIZ VSP program, please view our webinar at
http://www.wiznet.co.kr/rg4_board/list.php?&bbs_code=en_pds

Translated from Johnny Yan's Post.
WIZnet Chinese Blog:http://blog.sina.com.cn/s/blog_61b952280100gqnf.html

Friday, February 5, 2010

Socket Register 1

Hi All,

This week we will go through the Socket Registers.














The socket register allows the user to select the different protocols such as TCP, UDP, IPRAW, MACRAW, PPPoE.

The Socket Command Register provides the different command to the chip such as OPEN socket, Send, Receive, and so forth.

The Socket Interrupt socket provides the socket interrupt status such as send ok, timeout, receive, disconnect, and connect.

Socket State this registers allows the user to check the current state in the state machine of our chipset.

The source port register is used for set the source port for the UDP and TCP socket connection

If the destination hardware is known, the user can input it in the Destination Hardware Address register. However, this is optional because the hardware address can be resolved by the Address resolution Protocol.

When using multi cast mode, you also nee to specify the Destination Hardware Address, Destination IP, and Destination Port. These parameters should match the multicast network.

Next week we will continue to discuss Socket Register Part2.

Thank you

WIZnet HK