RAM 6.0 BUX II Series Guía de usuario Pagina 105

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 189
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 104
3 Porting a BSP to Custom Hardware
3.3 Finalizing Your BSP
97
3
All values are numeric—pciHeaderShow( ) does not make any attempt to
interpret register values.
-> pciHeaderShow(0,16,1)
vendor ID = 0x1033
device ID = 0x0035
command register = 0x0006
status register = 0x0210
revision ID = 0x41
class code = 0x0c
sub class code = 0x03
programming interface = 0x10
cache line = 0x08
latency time = 0x00
header type = 0x00
BIST = 0x00
base address 0 = 0x80001000
base address 1 = 0x00000000
base address 2 = 0x00000000
base address 3 = 0x00000000
base address 4 = 0x00000000
base address 5 = 0x00000000
cardBus CIS pointer = 0x00000000
sub system vendor ID = 0x14db
sub system ID = 0x0035
expansion ROM base address = 0x00000000
interrupt line = 0x17
interrupt pin = 0x02
min Grant = 0x01
max Latency = 0x2a
value = 0 = 0x0
->
VME Bus Interface Support
To include support for a VME bus interface, you must determine which VME bus
controller is used on your target system and include a driver for that controller. The
drivers for most standard VME bus controllers are located in target/src/drv/vme. If
the drivers in that directory are not applicable to your target system, you may need
to provide your own driver. In this case, the template VME driver (templateVme.c)
can be used as a starting point for a custom driver. However, if one of the standard
drivers provided is very similar to the device you are using, you may wish to use
that driver as a starting point. Your reference BSP may also include VME support
for your device (or a similar device). If this is the case, you can use the custom VME
driver included in the reference BSP.
In addition to the VME bus controller driver, you must configure the addresses to
use for the A16, A24, and A32 address spaces on the VME bus. Normally, the
macros
VME_A32_MSTR_LOCAL, VME_A32MSTR_SIZE, VME_A24_MSTR_LOCAL,
Vista de pagina 104
1 2 ... 100 101 102 103 104 105 106 107 108 109 110 ... 188 189

Comentarios a estos manuales

Sin comentarios