Advertisement

Quick Links

sales@artisantg.com
artisantg.com
(217) 352-9330 |
|
Visit our website - Click HERE

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VM-DBA and is the answer not in the manual?

Questions and answers

Summary of Contents for Wiener VM-DBA

  • Page 1 sales@artisantg.com artisantg.com (217) 352-9330 | Visit our website - Click HERE...
  • Page 2 VM-DBA User Manual WIENER, Plein & Baus GmbH www.wiener-d.com Version 0.4...
  • Page 3 No part of this product, including the product and the software may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language in any form by any means with the express written permission of W-I VM-DBA is designed by JTEC Instruments. WIENER, Plein & Baus GmbH www.wiener-d.com...
  • Page 4: Table Of Contents

    VME chassis / bus slot location................5 User interface......................5 Firmware .......................5 VME Base Address....................6 VM-DBA LED Display ....................7 VM-DBA Software and Driver ..................9 VM-DBA USB driver installation on 32 and 64-bit MS Windows Systems....9 XXDBAWin Software ..................11 4.2.1 XXDBAWin software installation ..............11 4.2.2 General Setup....................12 4.2.3...
  • Page 5: General Description

    1 GENERAL DESCRIPTION VM-DBA is a new test and diagnostic module for VME / VME64x bus systems which visualizes activities on all VME bus lines on the set of front-panel LED’s, but also allows one to digitize individual waveforms of all these bus lines into 2kBit long storage memories, for a subsequent readout via VME or USB interfaces.
  • Page 6: Interface / Firmware Information

    VME master (typically in system slot 1 on the left) and the first slave module right of it.. Thus a suggested slot position would be slot 2. The VM-DBA should not be located left of a VME master or to the right of any other slave module.
  • Page 7: Vme Base Address

    VME Base Address The VM-DBA base addresses for all modes (A16/A24/A32) are set via jumpers in the JP 4 array on the PCB. A jumper that is inserted in the left position (below “1”) counts as a 1 in the base address bit pattern.
  • Page 8: Vm-Dba Led Display

    In the direct or “raw” mode, the LED’s indicate the actual state of the lines, while in latched mode, the states of the lines are captured either by the DTACK*, or by BERR*, or by BBSY*, or by a pseudo-DTACK* signal generated by VM-DBA itself. In the WIENER, Plein & Baus GmbH...
  • Page 9 The state of power lines +5V, +3.3V, +12V, and -12V and the SYSCLK line are displayed “as-is”. In addition to displaying the state of the VME bus lines, VM-DBA displays on selected LED’s its operating mode or state, as well as the occurrence of events of importance, as indicted in the table below.
  • Page 10: Vm-Dba Software And Driver

    VM-DBA USB driver installation on 32 and 64-bit MS Windows Systems DRIVER INSTALLATION 1. Connect VM-DBA to the computer via USB and power up the VME crate. 2. Run inf-wizard.exe from libusb-win32-bin-1.2.6.0 -> this will identify all USB devices and should find the WIENER VM-DBA among them 3.
  • Page 11 4. Ignore warning for unknown publisher WIENER, Plein & Baus GmbH www.wiener-d.com...
  • Page 12: Xxdbawin Software

    After installation the program group / program XXDBAWin should be added to the programs which can be used to start the program. To un-install the program use the Windows Control Panel >> Programs >> Programs and Features. WIENER, Plein & Baus GmbH www.wiener-d.com...
  • Page 13: General Setup

    VME master. Please refer to the VM-USB manual for programming and use of this controller. In case of VM-DBA operation through it’s USB port only the “VM/DBA” tab for setting and reading data as well as the “Flash Operations” tab for firmware upgrades are used. All other tabs are disabled.
  • Page 14: Irq Setup

    The LED display of VM-DBA freezes at the detection of BERR, requiring a reset to re- activate the display. IRQ-enabled mode VM-DBA generates an IRQ upon detecting a valid IRQ trigger. Subsequently VM-DBA handles the whole IRQ cycle. Passive mode The response of VM-DBA to VME commands is suppressed (with the exception of an unlocking sequence).
  • Page 15 In case of analyzing rare occurring VME bus failures / states it is possible to configure and start the VM-DBA bus analyzer for a certain condition and leave it without being connected via USB or running the XXDBAwin software. The red AQ LED indicates that the VM-DBA is in acquire mode.
  • Page 16: Vme Bus Analyzer - Example For Berr Condition

    1) Set the waveform acquisition trigger condition to “BusError” 2) Define the pre-trigger range to be large enough (example 900 = 9µs) in order to show the VME cycles which caused the bus error. WIENER, Plein & Baus GmbH www.wiener-d.com...
  • Page 17 BERR at time = 0 (trigger, shown with dashed line) and the last VME cycles about 8µs before the timed out which caused the bus error. The displayed lines can be changed by checking or un-checking the related fields. WIENER, Plein & Baus GmbH www.wiener-d.com...
  • Page 18: Vme Bus Analyzer - Example For Address Condition

    As an example the bus analyzer should be triggered when reading or writing to an address in the range 0x7000 to 0x7ffff, the AM value is ignored: 1) Set the waveform acquisition trigger condition to “A AND NOT AM” and the matching conditions for address (A) and address modifier (AM) WIENER, Plein & Baus GmbH www.wiener-d.com...
  • Page 19 8) To change the display it is possible to add or remove bus lines by selecting or unselecting those in the “Select Waves to Display” fields. WIENER, Plein & Baus GmbH www.wiener-d.com...
  • Page 20: Vme Bus Analyzer - Example For Irq Interrupt Triggered Event

    2) Change the IRQ logic condition in case needed, the default would trigger on any IRQ. (Please note that in this example the IRQ is generated by the VM-DBA on an incoming logic signal into the IN-Input. This is defined in the IRQ setup fields)
  • Page 21 Following the BCLR are the VME calls which are issued in response on the interrupt. Please see the detailed description of the VME interrupt handling in the VITA VME bus specification for further details. WIENER, Plein & Baus GmbH www.wiener-d.com...
  • Page 22: Vme / Usb Interface Architecture Description

    0x1000000 Write-Enable SPI memory 0x5000000 Erase SPI memory Note 1: Utility registers can be used for testing of write/read operations, but care should be taken that the stored values don’t interfere with their intended use. WIENER, Plein & Baus GmbH www.wiener-d.com...
  • Page 23: Usb Interface

    USB2 port of the VM-DBA using bulk-transfer mode. Borrowing from the USB language, the buffers to be written to the VM-DBA will be called Out Packets, and they are sent to pipe 0 of the USB port. The buffers to be read will be called In Packets, and they are read from pipe 2 of the USB port.
  • Page 24 The base address bits (the 5 most significant bits in the full VME address) are disregarded as it is presumed to apply to the VM-DBA itself. What is to follow the Address Word depends on the kind of transfer declared in the Header Word, such that The Address Word is the last word in all READ command sequences –...
  • Page 25: Using Libxxusb.dll Dynamic Link Library Functions

    XX-USB, containing the desired VME data. In the case of VM-DBA passes WRITE data to the registers or utility FIFO or returns the READ data from the registers or the waveform FIFOs to the USB interface.
  • Page 26 Executes stack array passed to the function and returns the data read from the VME bus In the case of VM-DBA, passes WRITE data to the utility FIFO of VM-DBA or reads waveform FIFO data and returns these to the USB interface...
  • Page 27 (OUT) packets and bulk-transfer (bulk write) these to the USB port for the subsequent interpretation by the processing FPGA. Since VM-DBA is always expected to return some data in response to an OUT packet, one must subsequently read (via bulk read) an IN packet from the USB interface.
  • Page 28: Guide To Using The Vme Bus Waveform Storage And Viewing Facility

    Guide to using the VME bus waveform storage and viewing facility VM-DBA is capable of storing the states of 95 VME bus lines in 2048 consecutive time steps at a rate of either 100 MS (mega samples per second) or 200 MS. The sampling rate is user- programmable.
  • Page 29: Setup Of The Waveform Acquisition

    REG_C at the base address of BADR32 + 12 (0xC) Bits 31 - 1 Function AMASK AMASK – Active trigger address bits. REG_D at the base address of BADR32 + 16 (0x10) Bits 13 - 8 6 - 0 Function TRAM AMMASK/IRQMASK WIENER, Plein & Baus GmbH www.wiener-d.com...
  • Page 30 ValTrig = ((IRQ AND IRQMASK) >0) 4. When the intended trigger code is greater than 3, do the following a. Write the trigger reference address TRA into REG_A at the base address of 4 WIENER, Plein & Baus GmbH www.wiener-d.com...
  • Page 31: Processing Of The Acquired Waveforms

    When in continuous waveform acquisition mode and upon the detection of a valid trigger signal, VM-DBA completes storage of waveforms as specified in the setup. At this time the red AQ LED should turn off and the blue LED labeled F4 should begin blinking. If this is not the case, begin the cycle from the beginning.
  • Page 32: Special Modes Of Operation

    SPECIAL MODES OF OPERATION For test purposes, VM-DBA may be set to operate in modes other than the default mode with the display reflecting the states of the VME bus lines latched or stretched at the last VME activity, and the unit responsive when addressed via VME or USB interface. The modes are largely similar to those offered by the predecessor module VDIS-2, except that they are here controlled by internal registers rather than by front-panel switches.
  • Page 33 IRQ-ID – IRQ level (1 – 7) IRQVECT – 8-bit identifier Interrupt Software Trigger Register at the base address of 32 (0x20) (A16 mode) Bits Function IRQ-RES IRQ_SET LED label Both bits are write-only toggle bitts. WIENER, Plein & Baus GmbH www.wiener-d.com...
  • Page 34: Protected Operations

    As far as the exit from the passive mode is concerned, unlocking is necessitated by the fact that while in passive mode, VM-DBA is not responsive to regular commands but still checks for the receipt of the “unlock” sequence. Then, upon detecting “unlock” it responds to the subsequent “exit from passive”...
  • Page 35: Selecting The Target Spi Memory

    Write to utility register Reg_a at offset = 8 the number of BLT “writes”, NumBLT, to the utility FIFO that triggers the automatic transfer of the content of WIENER, Plein & Baus GmbH www.wiener-d.com...
  • Page 36 The programming of the SPI memory is a complex operation requiring expertise. One is advised to use the XXDBAWin software to perform this operation either directly via the USB port of VM-DBA or via a VM-USB controller. WIENER, Plein & Baus GmbH...
  • Page 37: Irq Service Test

    IRQ SERVICE TEST VM-DBA allows one to test the integrity of the IRQ handling net in the VME crate by issuing, upon detecting a valid trigger signal, an IRQ on any of the seven IRQ1 – IRQ7 lines. Subsequently it responds to the IAQ/IAQIN/AS inquiry by the IRQ handler by placing on VME bus data lines 0 –...
  • Page 38: Firmware Upgrade Procedure

    10 FIRMWARE UPGRADE PROCEDURE The VM-DBA firmware can be updated through either the USB port or via VME by using the VM-USB controller. Please use the XXDBAWin program and get the latest firmware file from the www.wiener-d.com web site. 1. Check Base address of VM-DBA (following example shown for factory default Base address 0x78000000).
  • Page 39 For upgrade via VME type in value for A32 Base Address (7800 0000 for factory default). This value is not used and can be ignored for upgrade via USB. Click on program and select the right firmware file WIENER, Plein & Baus GmbH www.wiener-d.com...
  • Page 40 When erasing the old firmware and programming flashing LED’s on the VM-DBA will indicate the upgrade. 4. Reboot VM-DBA: Reboot the VM-DBA by clicking on Reboot or power cycle the VME crate. WIENER, Plein & Baus GmbH www.wiener-d.com...
  • Page 41: Appendix A: Sample Vm-Dba Command Stacks

    11 APPENDIX A: SAMPLE VM-DBA COMMAND STACKS Stack entries below are shown in hexadecimal half-words to be packed into array arguments of xxusb_stack_execute (array of longwards) or xxusb_longstack_execute (array ou unsigned integers). A. Simple A32 WRITE command Writing 0x12345678 into utility register Reg_a The following stack is target for xxusb_stack_execute and must be therefore packed into an array of 32-bit integers –...
  • Page 42 0x40 = 64 words per BLT 5. 0020 0x20 = 32 blocks to be read 6. 0000 7. 0100 address offset for the Address waveform FIFO 8. 0000 Note: xxusb_longstack_execute returns 2048 32-bit data words. WIENER, Plein & Baus GmbH www.wiener-d.com...

Table of Contents