Posts tagged with fx2lib
FX2 CyStream throughput test with SDCC and fx2lib
I’ve been optimizing my firmware for throughput and I thought a good benchmark would be to test it against the CyStream example provided by Cypress. I modified their CyStream.c file to be compatible with the latest firmware file provided by fx2lib.
Here is a summary of the changes needed:
Include the appropriate header files
Change [...]
Cypress GPIF waveform behavioral model
I sent an email to the fx2lib mailing list that I thought would make good information for a bigger audience. Eventually, I’ll probably provide a Verilog behavioral model for the GPIF on the Cy7C68013 (and variants), but for now, this may help a few of you:
Rdy0,1, txpire etc, are registered (The data 7:0 is [...]
fx2lib documentation and source download
I’ve uploaded documentation and a source download for fx2lib. Here is the copy of the Sourceforge announcement.
The fx2lib sources are stable enough to build complete firmware implementations for the cypress fx/fx2 variants of the 8051 chipset.
The current release includes library functions for:
delay functions
endpoint functions
register definitions
type definitions
macros for common tasks
GPIF functions
i2c functions
serial IO
USB jump tables
vendor [...]
An Open Source Library for Writing Firmware on the Cypress FX2 with SDCC
After playing around with the Cypress FX2 and SDCC for the past while, I’ve developed a library of utilities that make some of the common tasks for writing firmware and performing certain functions a little easier. I’m lucky to work for a company that approves of the open source initiative and believes that it [...]