X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=README;h=e9b8c8dece8024c268de7d869ac2e5c124e60beb;hb=8b13135e5fd175911ad9d8283b17fc97fe0c7709;hp=026f56bd8223c2a6d1145bb2089383da3e7d86c9;hpb=5d492e1866e88087934a2d006af6fc7e5762fd0d;p=sigrok-firmware-fx2lafw.git diff --git a/README b/README index 026f56bd..e9b8c8de 100644 --- a/README +++ b/README @@ -7,6 +7,7 @@ the Cypress EZ-USB FX2(LP) chip. It is licensed under the terms of the GNU GPL (version 2 or later). + Requirements ------------ @@ -16,9 +17,6 @@ On Debian you can install it via: $ apt-get install sdcc -In order to transfer the firmware onto the FX2 chip, you can use cycfx2prog: - - $ apt-get install cycfx2prog Building -------- @@ -28,16 +26,25 @@ Building $ git clone git://github.com/mulicheng/fx2lib.git $ make + Usage ----- - $ cycfx2prog -id=vvvv:pppp prg:.ihx reset run delay:100 +Copy the generated *.fw file for your device (e.g. fx2lafw-saleae-logic.fw) +into the $prefix/share/sigrok-firmware directory (create it, if needed). + +Replace $prefix with the install prefix of sigrok, e.g. /usr or /usr/local. + +Example (assuming /usr/local as $prefix): + + $ sudo mkdir /usr/local/share/sigrok-firmware -You have to provide the USB VID/PID of the FX2 device (before firmware -upload) using the -id parameter. + $ sudo cp hw/saleae-logic/build/fx2lafw-saleae-logic.fw \ + /usr/local/share/sigrok-firmware -Replace .ihx with the respective .ihx file from the -hw/*/build/ directory, e.g. hw/saleae-logic/build/fx2lafw-saleae-logic.ihx. +The sigrok frontends (command-line or GUI) will automatically search for +firmware files there and automatically use/upload them. + Website -------