A friend and I have been toying with Cypress's FX2 demo board. This is
a neat little chip. SDCC drives it great.
Since there's been some interest in the FX2 here before, we decided to
release a working example. This demo just accepts data over EP2 and
then sends it to the PORTA and PORTB pins. It's a part of a larger
project that we're working on.
We release this code under the GPL (though some portions, like the
register definitions, are still copyright (C) 2000 Cypress
Semiconductor). If you use it, please contribute any changes or bug
fixes back to this list so that others may benefit from them too. I
plan to release updates as development continues.
We hope you find this useful!