MotoHawk Ethernet Adapter Definition

Declares an adapter which will be added to the embedded Ethernet stack and be made available for client and server operations.

Block ID

Ethernet Adapter Definition

Library

motohawk_ethernet_lib

Description

 

Block Parameters

Setup Tab

Parameter Field Values Comments/Description
Network Stack Reference Single quote enclosed alphanumeric The name of Network Stack Definition block that this block applies to.
Adapter Name Single quote enclosed alphanumeric A unique name that identifies this adapter instance. Must be C-legal.
Resource Drop-down list Module resource.

Address Tab

Parameter Field Values Comments/Description
Hostname Single quote enclosed alphanumeric Module hostname label.

When the IP address is statically assigned, a DNS server is required on the network that has been configured with this hostname.

When the IP is dynamically assigned (DHCP) the client will pass this hostname to the DHCP server to register it with the associated DNS server.

If the hostname is an empty string (i.e. '' or []), the control will autogenerate a unique hostname comprised of the adapter Name_<MACID> where the <MACID> is a hexadecimal text representation of the 6 byte MAC address unique to the adapter.
Adapter Address Drop-down list IP address type.

When DHCP is selected, a DHCP client is started and will request an address to a DHCP server on the local network.

When Static is selected, the user must supply at least the IP Address and a Subnet Mask. The Default Gateway and DNS server addresses are optional.
IP Address Single quote enclosed alpha-numeric text in IPv4 x.x.x.x format where x is in the range 0-255. Adapter IP Address.
Subnet Mask Single quote enclosed alpha-numeric text in IPv4 x.x.x.x format where x is in the range 0-255. Adapter Subnet Mask.
Default Gateway Single quote enclosed alpha-numeric text in IPv4 x.x.x.x format where x is in the range 0-255. Adapter Default Gateway.
Primary DNS Single quote enclosed alpha-numeric text in IPv4 x.x.x.x format where x is in the range 0-255. Primary Domain Name Server.
Secondary DNS Single quote enclosed alpha-numeric text in IPv4 x.x.x.x format where x is in the range 0-255. Secondary Domain Name Server.

Calibration Tab

Parameter Field Values Comments/Description
Allow parameters marked * to be calibrated Check Box (enable) Allow mask parameters marked with an asterisk (*) to be runtime tuneable with a calibration tool.
Read access level 0-8 Sets security level 0 lowest, 8 highest, for user access to read value.
Write access level 0-8 Sets security level 0 lowest, 8 highest, for user access to write value.
Instrumentation group string Single quote enclosed alpha-numeric text Determines folder name and hierarchy. Use "|" character between folder names to delineate subgroup structure.

Adapter Setup Tab

The Adapter Setup tab contains adapter specific configuration and will change based on the kind of adapter selected

"MPC5xxx Fast Ethernet Controller"
Specific Parameters
Values Comments/Description
Specify RX/TX Task names Check Box (enable) The Ethernet stack implicitly creates dynamic tasks to handle RX and TX. This option allows the names of these tasks to be specified, which will allow, amongst other things, task attributes to be queried based upon these names.
Transmit Task name Single quote enclosed alpha-numeric. The name that will be associated with the transmit task. Must be C-legal.
Receive Task name Single quote enclosed alpha-numeric. The name that will be associated with the receive task. Must be C-legal.
Expose RX/TX Task metrics to Instrumentation Check Box (enable) It is possible, once the task names are specified, to access task info directly, which makes the automatic capture of metric information superfluous. This option allows the developer to specify whether the block set should still capture such metrics.

"Serial Line IP"
Specific Parameters
Values Comments/Description
Serial Definition Reference Single quote enclosed alpha-numeric. The reference name to a serial definition block that will be used to transmit and receive serial line IP data.