TS-ETH2

From embeddedTS Manuals
TS-ETH2
Product Page
FTP Directory

Overview

The TS-ETH2 provides two integrated 10/100 ethernet ports through ASIX AX88796B embedded MAC/PHY chips. It interfaces with the PC/104 connector via 16-bit data bus and the register map is NE2000 compatible.

Getting Started

As a simple example on a TS-7800, connect only the ARM jumper. Leave the rest disconnected. Boot into Debian and run:

. /initrd/ts7800.subr
pc104on
modprobe -o eth2-1 ax88796b mem=0x100 irq=5
modprobe -o eth2-2 ax88796b mem=0x140 irq=6
Note: modprobe -o is not supported in busybox. These must be run from Debian.

IO Address Selection

The address selected below must not collide with other PC104 boards. If you are using others, see their page and make sure their configuration doesn't collide with this board.

JP1 JP2 PLD Address PORT1 Address PORT2 Address
Off Off 0x280 0x100 0x140
On Off 0x290 0x180 0x1c0
Off On 0x2a0 0x200 0x240
On On 0x2b0 0x300 0x340

ETH1 and ETH2 require 64 I/O locations each. Refer to the ASIXAX88796B datasheet for further information.

IRQ Selection

IRQ Decode for ARM
IRQ7 IRQ6 IRQ5 PORT1 IRQ PORT2 IRQ
Off Off Off IRQ5 IRQ6
Off Off On IRQ6 IRQ5
Off On Off IRQ5 IRQ7
Off On On IRQ7 IRQ5
On Off Off IRQ6 IRQ6
On Off On IRQ6 IRQ7
On On Off IRQ7 IRQ6
On On On IRQ7 IRQ7
IRQ Decode for X86
IRQ6 IRQ5 PORT1 IRQ PORT2 IRQ
Off Off IRQ5 IRQ7
Off On IRQ7 IRQ5
On Off IRQ5 IRQ5
On On IRQ7 IRQ7

Register Map

Offset Bits Access Function
0x0 7-0 Read Only Board ID (0x2x)
0x1 7-0 Read Only PLD Revision
0x2 0 Read Only JP1 Status
1 Read Only JP2 Status
2 Read Only ARM Jumper status
3 Read Only IRQ5 Status
4 Read Only IRQ6 Status
5 Read Only IRQ7 Status
6 Read Write PORT1 LED Mode (1 = asix, 0 = ts)
7 Read Write PORT2 LED Mode (1 = asix, 0 = ts)

Our LED mode uses green when there is link, and orange when there is activity.

Linux Driver

The register map of ASIX AX88796B ethernet chip is NE2000 compatible, so driver support is straight-forward. Technologic Systems provides a Linux driver for the ASIX Ethernet interface suitable for both Kernel versions 2.4 and 2.6. The “mem” and “irq” parameters are available to set up I/O base address and IRQ line, respectively. In order to load the TS-ETH2 Linux 2.4 driver on the TS-7200 series, assuming only the ARM jumper ON, enter the following commands:

cp ax88796b.o ts-dual-eth1.o
cp ax88796b.o ts-dual-eth2.o
modprobe crc32.o
insmod ts-dual-eth1.o mem=0x100 irq=22
insmod ts-dual-eth2.o mem=0x140 irq=33

Should you want to use additional TS-DUALETH boards on a single system, make a copy of the driver or insert it using a different name. Notice that in some systems the kernel module “crc32.o” must be loaded before the TS-ETH2 driver. A Linux tool to program the MAC address on the EEPROM chip is also provided.

Product Notes

FCC Advisory

This equipment generates, uses, and can radiate radio frequency energy and if not installed and used properly (that is, in strict accordance with the manufacturer's instructions), may cause interference to radio and television reception. It has been type tested and found to comply with the limits for a Class A digital device in accordance with the specifications in Part 15 of FCC Rules, which are designed to provide reasonable protection against such interference when operated in a commercial environment. Operation of this equipment in a residential area is likely to cause interference, in which case the owner will be required to correct the interference at his own expense.

If this equipment does cause interference, which can be determined by turning the unit on and off, the user is encouraged to try the following measures to correct the interference:

Reorient the receiving antenna. Relocate the unit with respect to the receiver. Plug the unit into a different outlet so that the unit and receiver are on different branch circuits. Ensure that mounting screws and connector attachment screws are tightly secured. Ensure that good quality, shielded, and grounded cables are used for all data communications. If necessary, the user should consult the dealer or an experienced radio/television technician for additional suggestions. The following booklets prepared by the Federal Communications Commission (FCC) may also prove helpful:

How to Identify and Resolve Radio-TV Interference Problems (Stock No. 004-000-000345-4) Interface Handbook (Stock No. 004-000-004505-7) These booklets may be purchased from the Superintendent of Documents, U.S. Government Printing Office, Washington, DC 20402.

Limited Warranty

See our Terms and Conditions for more details.

Usage with 3rd party devices

Please note that while efforts are made to follow the PC/104 specification this peripheral is not tested with third party SBCs or connected peripherals. This card is not guaranteed to operate as intended when third party PC104 peripherals or SBCs are connected.