Difference between revisions of "Fx2lafw"

From sigrok
Jump to navigation Jump to search
(Eliminated crystal frequency. All fx2s must have 24MHz xtal)
Line 104: Line 104:
== Resources ==
== Resources ==


* [http://sigrok.git.sourceforge.net/git/gitweb.cgi?p=sigrok/fx2lafw;a=tree Browse Source Code]
* [http://sdcc.sourceforge.net/ sdcc] (C compiler for 8051 microcontrollers, usable for FX2)
* [http://sdcc.sourceforge.net/ sdcc] (C compiler for 8051 microcontrollers, usable for FX2)
* fx2lib: [http://sourceforge.net/projects/fx2lib/ SF project page], [http://allmybrain.com/2008/12/05/an-open-source-library-for-writing-firmware-on-the-cypress-fx2-with-sdcc/ blog article], [https://github.com/mulicheng/fx2lib github repo], [http://sourceforge.net/mailarchive/forum.php?forum_name=fx2lib-devel mailing list]
* fx2lib: [http://sourceforge.net/projects/fx2lib/ SF project page], [http://allmybrain.com/2008/12/05/an-open-source-library-for-writing-firmware-on-the-cypress-fx2-with-sdcc/ blog article], [https://github.com/mulicheng/fx2lib github repo], [http://sourceforge.net/mailarchive/forum.php?forum_name=fx2lib-devel mailing list]

Revision as of 11:12, 28 February 2012

fx2lafw is an open-source firmware for Cypress FX2 chips which makes them usable as simple logic analyzer hardware.

It is licensed under the terms of the GNU GPL (version 2, or later) and written in C, using sdcc as compiler, and fx2lib as helper library.

Note: This is work in progress. It does NOT work, yet!

Hardware overview

The fx2lafw firmware is meant to work on any FX2-based hardware, including logic analyzers, FX2 eval boards, or other hardware which has this chip on-board.

Here's a quick overview of some of the relevant hardware information we have about the various devices:

Device Probes (pins) FX2 package Buffer/ESD-protection Resistor per probe I2C EEPROM
Saleae Logic 8 (PB0-PB7) 56PVXC (SSOP) ST DVIULC6-4SC6 ? Ω ?
EE Electronics XLA ESLA100 8 (PB0-PB7) 56LFXC (QFN) NXP 74HC245D 100 Ω Atmel ATMLH911 02B 1
CWAV USBee SX 8 (PB0-PB7) 56PVXC (SSOP) none 560 Ω Microchip 24LC01B
Lcsoft Mini Board 16 (PB0-PB7, PD0-PD7) 56PVXC (SSOP) none none Shenzhen First-Rank Technology T24C128A
CWAV USBee AX ? ? ? ? Ω ?
EE Electronics ESLA201A 8 digital (PB0-PB7), 8 analog (PD0-PD7) 56LFXC (QFN) none 100 Ω Atmel ATMLH113
Braintechnology USB-LPS 16 56PVXC (SSOP) none ? 68 Ω Atmel ATML0816 TINY13 20SU
Robomotic MiniLogic 8 ? ? ? Ω ?

Download

$ git clone git://sigrok.git.sourceforge.net/gitroot/sigrok/fx2lafw

Building

$ cd fx2lafw
$ git clone git://github.com/mulicheng/fx2lib.git
$ make

Usage

$ cycfx2prog -id=vvvv:pppp prg:build/fx2lafw.ihx reset run delay:100

You have to provide the USB VID/PID of the FX2 device (before firmware upload) using the -id parameter.

Resources