ReadBrg.txt 

The following directory contains a simple bridge application or router
using the QUICC.  It is provided to help give people some idea
of how to set up an Ethernet channel on the QUICC. 

Below are the release notes for the Simple Bridge Application:

OBJECTIVE:

           The simple bridge program was written to demonstrate the
           ability of the QUICC to handle two Ethernet channels.
           The QUADS board operates as a transparanet Ethernet bridge,
           it passes good Ethernet frames (no errors) from one channel
           to the other. In this demo we have checked that the QUICC can
           receive and transmit at the same time frames are back
           to back. 


HARDWARE SETUPS:   

           The bridge demo program is running from the master QUICC on
           the QUADS board. It useses SCC1 and SCC2 as etherenet channels.
           This means that an external board having two AUI's on, must be 
           connected to expension connector P2 of the QUADS.
           This board should have two SIA's (serial interface 
           adapter) one for each channel for addapting the QUICC to
           an Ethernet port. 
           The SIA generates the receive and transmit clock and as well 
           it sould support Rx/Tx data ,Rx/Tx clock, Rx/Tx enable and
           collision.
           The AUI port should get Rx/Tx data, Rx/Tx clock and a collision
           signal, from the SIA, to comply with the Ethernet specifications.

           The following table, lists the physical connection
           between the QUADS and the SIA.

           RxDAT    RxCLK     TxDAT    TxCLK     RENA    TENA     CLSN
SCC1  QUICC signal   PA0/RXD1 PA9/CLK2  PA1      PA8/CLK1  PC5/CD1 PC0/RTS1 PC4/CTS1
      QUICC pin no.  R8       T3        S7       R6        T17     R16      R15
      Exp conn pin   P2(A1)   P2A10     P2(A2)   P2(A9)    P2(B25) P2(B20)  P2(B24)

SCC2  QUICC signal   PA2/RXD2 PA11/CLK4 PA3/TXD2 PA10/CLK3 PC7/CD2 PC1/RTS2 PC6/CTS2
      QUICC pin no.  T6       R5        T5       S4        S15     S17      T16
      Exp conn pin   P2(A3)   P2(A12)   P2(A4)   P2(A11)   P2(B27) P2(B21)  P2(B26)

SOFTWARE:
The software is compiled with Microtech 68k cross compiler hosted on the
Sun. User can use any 68k cross compiler to compile the program. If he does
so, he should look at the linker command file 'bridge.cmd' and in 'entry.c' 
for initializations procedures.
Compilation falgs are as follows :
   -pCPU32 -     Microtech compiler flag for CPU type.
   -DSLOW  -     will set the interrupt done bit at the last buffer descriptor
                 to be transmited and will mask the SCCx event register with
                 RXF bit clear, this bit will be set again at transmit done 
                 interrupt routine.
  -DSHOW_STAT - If show statistic's flag is defined the program will send
                the statistic record RESULTS containing the counters throw
                the ADI connection and a "special" host program will display
                this record on the screen. If you use this flag be shure to
                use "special" host program and the ADI connection.

           The program start address is 0x410000 running from DRAM.

HOST-PROGRAM  - If using the SHOW_STAT flag during compilation use the
                special host (br_host.exe - for Pc and br_host for Sun).
                This special host behave like the host program but when
                starting the bridge application it sends a command to the 
                host identefing itself as this program,so all the I/O
                screen managment is done at the host side.


ENVIRONMENT & TESTING:

To activate the bridge, the QUADS board should be connected to two Lan's.
For testing purposes an Ethernet generator(s) (Lan Analyzer) could be
connected to a channel or both channels. 

A simpler connection can be done by hooking the Sun or a PC that layes on 
the Ethernet to one channel of the QUICC and connect the other channel to 
the network, and work through this bridge from the host.

 

