Motorola MVME2700 Series Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour PC/postes de travail Motorola MVME2700 Series. VxWorks Device Driver User`s Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 32
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
..........
.
.
.
.
.
.
.
.
.
.
CMI
125 West Park Loop
Huntsville, AL 36806
Phone 256.722.0175
Fax 256.722.0144
Chandler/May, Inc.
VxWorks Device Driver
User’s Manual
VxWorks Device Driver Software for the
General Standards PMC-FLASH2
hosted on PowerPC and 80x86 Processors
Document number: 9005007 Revision: 1.0 Date: 10/20//99
Engineering Approval:
Date:
Quality Representative
Approval:
Date:
Vue de la page 0
1 2 3 4 5 6 ... 31 32

Résumé du contenu

Page 1

... . . . . . .. . . . CMI 125 West Park Loop Huntsville, AL 36806 Phone 256.722.0175 Fax 256.722.0144 Chandler/May, Inc. VxWorks Device Dr

Page 2

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 8 certain board support packages. This is due to the fact that PCI memory and I/O s

Page 3 - Acknowledgments

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 9 5.1 FLASH2DrvInstall() The FLASH2DrvInstall () function installs the device dri

Page 4

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 10 EXAMPLE: STATUS iStatus; /* Install the FLASH2 VxWorks Device Driver. */ iStatu

Page 5 - 2 Referenced Documents

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 11 5.2 FLASH2DrvRemove() The FLASH2DrvRemove() function is used to remove the FLA

Page 6 - 3 Making the Device Driver

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 12 5.3 open() The open() function is the standard VxWorks entry point to open a c

Page 7

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 13 5.4 close() The close() function is the standard VxWorks entry point to close

Page 8 - October 20, 1999 6

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 14 5.5 read() The read() function is the standard VxWorks entry point to receive

Page 9 - 5 Driver Interface

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 15 5.6 write() The write() function is the standard VxWorks entry point to write

Page 10 - October 20, 1999 8

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 16 5.7 ioctl() The ioctl() function is the standard VxWorks entry point to perfor

Page 11 - 5.1 FLASH2DrvInstall()

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 17 5.7.1 NO_COMMAND This is an empty driver entry point. This command may be giv

Page 13 - 5.2 FLASH2DrvRemove()

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 18 5.7.2 READ_REGISTER The READ_REGISTER function reads and returns the contents

Page 14 - 5.3 open()

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 19 DMA_CH_1_TRANS_BYTE_CNT DMA_CH_1_DESC_PTR DMA_CMD_STATUS DMA_MODE_ARB_REG DMA_TH

Page 15 - 5.4 close()

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 20 PCI_TO_LOC_ROM_RNG LOC_BASE_ADDR_REMAP_EXP_ROM BUS_REG_DESC_0_FOR_PCI_LOC DIR_MA

Page 16 - 5.5 read()

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 21 DEVICE_ID_VENDOR_ID REVISION_ID MAILBOX_REG_0 MAILBOX_REG_1 *** Messaging Queue

Page 17 - 5.6 write()

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 22 EXAMPLE: int FileDesc[2]; REG_PARAM theReg; ULONG ulValue; int

Page 18 - 5.7 ioctl()

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 23 5.7.3 WRITE_REGISTER The WRITE_REGISTER function writes a value to one of the

Page 19 - 5.7.1 NO_COMMAND

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 24 DMA_CH_1_DESC_PTR DMA_CMD_STATUS DMA_MODE_ARB_REG DMA_THRESHOLD_REG *** PCI Con

Page 20 - 5.7.2 READ_REGISTER

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 25 LOC_BASE_ADDR_REMAP_EXP_ROM BUS_REG_DESC_0_FOR_PCI_LOC DIR_MASTER_TO_PCI_RNG LOC

Page 21 - October 20, 1999 19

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 26 REVISION_ID MAILBOX_REG_0 MAILBOX_REG_1 *** Messaging Queue Registers *** OUT_P

Page 22 - October 20, 1999 20

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 27 EXAMPLE: int FileDesc[2]; REG_ PARAM theReg; ULONG ulValue = 0xFC000000;

Page 23 - October 20, 1999 21

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 1 Acknowledgments Copyright  1999, Chandler/May, Inc. (CMI) ALL RIGHTS RESERVED

Page 24

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 28 5.7.4 GET_DEVICE_ERROR The GET_DEVICE_ERROR function will return the error th

Page 25 - 5.7.3 WRITE_REGISTER

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 29 EXAMPLE: int FileDesc[2]; int FLASH2Slot = 1; int Status; /* Send the Get Devic

Page 26 - October 20, 1999 24

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 30 5.7.5 GET_BASE_ADDRESS The GET_BASE_ADDRESS function will return to the user t

Page 27 - October 20, 1999 25

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 2 1 DRIVER OVERVIEW...

Page 28 - October 20, 1999 26

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 3 1 Driver Overview The purpose of this document is to describe how to interface

Page 29

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 4 3 Making the Device Driver In order to use the FLASH2 Device Driver for a parti

Page 30 - 5.7.4 GET_DEVICE_ERROR

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 5 /* GS PMC-FLASH2 SRAM – PMC Site 1 */ { (void *) GS_FLASH2_PMC_1_LOCAL_A

Page 31

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 6 BSP File Name #define Value mv1603 mv1600.h CPU_PCI_ISA_MEM_ADRS 0xc000

Page 32 - 5.7.5 GET_BASE_ADDRESS

PMC-FLASH2 VxWorks Device Driver User’s Manual October 20, 1999 7 0xfd00 0000 pcore604 pcore60x.h Not Defined 0xb000 0000 jtt686 pci_vme.h

Commentaires sur ces manuels

Pas de commentaire