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.