Motorola MPC5200 user manual

User manual for the device Motorola MPC5200

Device: Motorola MPC5200
Category: Network Card
Manufacturer: Motorola
Size: 0.13 MB
Added : 8/25/2013
Number of pages: 28
Print the manual

Download

How to use this site?

Our goal is to provide you with a quick access to the content of the user manual for Motorola MPC5200. Using the online preview, you can quickly view the contents and go to the page where you will find the solution to your problem with Motorola MPC5200.

For your convenience

If looking through the Motorola MPC5200 user manual directly on this website is not convenient for you, there are two possible solutions:

  • Full Screen Viewing - to easily view the user manual (without downloading it to your computer), you can use full-screen viewing mode. To start viewing the user manual Motorola MPC5200 on full screen, use the button Fullscreen.
  • Downloading to your computer - You can also download the user manual Motorola MPC5200 to your computer and keep it in your files. However, if you do not want to take up too much of your disk space, you can always download it in the future from ManualsBase.
Motorola MPC5200 User manual - Online PDF
Advertisement
« Page 1 of 28 »
Advertisement
Print version

Many people prefer to read the documents not on the screen, but in the printed version. The option to print the manual has also been provided, and you can use it by clicking the link above - Print the manual. You do not have to print the entire manual Motorola MPC5200 but the selected pages only. paper.

Summaries

Below you will find previews of the content of the user manuals presented on the following pages to Motorola MPC5200. If you want to quickly view the content of pages found on the following pages of the manual, you can use them.

Abstracts of contents
Summary of the content on the page No. 1

®
KwikNet
MPC5200 FEC
Device Driver
User's Guide
Version 3
First Printing: November 15, 2004
Last Printing: September 15, 2005
Manual Order Number: PN383-9E
Copyright © 2004 - 2005
KADAK Products Ltd.
206 - 1847 West Broadway Avenue
Vancouver, BC, Canada, V6J 1Y5
Phone: (604) 734-2796
Fax: (604) 734-8114

Summary of the content on the page No. 2

Summary of the content on the page No. 3

TECHNICAL SUPPORT KADAK Products Ltd. is committed to technical support for its software products. Our programs are designed to be easily incorporated in your systems and every effort has been made to eliminate errors. Engineering Change Notices (ECNs) are provided periodically to repair faults or to improve performance. You will automatically receive these updates during the product's initial support period. For technical support beyond the initial period, you must purchase a Technical Suppo

Summary of the content on the page No. 4

Copyright © 2004-2005 by KADAK Products Ltd. All rights reserved. No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language or computer language, in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual or otherwise, without the prior written permission of KADAK Products Ltd., Vancouver, BC, CANADA. DISCLAIMER KADAK Products Ltd. makes no representations or warranties with respect to the

Summary of the content on the page No. 5

KwikNet MPC5200 FEC Device Driver User's Guide Table of Contents Page 1. Introduction 1 2. Installation 2 3. Configuring the Network 3 4. Configuring the Device Driver 4 5. Making the KwikNet MPC5200 BestComm Library 5 6. Special Considerations 7 6.1 BestComm Initialization ...................................................................... 7 BestComm FEC Initialization.............................................................. 8 MPC5200 Register Support ...........................

Summary of the content on the page No. 6

This page left blank intentionally. iv KwikNet MPC5200 FEC Device Driver KADAK

Summary of the content on the page No. 7

KwikNet MPC5200 FEC Device Driver 1. Introduction The Motorola PowerPC MPC5200 includes a single channel Fast Ethernet Controller (FEC) that supports 10Mbps and 100Mbps data transfer rates. The FEC can operate only in conjunction with the MPC5200 BestComm DMA Engine that provides DMA services to a number of MPC5200 subsystems. The BestComm engine is driven by its private tasks which execute from microcode located in the MPC5200 static RAM memory. These tasks are not to be confused with tasks

Summary of the content on the page No. 8

2. Installation The KwikNet MPC5200 FEC Ethernet Device Driver is provided on the KwikNet CD-ROM. The installation process installs the driver files in directory KNT303\KN5200E within an installation directory of your choice. Note that this directory is separate from the KwikNet PPC32 installation directory KNT383 or the KwikNet Porting Kit installation directory KNT713. The driver files are installed in the following subdirectories within installation directory KNT303\KN5200E: ERR Constructi

Summary of the content on the page No. 9

3. Configuring the Network You must define each network that your application supports. You can dynamically add a network interface at runtime. Alternatively, you can define your network interface in your KwikNet configuration. Networks defined in this manner will be prebuilt for you when KwikNet is started. To add a prebuilt MPC5200 Ethernet network interface definition to your KwikNet Library, use the KwikNet Configuration Manager to edit your Network Parameter File. The network parameters

Summary of the content on the page No. 10

4. Configuring the Device Driver You must define the KwikNet device driver attached to each network interface that your application supports. If you call KwikNet procedure kn_ifadd() to dynamically add a network interface at runtime, you must provide the device driver definition as a parameter in the call. If you specify a prebuilt network, you must define its device driver by using the KwikNet Configuration Manager to edit your KwikNet Network Parameter File. The driver parameters are edited

Summary of the content on the page No. 11

5. Making the KwikNet MPC5200 BestComm Library The make process depends upon the structure of the KwikNet MPC5200 FEC Ethernet Device Driver installation directory KN5200E. When the driver is installed, the following subdirectories are created within directory KN5200E. ERR Construction error summary M5200E Driver source and header files M5200BC BestComm API and microcode source and header files MAKE Construction make directory TOOLXXX Toolset specific files TOOLXXX\LIB Toolset specific library

