Access rights
The 5136-PFB-VME provides 8-bit access to objects in the short address space and 8-bit and 16-bit access to objects in the standard address space.
The VME master selects whether a particular bus cycle accesses the short address space,
the standard address space, or the long address space (extended address space) by using the address modifier code,
Extended Address Space, Standard Address Space, Extended Address Space, or Long Address Space
(Extended Address Space and Long Address Space are not used by the 5136-PFB-VME) for a particular bus cycle, as well as the type of access.
The card decodes these address modifier codes and determines the object to be accessed.
In addition to selecting one of the four available spaces on the VME bus, the address modifier code selects
- Whether the master is performing supervised or unprivileged accesses
- Whether the access is to program space or data space (all accesses except short address space)
- Whether it is a single object access or a block access
The 5136-PFB-VME can respond to address modifier codes 3Dh, 39h, 2Dh, and 29h.
Regulatory or unprivileged data accesses can be made to the standard address space (3Dh and 39h, respectively).
Supervised or unprivileged access to the short address space (2Dh and 29h, respectively) is available.
Accessing the board with an unsupported address modifier code results in a VMEbus error.
Bit 7 of the board DIP switch is used to select whether to allow supervisory access only, or both supervisory and unprivileged access.
Startup Card
Before using the 5136-PFB-VME card on ProfiBus, download the PFBPROFI software module to the card and configure and run the software module.
Download the software module to shared memory from the host computer, or download it to flash memory using the serial CONFIG port on the card.
The shared memory module is called vmeprofi.ss1. The module in flash memory is called vmeprofi.ssf.
To run the software module, load the appropriate initial boot record (IBR, see Section 2.7.3. Initial Boot Record) to the card.
There are two IBRs, one for running the module from flash memory and one for running the module from shared memory.
It is possible to install one module in flash memory and another in shared memory and run one or the other depending on the IBR used.
When the card is first received, the only software on the card is a short bootloader program in flash memory.
Use this bootloader to access the card and download the software modules to the card via the serial port.
Loading the VMEPROFI Module into Shared Memory from the Host Computer
Use the following steps to load vmeprofi.ss1 into shared memory from the host computer
Load vmeprofi.ss1 into shared memory from the host:
1. Ensure that the board processor is in a reset state by setting the CpuReset bit in the board control registers to 1.
2. Set the standard memory address using the address bits in the Memory Control Register and the Interrupt Control Register.
3. select the addressing mode (linear or paging) and enable the board memory. 4.
4. if using interrupts, initialize the interrupt ID register and enable interrupts in the interrupt control register.
5. copy vmeprofi.ss1 to shared memory on the card. In linear mode, copy the module starting at offset 0 only.
In paged mode, copy one 16 Kbyte module at a time and change pages as needed.
6. Write the shared memory initial boot record. In linear addressing mode, write base address + 3FF30h.
In paged mode, set the page register to FFh and write the IBR to base address + 3F30h.
wechat/whatsapp:
+86-181-4410-0983
Email: kongjiangauto@163.com
Copyright © 2009 - 2024 Cld , All Rights Reserved K-JIANG All rights reserved