]>
Commit | Line | Data |
---|---|---|
d5f5ea73 UH |
1 | ------------------------------------------------------------------------------ |
2 | fx2lafw | |
3 | ------------------------------------------------------------------------------ | |
4 | ||
5 | fx2lafw is a free/libre/open-source firmware for logic analyzers based on | |
6 | the Cypress EZ-USB FX2(LP) chip. | |
7 | ||
8 | It is licensed under the terms of the GNU GPL (version 2 or later). | |
9 | ||
8b13135e | 10 | |
d5f5ea73 UH |
11 | Requirements |
12 | ------------ | |
13 | ||
14 | In order to build fx2lafw you need the 'sdcc' compiler. | |
15 | ||
16 | On Debian you can install it via: | |
17 | ||
18 | $ apt-get install sdcc | |
19 | ||
d5f5ea73 UH |
20 | |
21 | Building | |
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 |
29 | Usage |
30 | ----- | |
31 | ||
8b13135e UH |
32 | Copy the generated *.fw file for your device (e.g. fx2lafw-saleae-logic.fw) |
33 | into the $prefix/share/sigrok-firmware directory (create it, if needed). | |
34 | ||
35 | Replace $prefix with the install prefix of sigrok, e.g. /usr or /usr/local. | |
36 | ||
37 | Example (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 |
44 | The sigrok frontends (command-line or GUI) will automatically search for |
45 | firmware files there and automatically use/upload them. | |
46 | ||
91f1e17f | 47 | |
d5f5ea73 UH |
48 | Website |
49 | ------- | |
50 | ||
51 | See the fx2lafw website for further information: | |
52 | ||
53 | http://sigrok.org/wiki/Fx2lafw | |
54 |