]> sigrok.org Git - sigrok-firmware-fx2lafw.git/log
sigrok-firmware-fx2lafw.git
11 years agoImport fx2lib into fx2lafw directly.
Uwe Hermann [Wed, 18 Jul 2012 09:31:24 +0000 (11:31 +0200)]
Import fx2lib into fx2lafw directly.

We want a local fx2lib copy in fx2lafw for various reasons, e.g. to make
life simpler for all distros (none of which ship any fx2lib packages,
and neither would it make sense to do so really), and as we'll want/need
local changes to fix build issues and possibly other stuff anyway.

This copy of fx2lib is not the main upstream version from

  git://github.com/mulicheng/fx2lib.git

which has been last updated in 2010, but rather from

  git://github.com/ubixum/fx2lib.git

The only difference is that the latter contains one patch which fixes
some issues with more recent sdcc versions (interrupt vs. __interrupt,
_asm vs. __asm, xdata vs. __xdata__, and many others).

The imported fx2lib copy is "416c104cbd" from Feb 12, 2012.

11 years agoREADME: Update usage instructions.
Uwe Hermann [Mon, 25 Jun 2012 23:47:27 +0000 (01:47 +0200)]
README: Update usage instructions.

11 years agoCosmetics.
Uwe Hermann [Thu, 10 May 2012 21:55:33 +0000 (23:55 +0200)]
Cosmetics.

11 years agoSupport wide sampling
Joel Holdsworth [Mon, 7 May 2012 14:58:04 +0000 (15:58 +0100)]
Support wide sampling

11 years agoAdded support for 100kHz and 50kHz sampling
Joel Holdsworth [Mon, 7 May 2012 11:42:45 +0000 (12:42 +0100)]
Added support for 100kHz and 50kHz sampling

11 years agoRemoved a magic number
Joel Holdsworth [Fri, 20 Apr 2012 18:56:11 +0000 (19:56 +0100)]
Removed a magic number

11 years agoMade the DP state the DATA sample state
Joel Holdsworth [Thu, 19 Apr 2012 20:02:50 +0000 (21:02 +0100)]
Made the DP state the DATA sample state

11 years agoMoved GPIF state generator code into helper functions
Joel Holdsworth [Thu, 19 Apr 2012 20:00:16 +0000 (21:00 +0100)]
Moved GPIF state generator code into helper functions

11 years agofx2lafw: Support for querying REVID.
Uwe Hermann [Sun, 6 May 2012 17:47:04 +0000 (19:47 +0200)]
fx2lafw: Support for querying REVID.

11 years agofx2lafw: Add Braintechnology USB-LPS support.
Uwe Hermann [Sun, 6 May 2012 15:10:23 +0000 (17:10 +0200)]
fx2lafw: Add Braintechnology USB-LPS support.

12 years agocypress-fx2/Makefile: Add missing 'fx2lafw-' prefix.
Uwe Hermann [Wed, 18 Apr 2012 22:45:29 +0000 (00:45 +0200)]
cypress-fx2/Makefile: Add missing 'fx2lafw-' prefix.

Otherwise the generated .fw filename will be incorrect.

12 years agoAdded support for Default Cypress FX2 without EEPROM
Joel Holdsworth [Wed, 18 Apr 2012 21:25:15 +0000 (22:25 +0100)]
Added support for Default Cypress FX2 without EEPROM

12 years agoAdded dscr.inc to reduce duplication in dscr.a51 files
Joel Holdsworth [Wed, 18 Apr 2012 21:22:33 +0000 (22:22 +0100)]
Added dscr.inc to reduce duplication in dscr.a51 files

12 years agoCosmetics, coding style.
Uwe Hermann [Tue, 10 Apr 2012 20:16:25 +0000 (22:16 +0200)]
Cosmetics, coding style.

12 years agoImplemented CMD_GET_FW_VERSION
Joel Holdsworth [Tue, 10 Apr 2012 17:30:46 +0000 (18:30 +0100)]
Implemented CMD_GET_FW_VERSION

12 years agoCorrected a typo in the root makefile
Joel Holdsworth [Sat, 7 Apr 2012 16:39:57 +0000 (17:39 +0100)]
Corrected a typo in the root makefile

12 years agoRemoved unneeded declarations
Joel Holdsworth [Sat, 24 Mar 2012 12:46:29 +0000 (12:46 +0000)]
Removed unneeded declarations

12 years agoAdded missing command to clean rule
Joel Holdsworth [Sat, 24 Mar 2012 12:36:41 +0000 (12:36 +0000)]
Added missing command to clean rule

12 years agoMoved main() into fx2lafw.c
Joel Holdsworth [Sat, 24 Mar 2012 12:29:25 +0000 (12:29 +0000)]
Moved main() into fx2lafw.c

12 years agoRemoved debug script
Joel Holdsworth [Sat, 24 Mar 2012 12:25:35 +0000 (12:25 +0000)]
Removed debug script

