]> sigrok.org Git - sigrok-firmware-fx2lafw.git/blame - README
Import fx2lib into fx2lafw directly.
[sigrok-firmware-fx2lafw.git] / README
CommitLineData
d5f5ea73
UH
1------------------------------------------------------------------------------
2fx2lafw
3------------------------------------------------------------------------------
4
5fx2lafw is a free/libre/open-source firmware for logic analyzers based on
6the Cypress EZ-USB FX2(LP) chip.
7
8It is licensed under the terms of the GNU GPL (version 2 or later).
9
8b13135e 10
d5f5ea73
UH
11Requirements
12------------
13
14In order to build fx2lafw you need the 'sdcc' compiler.
15
16On Debian you can install it via:
17
18 $ apt-get install sdcc
19
d5f5ea73
UH
20
21Building
22--------
23
060dc3fe 24 $ git clone git://sigrok.git.sourceforge.net/gitroot/sigrok/fx2lafw
d5f5ea73 25 $ cd fx2lafw
d5f5ea73
UH
26 $ make
27
8b13135e 28
d5f5ea73
UH
29Usage
30-----
31
8b13135e
UH
32Copy the generated *.fw file for your device (e.g. fx2lafw-saleae-logic.fw)
33into the $prefix/share/sigrok-firmware directory (create it, if needed).
34
35Replace $prefix with the install prefix of sigrok, e.g. /usr or /usr/local.
36
37Example (assuming /usr/local as $prefix):
38
39 $ sudo mkdir /usr/local/share/sigrok-firmware
d5f5ea73 40
8b13135e
UH
41 $ sudo cp hw/saleae-logic/build/fx2lafw-saleae-logic.fw \
42 /usr/local/share/sigrok-firmware
d5f5ea73 43
8b13135e
UH
44The sigrok frontends (command-line or GUI) will automatically search for
45firmware files there and automatically use/upload them.
46
91f1e17f 47
d5f5ea73
UH
48Website
49-------
50
51See the fx2lafw website for further information:
52
53 http://sigrok.org/wiki/Fx2lafw
54