Currently Browsing Programming
Launching wxPython apps with an iPython shell
Suppose you want to run your fancy wxPython application but have a shell in the background to peek and poke at certains settings, help debug, and possibly even use an API that your program provides to automate tasks. iPython has built in wx support (as well as support for other GUIs and frontends). So anyway, [...]
- Share this:
- Share
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 up if thrown and you think to yourself, “hey, I’ll just extend std::exception, add the [...]
- Share this:
- Share
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 [...]
- Share this:
- Share
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 [...]
- Share this:
- Share
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 including the required libraries to build the project using ant. It has the compiled classes [...]
- Share this:
- Share
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 [...]
- Share this:
- Share