M5200E-6
K
A
DAK
MPC5200 FEC Device Driver
MPC5200 FEC Ethernet
Device Driver Data Sheet (continued)
Configuring the MPC5200 FEC Ethernet Device Driver
Use the KwikNet Configuration Manager to edit your Network Parameter File to include
this Ethernet device driver. Assume that you require the following configuration for use
on the Motorola Lite5200 Evaluation Board.
MPC5200 FEC is to be used operating at 10Mbps.
Caching must be accommodated.
The Ethernet link must operate in half duplex mode.
PHY device wiring mode is 18-wire (MII).
The controller is to be assigned Ethernet address 0x00049F000A97.
KwikNet IRQ identifier 71 (0x47) identifies the BestComm Ethernet RX task as the
interrupt source.
KwikNet IRQ identifier 41 (0x29) identifies FEC channel 0 as the interrupt source.
2 transmit buffers and 8 receive buffers are required.
Enter the following five device driver parameters:
Parameter #1: 0x00040000
Parameter #2: 0x9F000A97
Parameter #3: 0
Parameter #4: 0x00470029
Parameter #5: 0x00020008
Generate your KwikNet Library Make File and use it to build your KwikNet Library.
Compile the KwikNet board driver module KN_BOARD.C.
Create the KwikNet MPC5200 BestComm Library KN5200E.A from the compiled object
modules for the device driver module M5200E.C, the pin assignment module
M5200EBS.C, the BestComm support module KN5200BC.C and the BestComm API and
microcode source files. Follow the instructions provided in Chapter 5 of the KwikNet
MPC5200 FEC Device Driver User's Guide.
Revise your KwikNet application link specification to include the board driver object
module KN_BOARD.O along with your application modules. Link library module
KN5200E.A after the KwikNet PPC32 Library KN383IP.A or the KwikNet Porting Kit
Library KN713IP.A.