Freescale-
EthernetAPI
 
General Info
Properties
Methods
Events
User Types
Typical Usage



Embedded Beans
CPU Beans
About Beans
Bean Categories



Bean icon
 
 Bean FreescaleEthernetAPI
 
NE64 ethernet API routines

Parameters of the bean.

Properties:

  • Bean name - Name of the bean.
  • Debug mode - Debug mode - for diagnostics output through SCI device. The generated driver reports its state and important events. One SCI device must be available for this diagnostics.
    • Serial line - Choose serial line for debugging. The speed is set to 115200 Bd by default and it is initialized in the generated file ne64debug.c by the function void InitDebug(void). It must be called in the main module.
  • EMAC device - Bean for ethernet initialization (for details about settings see bean help - 'Inheritance & Sharing' page)
  • TCP/IP settings - TCP/IP settings
    • IP address - IP address. Use dots to separate decadic numbers. Example: 192.168.2.1
    • Network mask - Network mask. Use dots to separate decadic numbers. Example: 255.255.255.0
    • Broadcast address - Broadcast address. Use dots to separate decadic numbers. Example: 192.168.2.255
    • Default gateway - Default gateway. Use dots to separate decadic numbers. Example: 192.168.2.254
  • Optimalizations - Other settings which has influence on effectivity of generated code
    • Zero copy - Zero Copy Mode. Setting this mode not only can conserve RAM but can also increase performance. In this mode, no copy of the receive buffer is created, so the data is processed in the buffer.
    • Word access - Word Access Mode. This mode allows word access to buffers instead of byte access to increase overall system performance.
  • ARP & ICMP echo support - Modules for testing purposes.
    • ARP support - ARP (Address Resolution Protocol) simple implementation. Adds arp.c and arp.h files into the project.
    • IP ICMP support - Simple implementation of IP protocol with one service (ICMP Echo). Only for testing purposes. Adds ip.c and ip.h files into the project.



©1997-2004, UNIS, Ltd.