]> sigrok.org Git - sigrok-firmware-fx2lafw.git/blame - README
Cosmetics.
[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
10Requirements
11------------
12
13In order to build fx2lafw you need the 'sdcc' compiler.
14
15On Debian you can install it via:
16
17 $ apt-get install sdcc
18
19In order to transfer the firmware onto the FX2 chip, you can use cycfx2prog:
20
21 $ apt-get install cycfx2prog
22
23Building
24--------
25
060dc3fe 26 $ git clone git://sigrok.git.sourceforge.net/gitroot/sigrok/fx2lafw
d5f5ea73
UH
27 $ cd fx2lafw
28 $ git clone git://github.com/mulicheng/fx2lib.git
29 $ make
30
31Usage
32-----
33
91f1e17f 34 $ cycfx2prog -id=vvvv:pppp prg:<device>.ihx reset run delay:100
d5f5ea73
UH
35
36You have to provide the USB VID/PID of the FX2 device (before firmware
37upload) using the -id parameter.
38
91f1e17f
UH
39Replace <device>.ihx with the respective .ihx file from the
40hw/*/build/ directory, e.g. hw/saleae-logic/build/fx2lafw-saleae-logic.ihx.
41
d5f5ea73
UH
42Website
43-------
44
45See the fx2lafw website for further information:
46
47 http://sigrok.org/wiki/Fx2lafw
48