Difference between revisions of "Windows"

From sigrok
Jump to navigation Jump to search
m
(→‎Drivers: link to zadig / libwdi project pages, that provide info what it actually is - they have information to download their binaries anyway if the user wants to)
Line 19: Line 19:
In order to use [[libsigrok]] (via a sigrok frontend) on Windows, you need to install the proper driver for the respective device. The driver shipped with the vendor software is '''not''' going to work in almost all cases.
In order to use [[libsigrok]] (via a sigrok frontend) on Windows, you need to install the proper driver for the respective device. The driver shipped with the vendor software is '''not''' going to work in almost all cases.


For installing the drivers you can use the [http://sourceforge.net/projects/libwdi/files/zadig/ zadig] executable from the [http://sourceforge.net/projects/libwdi/ libwdi] project. There are two versions, one for Windows XP ('''zadig_xp.exe'''), and another one for all other supported Windows versions ('''zadig.exe''').
For installing the drivers you can use the [http://zadig.akeo.ie/ zadig] executable from the [https://github.com/pbatard/libwdi/wiki libwdi] project. There are two versions, one for Windows XP ('''zadig_xp.exe'''), and another one for all other (Vista or higher) supported Windows versions ('''zadig.exe'''). Both 32 and 64 bit Windows versions are supported.
The [[sigrok-cli]] and [[PulseView]] installers ship with both zadig executable files for convenience (they're located in the installation directory of the respective application).
The [[sigrok-cli]] and [[PulseView]] installers ship with both zadig executable files for convenience (they're located in the installation directory of the respective application).



Revision as of 18:55, 5 January 2014

PulseView on Windows

Windows installers

We provide experimental Windows installers for sigrok-cli and PulseView. Please test and report any issues you encounter.

Download: http://sigrok.org/download/binary/

Drivers

In order to use libsigrok (via a sigrok frontend) on Windows, you need to install the proper driver for the respective device. The driver shipped with the vendor software is not going to work in almost all cases.

For installing the drivers you can use the zadig executable from the libwdi project. There are two versions, one for Windows XP (zadig_xp.exe), and another one for all other (Vista or higher) supported Windows versions (zadig.exe). Both 32 and 64 bit Windows versions are supported. The sigrok-cli and PulseView installers ship with both zadig executable files for convenience (they're located in the installation directory of the respective application).

Devices where libsigrok uses libftdi (asix-sigma, chronovu-la8, ikalogic-scanaplus) will need the libusb-win32 driver, devices where libsigrok uses libusb-1.0 will need the WinUSB driver (all other USB devices).

Firmware

The Windows installers ship with all firmware files that are either open-source or where we have permission from the vendor to distribute them. Some devices will need other firmware which we cannot redistribute though. See the wiki page for the respective device on how you can extract those firmware files from the vendor's software.

You'll need to copy the extracted files into the firmware subfolder of the respective installation directory of sigrok-cli or Pulseview, e.g. C:\Program Files\sigrok\sigrok-cli\firmware or C:\Program Files\sigrok\PulseView\firmware.

Limitations and TODOs

We intend to fully support all major operating systems in sigrok, including Windows. However, we're not quite there, yet. Various portability issues and TODOs need to be addressed still. The table below lists some of the known remaining issues.

Driver/device Windows status
ikalogic-scanalogic2 HID-based, we need to use HIDAPI.
openbench-logic-sniffer Serial port portability fixes required (partially implemented, but unfinished).
link-mso19‎ Doesn't compile due to libudev dependency (Linux-only). TODO: Make libudev optional.
rigol-ds USB connection not supported yet (it's Linux-only), serial connection partially working.
uni-t-dmm HID-based, we need to use HIDAPI.
victor-dmm HID-based, we need to use HIDAPI.

Building from source

See Windows/Building.