From Technologic Systems Manuals (sandbox)
Product Page
FTP Directory

1 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.

2 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
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.

3 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.

4 IRQ Selection

IRQ Decode for ARM
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
Off Off IRQ5 IRQ7
Off On IRQ7 IRQ5
On Off IRQ5 IRQ5

5 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.

6 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.

7 Product Notes

7.1 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.

7.2 Limited Warranty

Technologic Systems warrants this product to be free of defects in material and workmanship for a period of one year from date of purchase. During this warranty period Technologic Systems will repair or replace the defective unit in accordance with the following process:

A copy of the original invoice must be included when returning the defective unit to Technologic Systems, Inc. This limited warranty does not cover damages resulting from lightning or other power surges, misuse, abuse, abnormal conditions of operation, or attempts to alter or modify the function of the product.

This warranty is limited to the repair or replacement of the defective unit. In no event shall Technologic Systems be liable or responsible for any loss or damages, including but not limited to any lost profits, incidental or consequential damages, loss of business, or anticipatory profits arising from the use or inability to use this product.

Repairs made after the expiration of the warranty period are subject to a repair charge and the cost of return shipping. Please, contact Technologic Systems to arrange for any repair service and to obtain repair charge information.