AN2836 Freescale Semiconductor / Motorola, AN2836 Datasheet - Page 15

no-image

AN2836

Manufacturer Part Number
AN2836
Description
Web Server Development with MC9S12NE64 and OpenTCP
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
This step provides an easier interface for debugging the application than connecting directly to a real
network (because the development target is isolated). To make the application compatible with a real
network, changes should be required to only the MAC hardware and IP addresses.
Configuring the MAC Hardware and IP Addresses
After the web server is complete, it can be configured to operate on a real network by changing the MAC
hardware and IP addresses to be compatible with the real network. A brief discussion of MAC hardware
and IP addresses is provided in the following sections.
Configuring the MAC Hardware Address
The MAC hardware address is a 48-bit number. Each network device must have a unique MAC hardware
address. MAC hardware address groups are assigned to organizations by the IEEE EtherType Field
Registration Authority.
A valid MAC hardware address for the EVB9S12NE64 should be assigned by the developer. This address
is used by the datalink layer, which is implemented by the MC9S12NE64 integrated Ethernet controller
and the low-level drivers. This can be configured in address.c . If the device is not connected to a real
network, a random MAC hardware address can be used as long as it is not connected on a network that
has a device with the same 48-bit MAC hardware address.
Freescale Semiconductor
Web Server Development with MC9S12NE64 and OpenTCP, Rev. 0
Figure 9. Connecting the Evaluation Board to a PC
PC
DEVELOPMENT
PORT OR USB
PORT (RJ45)
HOST
PARALLEL
NETWORK
SERIAL
PORT
XCAT5
COMM
BDM
Preparing for OpenTCP TCP/IP Stack Development
DEVELOPMENT
EVB9S12NE64
TARGET
15

Related parts for AN2836