Summary of the content on the page No. 12

Creating the Driver Library The KwikNet MPC5200 BestComm Library must be constructed from within the driver installation directory KN5200E\MAKE. To create the library, proceed as follows. From the Windows Start menu, choose the MS-DOS Command Prompt from the Programs folder. Make the driver installation KN5200E\MAKE directory the current directory. To use Microsoft's NMAKE utility, issue the following command. NMAKE -fKN5200E.MAK "TOOLSET=XXX" "TRKPATH=treckpath" The make symbol TOOLSET is def

Summary of the content on the page No. 13

6. Special Considerations 6.1 BestComm Initialization The KwikNet MPC5200 FEC Ethernet Device Driver depends upon the BestComm API and microcode supplied by Freescale Semiconductor, Inc. The BestComm microcode must be loaded into memory and initialized once prior to initialization of any of the subsystems that it supports. Each subsystem, such as the FEC, must then start and assume control of the BestComm tasks upon which the subsystem depends. Initialization of the BestComm firmware presents

Summary of the content on the page No. 14

BestComm FEC Initialization The KwikNet MPC5200 FEC device driver must initialize the BestComm FEC receive and transmit tasks to match the driver's configured requirements. Unfortunately, the BestComm FEC initialization must only be performed once. However, the MPC5200 FEC driver can be opened and closed many times as KwikNet operates. Each time the driver is opened, it must initialize the FEC hardware but it must only initialize the BestComm FEC subsystem once. To meet this requirement, an F

Summary of the content on the page No. 15

6.2 BestComm Source Code Modifications KADAK has successfully used the BestComm API and firmware source code without modification using the Metrowerks software development tools. All modules have been successfully compiled without warnings or errors. However, when the BestComm source code is compiled using the Diab (Wind River) or MetaWare tools, numerous warnings and some errors are encountered. KADAK has made no attempt to review or repair the source code which generated warnings. However,

Summary of the content on the page No. 16

6.3 MPC5200 Interrupt Exceptions The PowerPC MPC5200 interrupt management subsystem is incredibly complex. All device interrupt sources are funneled through three PowerPC exceptions in the processor Exception Vector Table. Normal interrupt sources are vectored to the external interrupt exception at offset 0x0500. Critical interrupts, including all interrupt requests generated by the BestComm DMA Engine, are vectored to the critical interrupt exception at offset 0x0A00. Other internal interr

Summary of the content on the page No. 17

The base vector for the block of interrupt vectors within the AMX Vector Table is specified by you in your AMX Target Configuration Module. Use the AMX Configuration Manager to edit your Target Parameter File and enter your definitions on the Exceptions property page. Note that a Warning will always be displayed indicating that the three MPC5200 exceptions share a common, overlapping region of the AMX Vector Table. The warning can be safely ignored. The MPC5200 FEC device driver provides supp

Summary of the content on the page No. 18

6.4 Configuring the Physical Device The Ethernet transceiver device (PHY) is configured by function kn_5200_pcon_fec() in the driver's pin assignment and board setup module M5200EBS.C. The PHY is configured each time the device driver is called by the KwikNet Ethernet network driver to open the network interface for use by the application. The PHY wiring mode is determined by an attribute setting in the device driver parameter list (see Appendix A). If attribute bit W is 0, the 18-wire (MII)

Summary of the content on the page No. 19

Mode 2: Periodic Sampling By default, the MPC5200 FEC device driver is configured to use a third, preferred method of operation. The driver uses a KwikNet timer to periodically sample the PHY, watching for the auto-negotiation to complete. The sampling period, the wait interval and an additional post-negotiation delay are all configurable parameters. By default, the driver samples at the KwikNet clock frequency for up to 3 seconds, with no additional delay. The device driver reports the succe

Summary of the content on the page No. 20

Appendix A. MPC5200 FEC Device Driver Data Sheet The KwikNet Device Driver Technical Reference Manual describes the design and implementation requirements for all KwikNet device drivers. Appendix C of that manual illustrates the layout of a data sheet used to describe each unique KwikNet device driver. The KwikNet MPC5200 FEC Ethernet Device Driver conforms to the naming conventions and operating specifications presented in the KwikNet Device Driver Technical Reference Manual. The following d


Alternative user manuals
# User manual Category Download
1 Motorola 3460 User manual Network Card 24
2 Motorola 68000 User manual Network Card 27
3 Motorola 3460 Fast'R User manual Network Card 18
4 Motorola Canopy Backhaul Module User manual Network Card 469
5 Motorola BLE87 User manual Network Card 6
6 Motorola CG3500 User manual Network Card 5
7 Motorola and V.32bis User manual Network Card 7
8 Motorola 3460 Fast'R Plus User manual Network Card 2
9 Motorola Canopy Powerline MU User manual Network Card 9
10 Motorola CML12S-DP256 User manual Network Card 2
11 Motorola D200 User manual Network Card 33
12 Motorola ColdFire MCF5281 User manual Network Card 1
13 Motorola Communications Gateway User manual Network Card 5
14 Motorola ColdFire MCF5282 User manual Network Card 7
15 Motorola LPCI810 User manual Network Card 3
16 Sony BTA-NW1A User manual Network Card 2
17 Sony BKMW-E3000 User manual Network Card 2
18 Sony AC-SQ950D User manual Network Card 0
19 Sony BBV RX100 User manual Network Card 3
20 Sony CLIE A-AVZ-100-11 User manual Network Card 1