12 years agoUpsized EP2 FIFO to 4x 1024
Joel Holdsworth [Wed, 14 Mar 2012 22:21:13 +0000 (22:21 +0000)]
Upsized EP2 FIFO to 4x 1024

12 years agoRemoved debug routines - they turned out not to be so useful, and occupy valuable...
Joel Holdsworth [Wed, 14 Mar 2012 21:44:08 +0000 (21:44 +0000)]
Removed debug routines - they turned out not to be so useful, and occupy valuable FIFO space

12 years agoReplaced gpif-capture with gpif-acquisition saleae-logic/Makefile
Joel Holdsworth [Tue, 13 Mar 2012 18:34:09 +0000 (18:34 +0000)]
Replaced gpif-capture with gpif-acquisition saleae-logic/Makefile

12 years agoAdded support for USBee SX
Joel Holdsworth [Mon, 12 Mar 2012 22:13:20 +0000 (22:13 +0000)]
Added support for USBee SX

12 years agoAdded rules to Makefile to convert firmware to binary
Joel Holdsworth [Mon, 12 Mar 2012 22:07:33 +0000 (22:07 +0000)]
Added rules to Makefile to convert firmware to binary

12 years agoReset EP2 when GPIF acquisition completes
Joel Holdsworth [Sun, 11 Mar 2012 20:52:53 +0000 (20:52 +0000)]
Reset EP2 when GPIF acquisition completes

12 years agoFixed GPIF waveform branch, and annotated population code
Joel Holdsworth [Sun, 11 Mar 2012 15:36:03 +0000 (15:36 +0000)]
Fixed GPIF waveform branch, and annotated population code

12 years agoNot need to SYNCDELAY after writing to GPIF_WAVE_DATA
Joel Holdsworth [Sun, 11 Mar 2012 15:03:52 +0000 (15:03 +0000)]
Not need to SYNCDELAY after writing to GPIF_WAVE_DATA

12 years agoNo need to populate reserved words
Joel Holdsworth [Sun, 11 Mar 2012 15:03:06 +0000 (15:03 +0000)]
No need to populate reserved words

12 years agoSpecify that one transaction will occur in each acquisition
Joel Holdsworth [Sun, 11 Mar 2012 14:38:59 +0000 (14:38 +0000)]
Specify that one transaction will occur in each acquisition

12 years agoCorrected EP2FIFOCFG setup
Joel Holdsworth [Sat, 10 Mar 2012 22:46:25 +0000 (22:46 +0000)]
Corrected EP2FIFOCFG setup

12 years agoEnsure GPIF is idle before reconfiguration
Joel Holdsworth [Sat, 10 Mar 2012 22:46:00 +0000 (22:46 +0000)]
Ensure GPIF is idle before reconfiguration

12 years agoDo not read-modify-write IFCONFIG
Joel Holdsworth [Sat, 10 Mar 2012 22:45:16 +0000 (22:45 +0000)]
Do not read-modify-write IFCONFIG

12 years agoDo not change device id after firmware download
Joel Holdsworth [Sun, 4 Mar 2012 18:01:25 +0000 (18:01 +0000)]
Do not change device id after firmware download

12 years agoRenamed fx2lafw_run to fx2lafw_poll
Joel Holdsworth [Sun, 4 Mar 2012 14:50:28 +0000 (14:50 +0000)]
Renamed fx2lafw_run to fx2lafw_poll

12 years agoImplemented sample rate control
Joel Holdsworth [Sun, 4 Mar 2012 14:13:27 +0000 (14:13 +0000)]
Implemented sample rate control

12 years agoRemoved CMD_STOP and renumbered commands
Joel Holdsworth [Sat, 3 Mar 2012 17:04:25 +0000 (17:04 +0000)]
Removed CMD_STOP and renumbered commands

12 years agoMoved command definitions into command.h
Joel Holdsworth [Sat, 3 Mar 2012 16:21:57 +0000 (16:21 +0000)]
Moved command definitions into command.h

12 years agoRemoved CMD_SET_SAMPLRATE
Joel Holdsworth [Sat, 3 Mar 2012 15:00:27 +0000 (15:00 +0000)]
Removed CMD_SET_SAMPLRATE

12 years agoGenerate GPIF WAVEDATA on demand
Joel Holdsworth [Sat, 3 Mar 2012 10:15:46 +0000 (10:15 +0000)]
Generate GPIF WAVEDATA on demand

12 years agoMoved gpif code out to separate source file
Joel Holdsworth [Wed, 29 Feb 2012 20:45:02 +0000 (20:45 +0000)]
Moved gpif code out to separate source file

12 years agoUpdate README.
Uwe Hermann [Wed, 22 Feb 2012 23:26:10 +0000 (00:26 +0100)]
Update README.

12 years agoMove dscr.a51 to individual project subdirs.
Uwe Hermann [Wed, 22 Feb 2012 23:18:48 +0000 (00:18 +0100)]
Move dscr.a51 to individual project subdirs.

