|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PCI PC Configuration Tips | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |
APPLICATION NOTE
PC Configuration Tips PCI Imaging Boards 1 JUNE 2001 For use with: EPIX® Imaging Hardware EPIX® Imaging Software Copyright © 2001 EPIX, Inc. No part of this document may be reproduced, transmitted, photocopied, or translated into another language without the written consent of EPIX, Inc. Information in this document is subject to change without obligation or notice. EPIX, Inc. makes no warranty of any kind with regard to this document, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. EPIX, Inc. assumes no responsibility for any errors that may appear in this document. EPIX, Inc. reserves the right to make changes to the specifications of hardware and software at any time, without obligation or notice. 1. PC Configuration Tips - PCI and Plug & Play CardsRequired Resources. EPIX® imaging products which are ''Plug & Play'' compatible are assigned resources automatically by BIOS, Windows, or other operating system. The Plug & Play compatible EPIX® imaging boards, current and superceded models, are:
The Plug & Play system can perform conflict free configuration only if all add-in cards are Plug & Play; presence of an ISA legacy card can't be detected by Plug & Play, and resources used by the legacy card may be reassigned. The conflicting resource is often an interrupt (IRQ). The BIOS Setup of most Plug & Play PC's have options such as:
These are provided so that the user can mark as ''Used'' all IRQ's
utilized by an ISA card; any IRQ's not so marked may be assigned
and/or shared among the Plug & Play cards.
The Plug & Play system is designed to automatically assign resources in a nonconflicting manner. However, resources are still limited, and there is no guarantee that every card will have its requirements fulfilled. Systems differ in how they notify the user of insufficient resources. If a Plug & Play card can't be detected by its software, try removing other Plug & Play cards to free various resources. The Plug & Play system may assign multiple cards to share the same interrupt. Depending on the characteristics of the two (or more) devices sharing an interrupt, one or both devices may always work, may never work, or may work intermittently. Test for IRQ sharing by using XCAP:
If the Open succeeds, then the IRQ was not being shared. If the
Open does not succeed and a ''Configuration Error or Fault'' dialog
is shown with a message such as ''Bad or conflicting IRQ'', then
the IRQ was being shared with another device. This tests for conflict,
but does not resolve the conflict.
IRQ sharing may or may not work, depending upon the various devices involved. On some motherboards, IRQs are assigned by physical slot; try moving the PIXCI® imaging board to a different slot. On other motherboards, the BIOS may allow assigning IRQs to different slots; or may at least allow specifying which IRQ's are to be parceled out amongst all slots. Under Windows 95/98, on some motherboards, the Windows Device Manager may be able to change the assigned IRQ. In the Control Panel, System, Device Manager, click ''Computer'', ''Properties'', ''Interrupt Request (IRQ)'' to display a list of devices and their IRQ's. Find the device using the same IRQ as the PIXCI® imaging board. In the Device Manager, highlight the offending card and click ''Properties'', ''Resources''. Uncheck ''Use automatic settings'', highlight the IRQ, click ''Change Setting'', and select a different IRQ. Imaging boards without on-board memory use PCI bus master mode (i.e. DMA) to transfer image data to the PC's memory in real time. The available bandwidth of PCI motherboards differs widely; not all PCI motherboards can support continuous, full field, real time capture into PC memory. Some motherboards may not support Bus Mastering in every PCI slot; the motherboard's documentation should describe which slots may be used. Also, some older motherboards may have PCI slots, but are not Plug & Play compatible; the BIOS Setup screens may require manual enabling of master mode and assignment of IRQ's for each PCI slot:
Older motherboards may initialize with PCI Burst Mode deactivated; other motherboards may not support PCI Burst Mode at all. PCI Burst Mode is critical to utilizing the full bandwidth of the PCI bus. Some versions of BIOS Setup allow enabling PCI Burst Mode:
Older S/VGA cards may not operate properly with Burst Mode enabled;
consult the S/VGA card manufacturer for updated drivers which allow
use of Burst Mode.
The Windows 95/98 automatic recognition and installation of PCI cards is dependent upon each PCI card's unique ID, and gets confused if there are two or more different cards with the same ID, even if one of them is no longer installed. For example, the PIXCI® SV2 and SV3 imaging board ID's are determined by a Philips PCI Bus Interface chip, and thus share the same ID as other cards using the same chip. Similarly, the PIXCI® SV4 and SV5 imaging board ID is determined by a Brooktree PCI Bus Interface chip. Before automatic installation of the PIXCI® imaging board's drivers can succeed, the Windows 95/98 registry entries and .INF files for all impostors must be removed:
Later versions of Windows NT may re-allocate PCI resources allocated by BIOS, when it possibly ''moves the PCI device resources on top of another PCI device that has not yet been claimed'' (Microsoft article Q152044). This may be prevented by adding the /PCILOCK to a C:\BOOT.INI entry, for example:
Do not copy this new line exactly as is; the first
portion of the line must be copied from an existing configuration
line in your C:\BOOT.INI file.
Some versions of BIOS may have a setting to select the operating system:
These systems might run under Windows NT with the wrong BIOS setting,
but Plug & Play PCI cards may not operate correctly.
For application programs running under DOS or Windows 95/98, the presence of EMM386 may prevent proper operation of bus mastering PCI cards. The EMM386.SYS should be removed from CONFIG.SYS. Generally: If the PC halts or reboots after the PIXCI® imaging board has been opened but is not yet capturing video, the problem may be an IRQ or other resource conflict; see IRQ Sharing, above. If the PC halts or reboots only after a bus mastering (DMA) type of PIXCI® imaging board is capturing video, the problem may be insufficient bandwidth on the PCI bus. See Bus Mastering, above, and check that burst mode is enabled. Also, in XCAP, use:
and reduce the horizontal resolution (i.e. data pixels per line)
to (approximately) 1/4 or 1/10 of the previous value. If video can
be successfully captured (without concern for the truncated appearance),
then PCI bus bandwidth was likely insufficient.
Note that PIXCI® SV2, SV3, SV4, and SV5 imaging boards are, by default, configured for capturing color pixels. For monochrome cameras, using:
to specify RS-170 format (or CCIR where appropriate) will reduce
the bandwidth requirements (and actually improve the image sharpness!).
Also note that in color mode PIXCI® SV4 and SV5 imaging boards
transfer 3 bytes per pixel (RGB); they can be reconfigured to transfer
2 bytes per pixel (UYVY) decreasing PCI bandwidth requirements at
the expense of increasing CPU overhead.
Note that PCI type S/VGA cards will consume PCI bus bandwidth, leaving less bandwidth available for video capture. Using an AGP type S/VGA card will help alleviate PCI bus bandwidth problems. DOS versions of EPIX® imaging software will not work with PCI bus mastering cards when run under a DOS prompt under Windows. Either boot to real DOS, or under Windows 95/98 use ''Start'', ''Shut Down'', and ''Restart the Computer in MS-DOS Mode''. 2. PC Configuration Tips - Miscellaneous The XCIP program for DOS supports Super VGA adapters which provide VESA BIOS support. Adapters without VESA BIOS support will be operated in VGA mode. Within MSD[1], the ''V'' command will show whether VESA BIOS support is available. For adapters lacking VESA BIOS support, a TSR (Terminate and Stay Resident program) supplied by the Super VGA adapter manufacturer must be loaded before XCIP is run. For S/VGA modes which provide 224 colors, (the default choice of XCIP for DOS when used with color video), some S/VGA cards require 2 Mbyte of S/VGA memory, but allow switching to this mode even when only 1 Mbyte of memory is installed. The symptom is a VGA screen wraparound, which appears about 5 text lines from the top and/or bottom. Additional memory should be added to the S/VGA card, a different S/VGA card used, or XCIP advised to forgo color display by use of the ''-svga 640x480x8'' command line option. The XCIP and XCAP programs for Windows display images on the S/VGA monitor. The quality of the displayed images is dependent on Window's settings and operation of the S/VGA card. The default Windows 95 installation, for example, may use the 16 Color setting, resulting in poor quality image display! For Windows 95/98 and Windows NT, the settings can be modified in the ''Control Panel'', ''Display'', ''Settings''. For the XCIP program for Windows, a ''256 Color'' setting is suggested for display of monochrome images, a ''True Color (24 bit or 16777216 Color)'' or ''True Color (32 bit)'' setting is suggested for display of color or pseudo-colored images. For the XCAP program for Windows, a ''High Color (16 bit or 65536 Color)'', ''True Color (24 bit or 16777216 Color)'', or ''True Color (32 bit)'' setting for the display adapter (S/VGA) is required for proper display of images and overlay graphics; the ''True Color (24 bit or 16777216 Color)'' or ''True Color (32 bit)'' is suggested for higher quality, and quicker, display of images and overlay graphics. Also, in Windows 95, under ''Control Panel'', ''Display'', ''Plus!'', the ''Show window contents while dragging'' must be disabled (this feature is not present in older versions of Windows 95). Or in Windows 98 or 2000, under ''Control Panel'', ''Display'', ''Effects'', the ''Show window contents while dragging'' should be disabled. After changing the settings a full shutdown and CTRL+ALT+DEL reboot should be used. (The quick restart offered by older versions of Windows 95, and the dynamic VGA reconfiguration performed by newer versions of Windows 95/98, may not re-initialize all devices properly). Under Windows 95/98, when using EPIXXC.SYS to allocate large amounts of frame buffer memory, problems may arise if other devices require memory within a specific range of physical addresses. In particular ATI S/VGA cards and some 3COM network interface cards appear to require memory below 64 Mbyte. Memory for these needs can be reserved with the:
parameter to EPIXXC.SYS. Using ''-MH 1024'' is sufficient for ATI
cards, using ''-MH''8192 or ''-MH''16384 is sufficient for the 3COM
3C900.
Some versions of EPIX® imaging software are provided with an authorization key which must be connected to printer parallel port 1, 2, or 3. Should software advise that the authorization key is not found:
When installing EPIX® imaging software obtained from the EPIX, Inc. FTP site, the file downloaded is a single .exe file which, when executed, asks which directory should be created, and expands into several files in that directory. Often, the file downloaded has the same name as a file which is to be created; causing a problem if the downloaded .exe file is placed into, and executed from, the same directory chosen as the location for the expanded files. Either download the .exe file into the root or a different directory (you can remove it after the installation is complete) or change its name before execution, such as:
If the mouse cursor blinks on and off while the mouse cursor is positioned over the live video image display, either:
Under Windows NT, the auto configuration performed while booting sometimes identifies certain cameras with RS-232 controls as a serial mouse. Any COM port used for such as camera becomes unavailable to an application such as XCAP. A simple solution is to leave the camera powered off or disconnected while booting. Alternately, in Control Panel, Services or Devices, the ''sermouse'' service can be set to manual. Alternately, the boot.ini file can be edited adding:
to the end of any or all boot descriptor lines, such as:
3. Footnotes
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Modified: 07-Mar-2006 |
Specifications and prices subject to change without notice. EPIX® imaging products are made in the USA. EPIX, SILICON VIDEO, and PIXCI are registered trademarks of EPIX, Inc. 4MIP, SVIP, XCIP, XCAP, 4MEG VIDEO, 1MEG VIDEO, SILICON VIDEO MUX, QUICK SET VIDEO, 12-7 MUX, IMAGE MEMORY EXPANSION, COC40, COC402, CL3SD, 4MOBJ, SVOBJ, XCOBJ, XCLIB, PXIPL, and XCLIBIPL are trademarks of EPIX, Inc. Other brand, product, and company names are trademarks or registered trademarks of their respective owners. Copyright © 2008 EPIX, Inc. All rights reserved. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||