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