<html>
<body>
<font color="#800000">I'm looking for a Python example for the FX2 USB
chip (I'm using the SerMod-100 board
</font><a href="http://www.acquiredevices.com/sermod100.jsp">http://www.acquiredevices.com/sermod100.jsp</a><font color="#800000">).
Does anyone have a simple "hello" script to re-enumerate the
chip, and then do control or bulk reads with only Python and
libusb?<br><br>
I've found C code and some Python modules that use the FX2, however I'm
now using ActivePython 2.6.2.2 and don't have an appropriate compiler (I
haven't found out which they use ?).<br>
I've used pure Python/libusb to work with a Ti ADS1271 kit<br>
<a href="http://focus.ti.com/docs/toolsw/folders/print/ads1271evm.html">http://focus.ti.com/docs/toolsw/folders/print/ads1271evm.html</a>
<br>
 (Ti's demo developer also liked Python BTW!) and it seem that I should be able with this FX2 as well. The catch is that the chip can re-enumerate and needs to be put in command state to accept the binary string, then stopped and re-enumerated.<br><br>
<a href="http://lea.hamradio.si/~s57uuu/uuusb/simple_prg_rd.c" eudora="autourl">http://lea.hamradio.si/~s57uuu/uuusb/simple_prg_rd.c</a> looks like I can base work on it. So that's where I'll start if no one pipes up. There was a thread Wander replied in, but no code snip in it.<br><br>
So far I've read:<br>
<a href="http://lea.hamradio.si/~s57uuu/uuusb/uuusb_software.htm">http://lea.hamradio.si/~s57uuu/uuusb/uuusb_software.htm</a> <br>
<a href="http://github.com/mulicheng/fx2lib/tree/master" eudora="autourl">http://github.com/mulicheng/fx2lib/tree/master</a> <br>
<a href="http://allmybrain.com/tag/fx2/" eudora="autourl">http://allmybrain.com/tag/fx2/</a> <br>
<a href="http://volodya-project.sourceforge.net/fx2_programmer.php">http://volodya-project.sourceforge.net/fx2_programmer.php</a> <br>
<a href="http://www.fpgaz.com/usbp/" eudora="autourl">http://www.fpgaz.com/usbp/</a> <br>
<a href="http://www.triplespark.net/elec/periph/USB-FX2/software/">http://www.triplespark.net/elec/periph/USB-FX2/software/</a> <br><br>
</font><x-sigsep><p></x-sigsep>
<font size=5 color="#800000">Ray Schumacher</font></body>
</html>