Initial communication

Finally, after much searching I figured out how to remap the SPI1 pins on the 9S12DXP512. Suddenly I have proper SPI communications. After reading out the Common Register block I get:
Mode 0
Gateway Address 192.168.1.1
Subnet Mask FF, FF, FF, 00
Source MAC Address 00, 08, DC, 1D, 4C, 4F
Source IP Address 192.168.1.2

The I wrote out new parameters
Mode 0
Gateway Address 192.168.0.1
Subnet Mask FF, FF, FF, 00
Source MAC Address 00, 08, DC, 1D, 4C, 4F
Source IP Address 192.168.0.125

Open up Command.exe
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\john>ping 192.168.0.125

Pinging 192.168.0.125 with 32 bytes of data:
Reply from 192.168.0.125: bytes=32 time=2ms TTL=128
Reply from 192.168.0.125: bytes=32 time=1ms TTL=128
Reply from 192.168.0.125: bytes=32 time=1ms TTL=128
Reply from 192.168.0.125: bytes=32 time=1ms TTL=128

Ping statistics for 192.168.0.125:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 2ms, Average = 1ms

SPI bit rate is 10Mbps. I now know i can read and write to it. Next step is to send it an UDP packet from an application running on the PC.
Step one. Determine how to configure the socket for UDP and verify the contents of the packet.

John

Hi,
For sending UDP data with UDP socket,
Fisrt, Open socket with UDP mode & Source port number.
Second, copy a data to Socket TX buffer.
Third, Request to send the data with SEND command.
Finally Wait to complete SEND command.

We provide the example for sending UDP on our wiki site.
For more detail, refer to ioLibrary_BSD & Loopback example.
[url]http://wizwiki.net/wiki/doku.php?id=products:w5500:driver[/url]

Thank you.