AN2700 Freescale Semiconductor / Motorola, AN2700 Datasheet - Page 17

no-image

AN2700

Manufacturer Part Number
AN2700
Description
Basic Web Server Development with MC9S12NE64 and CMX-MicroNet TCP/IP Stack
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
When setting up IP addresses, it is preferable to configure or use the development target and
development host manually with non-routable IP addresses (i.e., 10.x.x.x, 90.0.0.x, 172.16.x.x through
172.32.x.x, or 192.168.x.x).
When the application is developed and ready for a real network, the IP address settings must be
configured to be compatible with the real network on which the node will reside. Recall, for the
CMX-MicroNet code, IP addresses and MAC hardware addresses are configured in callback.c . In this
web server example, a static IP address is used. For a real network, recall that the IP address should be
assigned by the network administrator. Optionally, the DHCP capability of CMX-MicroNet software can
be used. With DHCP, a DHCP server will automatically assign a leased IP address to the embedded
device.
Configuring TCP/IP Protocol in Windows
To set up the IP address for the development host in Windows, the IP address network settings of the
development host must be accessed in its operating system. For recent Windows releases, these settings
are located in the control panel. In the control panel, select network settings. A typical network settings
dialog box is shown in
Freescale Semiconductor
IP address settings for this demo:
These IP settings and others must be reflected in the Windows network
settings.
Basic Web Server with MC9S12NE64 and CMX-MicroNet TCP/IP Stack, Rev. 0.3
All devices are configured with an IP address in the range 192.168.1.1
to 192.168.1.2
CMX-MicroNet code is programmed with an IP address of:
Figure
192.168.1.1, for the development host (PC)
192.168.1.2, for the development target (embedded device)
10.
Figure 10. Network Settings Dialog Box
NOTE
Preparing for CMX-MicroNet TCP/IP Stack Development
17

Related parts for AN2700