]> sigrok.org Git - sigrok-firmware-fx2lafw.git/blobdiff - README
README: Update usage instructions.
[sigrok-firmware-fx2lafw.git] / README
diff --git a/README b/README
index 026f56bd8223c2a6d1145bb2089383da3e7d86c9..e9b8c8dece8024c268de7d869ac2e5c124e60beb 100644 (file)
--- 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:<device>.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 <device>.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
 -------