Category Archives: Programming

Extending std::exception

So you’re writing some C++ code, feeling all object oriented and all, and you decide you’d like an application specific exception whenever one of your methods has an issue. You’d like to have error messages that the exception can print … Continue reading

Posted in Programming | Tagged , , , | 2 Comments

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 … Continue reading

Posted in Hardware, Programming | Tagged , , , , , , , | 12 Comments

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 … Continue reading

Posted in Hardware, Programming | Tagged , , , , , , , | 4 Comments

Java upload handler for YUI Image Uploader

Vijay Oruganty has been kind enough to provide a Java upload handler for the YUI Rich text image uploader. I’ve attached the Eclipse project here. Here is Vijay’s comments on the project: [the attached file] has the whole eclipse project … Continue reading

Posted in Programming | Tagged , , , , | 8 Comments

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 … Continue reading

Posted in Programming | Tagged , , , , , | Comments Off on fx2lib documentation and source download

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 … Continue reading

Posted in Hardware, Programming | Tagged , , , , , , , , , | 4 Comments