12 years agoMove individual firmware projects to hw/ subdir.
Uwe Hermann [Wed, 22 Feb 2012 23:16:44 +0000 (00:16 +0100)]
Move individual firmware projects to hw/ subdir.

12 years agoAdd saleae-logic/ subdir/project.
Uwe Hermann [Wed, 22 Feb 2012 23:13:26 +0000 (00:13 +0100)]
Add saleae-logic/ subdir/project.

12 years agoAdd top-level Makefile.
Uwe Hermann [Wed, 22 Feb 2012 22:54:30 +0000 (23:54 +0100)]
Add top-level Makefile.

Also, rename fx2lafw.mk to Makefile.include.

12 years agoVarious cosmetics and bugfixes.
Uwe Hermann [Wed, 22 Feb 2012 22:30:13 +0000 (23:30 +0100)]
Various cosmetics and bugfixes.

12 years agoMoved includes into a common include directory
Joel Holdsworth [Sat, 18 Feb 2012 17:08:25 +0000 (17:08 +0000)]
Moved includes into a common include directory

12 years agoMoved main() in cwav-usbeeax
Joel Holdsworth [Sat, 18 Feb 2012 17:05:42 +0000 (17:05 +0000)]
Moved main() in cwav-usbeeax

12 years agoAdded root as an include directory
Joel Holdsworth [Sat, 18 Feb 2012 17:06:14 +0000 (17:06 +0000)]
Added root as an include directory

12 years agoAdded autovector include to fx2lafw header. Software will crash without it
Joel Holdsworth [Sat, 18 Feb 2012 18:05:25 +0000 (18:05 +0000)]
Added autovector include to fx2lafw header. Software will crash without it

12 years agoAdded first device specific directory for the CWAV USBee AX
Joel Holdsworth [Sat, 18 Feb 2012 17:00:19 +0000 (17:00 +0000)]
Added first device specific directory for the CWAV USBee AX

12 years agoRearranged main() in preparation for split according to device versions
Joel Holdsworth [Sat, 18 Feb 2012 16:43:25 +0000 (16:43 +0000)]
Rearranged main() in preparation for split according to device versions

12 years agoImplemented _assert
Joel Holdsworth [Sat, 18 Feb 2012 09:29:34 +0000 (09:29 +0000)]
Implemented _assert

12 years agoAdded INFO, WARN and ERR macros
Joel Holdsworth [Sat, 18 Feb 2012 09:29:04 +0000 (09:29 +0000)]
Added INFO, WARN and ERR macros

12 years agoAdded a debug client
Joel Holdsworth [Sat, 18 Feb 2012 12:52:24 +0000 (12:52 +0000)]
Added a debug client

12 years agoAdded basic debugf for sending debug messages over USB
Joel Holdsworth [Sat, 18 Feb 2012 08:50:24 +0000 (08:50 +0000)]
Added basic debugf for sending debug messages over USB

12 years agoAllow path to fx2lib to be set with a variable
Joel Holdsworth [Wed, 15 Feb 2012 20:12:37 +0000 (20:12 +0000)]
Allow path to fx2lib to be set with a variable

12 years agoDraft how commands could be implemented.
Uwe Hermann [Tue, 21 Feb 2012 00:44:50 +0000 (01:44 +0100)]
Draft how commands could be implemented.

12 years agoEliminate EP1, commands should use EP0.
Uwe Hermann [Tue, 21 Feb 2012 00:30:33 +0000 (01:30 +0100)]
Eliminate EP1, commands should use EP0.

The protocol should be implemented using control requests of type
'vendor-specific' (bmRequestType[6:5] = 2).

12 years agoDocument USB language identifier document location.
Uwe Hermann [Tue, 21 Feb 2012 00:15:07 +0000 (01:15 +0100)]
Document USB language identifier document location.

12 years agoUse #defines for REVCTL bits.
Uwe Hermann [Tue, 21 Feb 2012 00:12:03 +0000 (01:12 +0100)]
Use #defines for REVCTL bits.

12 years agoFirst somewhat working GPIF waveform and setup code.
Uwe Hermann [Mon, 20 Feb 2012 23:55:23 +0000 (00:55 +0100)]
First somewhat working GPIF waveform and setup code.

This samples data forever, and has no mechanism to detect or report lost
samples. This is just for testing purposes, do not use productively!

12 years agoFirst attempt at a sampling GPIF waveform (untested!).
Uwe Hermann [Sat, 18 Feb 2012 20:40:29 +0000 (21:40 +0100)]
First attempt at a sampling GPIF waveform (untested!).

12 years agoREADME: Add git repo URL.
Uwe Hermann [Tue, 14 Feb 2012 20:40:54 +0000 (21:40 +0100)]
README: Add git repo URL.

12 years agoInitial version (work in progress).
Uwe Hermann [Tue, 14 Feb 2012 20:22:55 +0000 (21:22 +0100)]
Initial version (work in progress).

This does not work, yet.