Motorola MVME2700 Series Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Części komputerowe Motorola MVME2700 Series. VxWorks Device Driver User`s Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 32
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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:
Przeglądanie stron 0
1 2 3 4 5 6 ... 31 32

Podsumowanie treści

Strona 1

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

Strona 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

Strona 3 - Acknowledgments

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

Strona 4

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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;

Strona 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

Strona 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

Strona 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

Strona 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

Strona 27 - October 20, 1999 25

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Komentarze do niniejszej Instrukcji

Brak uwag