AN2700 Freescale Semiconductor / Motorola, AN2700 Datasheet - Page 29

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
/* FTP */
#define FTP
#define FTP_SERVER
#define FTP_MAX_PARAM
#define FTP_BUFFER_LEN
#define FTP_USER_LEN
#define FTP_PASSWORD_LEN
#define FTP_NUM_USERS
#define NEED_MEM_POOL
#define MEM_POOL_SIZE
/* TFTP */
#define TFTP
#define TFTP_RESEND_TRYS
#define TFTP_USE_FLASH
/* SMTP */
#define SMTP
#define SMTP_BUFFER_LEN
/* Virtual File System */
#define VIRTUAL_FILE
#define NUM_VF_PAGES
#define VF_NAME_LEN
#define FUNC_NAME_LEN
#define NUM_POST_FUNCS
#define NUM_GET_FUNCS
#endif
//**************************************************************
Ether_Init.h
An excerpt of the source code for Ether_Init.h is provided. Ether_Init.h allows the user to configure
initialization options for the MC9S12NE64 EMAC and EPHY. The excerpt from Ether_Init.h shows a
partial list of the configurations a user may desire to modify. These configurations are provided below with
brief descriptions:
Freescale Semiconductor
AUTO_NEGOTIATE — Sets up ne64_init() to initialize the NE64 in auto-negotiation mode if
asserted. If not asserted, the developer must manually set up the speed and duplex for the NE64
using the full_duplex and speed_100 variables.
HALF10, FULL10, HALF100, and FULL100 — Set the auto-negotiation advertisements and should
be set to 1 if that mode is to be advertised in auto-negotiation.
SPEED100 — if auto-negotiation is disabled (AUTO_NEG = 0), this bit manually sets the device
link speed.
FULL_DUPLEX — if auto-negotiation is disabled (AUTO_NEG = 0), this bit manually sets the
device link speed.
ETYPE_PET, ETYPE_EMW, ETYPE_IPV6, ETYPE_ARP, ETYPE_IPV4, ETYPE_IEEE, and
ETYPE_ALL — Set the EMAC Ethertype filtering modes.
BRODC_REJ, CON_MULTIC, and PROM_MODE — Set the EMAC MAC address filtering modes.
PTIME — EMAC flow control setting.
RX_MAX_FL — Sets a maximum frame length by assigning a value to this identifier.
/* ifndef MNCONFIG_H_INC */
Basic Web Server with MC9S12NE64 and CMX-MicroNet TCP/IP Stack, Rev. 0.3
1
6
20
20
5
5
0
512
0
1
24
512
10
10
1
0
4096
0
3
1
Overview of a Web Server Developed Using CMX-MicroNet TCP/IP Stack
29

Related parts for AN2700